Learn R Programming

pop (version 0.1)

parameters: get and set parameters

Description

this documents the S3 generic functions parameters to extract or assign parameter values from objects in the pop package. Methods of this function are defined for various object classes, including transfun, transition and dynamic objects.

Usage

parameters(x)
parameters(x) <- value

Arguments

x
an object from which to extract parameters, or in which to set them
value
an object to assign as the parameters of x

Details

each class-specific method will return parameters in a slightly different structure, and will require value to be provided in a different format (though the structures returned and required will generally be the same for all classes. See the helpfile for each class for the specific details and examples.