Learn R Programming

marked (version 1.2.8)

set_scale: Scaling functions

Description

Set scale, scale dm and scale/unscale parameters

Usage

set_scale(pars,model_data,scale)
 
        scale_dm(model_data,scale)

scale_par(par,scale)

unscale_par(par,scale)

Value

List of scale values for set_scale, model.data with scaled design matrices for scale_dm, vector of scaled parameter values for scale_par, and list of unscaled parameter vectors for unscale_par

Arguments

pars

character vector of parameter names

model_data

list of data/design objects

scale

list or vector of parameter scales

par

list of parameter vectors or vector of parameter values

Author

Jeff Laake