simulateY {nlmeU}R Documentation

Simulates values of the dependent variable based on a model fit

Description

This function is generic; method functions can be written to handle specific classes of objects.

Usage

  simulateY(object, nsim = 1, seed = NULL, ...,
    verbose = FALSE, sigma)

Arguments

object

an object with a model fit for which dependent variable is to be simulated.

nsim

number of simulations. nsim = 1 by default.

seed

integer scalar used to initiate random numbers generator.

...

some methods for this generic function may require additional arguments.

verbose

logical. If TRUE basic information about arguments is provided. By default set to FALSE.

sigma

numeric scalar. Allows to perform simulations employing alternative value of the scale parameter.

Value

numeric matrix. Number of columns determined by nsim argument.

Author(s)

Andrzej Galecki and Tomasz Burzykowski

Examples

## simulateY (fm1)

[Package nlmeU version 0.70-9 Index]