| simulateY.lme | R Documentation | 
lme objectThis is a method for the simulateY generic function.
## S3 method for class 'lme'
simulateY(
  object,
  nsim = 1,
  seed = as.integer(runif(1, 0, .Machine$integer.max)),
  ...,
  verbose = FALSE,
  sigma
)
object | 
 an   | 
nsim | 
 number of simulations. By default,   | 
seed | 
 integer scalar used to initiate the random number generator.  | 
... | 
 some methods for this generic function may require additional arguments.  | 
verbose | 
 logical. If   | 
sigma | 
 numeric scalar. Allows simulations employing an alternative value of the scale parameter.  | 
Simulates values of the dependent variable for a fitted lme model.
Data with one level of grouping only.
Numeric matrix with the number of columns determined by the nsim argument.
Andrzej Galecki and Tomasz Burzykowski
## Not run: 
  library(nlme)
  fm1 <- lme(distance ~ age, data = Orthodont)
  simulateY(fm1)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.