Learn R Programming

simsem (version 0.2-8)

setPopulation: Set the data generation population model underlying an object

Description

This function will set the data generation population model to be an appropriate one. If the appropriate data generation model is put (the same model as the analysis model), the additional features can be seen when we run a summary function on the target object, such as bias in parameter estimates or percentage coverage.

Usage

setPopulation(target, population, ...)

Arguments

target
The target object that you wish to set the data generation population model. The target argument can be linkS4class{SimModelOut} or linkS4class{SimResult}.
population
The population parameters used to put
...
An additional argument, such as, when values are saved in a set of matrices, a set of matrices that indicates the position of free parameters is needed in the ....

Value

  • The target object that is changed the parameter.

See Also

  • SimModelOutfor model output object
  • SimResultfor result object

Examples

Run this code
# See each class for an example.

Run the code above in your browser using DataLab