Error in inla.model.properties.generic(inla.trim.family(model), (mm[names(mm) == : Name 'normal' is unknown.

140 views
Skip to first unread message

Jhair Sanchez

unread,
Feb 15, 2019, 12:15:26 PM2/15/19
to R-inla discussion group

Hi everybody,


I was doing some R-INLA examples, but i have a problem, 


data(trees)

str(trees)

head(trees)

formula3 <- logVolume ~ 1 +

  f(Height, model="rw2") + # Smoothed function of Girth 

  f(Girth, model="rw2") # Smoothed function of Height


trees$logVolume <- log(trees$Volume)


mod3 <- inla(formula3,data = trees,

family = "normal",control.compute = list(dic=TRUE))


it has next problem


Error in inla.model.properties.generic(inla.trim.family(model), (mm[names(mm) ==  : 

  Name 'normal' is unknown. Valid choices are: poisson contpoisson qcontpoisson cenpoisson gpoisson binomial pom gamma gammasurv gammacount qkumar qloglogistic qloglogisticsurv beta betabinomial cbinomial nbinomial nbinomial2 simplex gaussian circularnormal wrappedcauchy iidgamma iidlogitbeta loggammafrailty logistic skewnormal sn sn2 gev lognormal lognormalsurv exponential exponentialsurv coxph weibull weibullsurv loglogistic loglogisticsurv weibullcure stochvol stochvolt stochvolnig zeroinflatedpoisson0 zeroinflatedpoisson1 zeroinflatedpoisson2 zeroinflatedbetabinomial0 zeroinflatedbetabinomial1 zeroinflatedbinomial0 zeroinflatedbinomial1 zeroinflatedbinomial2 zeroninflatedbinomial2 zeroninflatedbinomial3 zeroinflatedbetabinomial2 zeroinflatednbinomial0 zeroinflatednbinomial1 zeroinflatednbinomial1strata2 zeroinflatednbinomial1strata3 zeroinflatednbinomial2 t tstrata nmix nmixnb gp logperiodogram.

>


how can i fixed it?


i was working with a Mac IOS 

INLA help

unread,
Feb 15, 2019, 12:33:21 PM2/15/19
to Jhair Sanchez, R-inla discussion group
Use family gaussian instead

Sent from my iPhone
--
You received this message because you are subscribed to the Google Groups "R-inla discussion group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to r-inla-discussion...@googlegroups.com.
To post to this group, send email to r-inla-disc...@googlegroups.com.
Visit this group at https://groups.google.com/group/r-inla-discussion-group.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages