Description Arguments Details Method Authors Examples
print.archetype
x |
a model object returned from SpeciesMix |
... |
further arguments passed to or from other methods. |
Prints the fitted model returned from SpeciesMix, giving the coefficents, standard errors and posterior probabilities
print(x,..)
Piers Dunstan and Scott Foster
1 2 3 4 5 6 7 8 | G <-4
S <- 50
theta <- matrix(c(-9,35,-32,0,0.7,0,-16,23,-8.2,-3,-0.6,0.8),4,3,byrow=TRUE)
dat <- data.frame(y=rep(1,200),x=runif(200,0,2.5),z=rnorm(200,10,2))
dat <- data.frame(dat,x.sq=dat$x^2)
dat1 <- artificial.data(y~1+x+x.sq,dat,theta,S)
fm4 <- SpeciesMix(obs~1+x+x.sq,dat1$pa,dat,G=4,em.prefit=TRUE,em.refit=1,est.var=TRUE)
print(fm4)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.