Learn R Programming

simsem (version 0.2-8)

getPopulation: Extract the data generation population model underlying an object

Description

This function will extract the data generation population model underlying an object. The target object can be linkS4class{SimModelOut}, linkS4class{SimDataOut}, or linkS4class{SimResult}.

Usage

getPopulation(object, ...)

Arguments

object
The target object that you wish to extract the data generation population model from, which can be linkS4class{SimModelOut}, linkS4class{SimDataOut}, or linkS4class{SimResult}.
...
An additional argument. The details can be seen when this funciton is applied to the linkS4class{SimDataOut}.

Value

  • Depends on the class of object.

See Also

  • SimDataOutfor data output object
  • 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