getPars {incubate} | R Documentation |
Extract the parameters for the specified group.
Description
The parameters of the requested group are named using the canonical parameter names of the distribution.
Usage
getPars(par, group = "x", twoGroup, oNames, bind)
Arguments
par |
named parameters (as simple vector or as list) |
group |
character. Which group to extract parameters for? |
twoGroup |
flag. Is it a two-group setting? |
oNames |
character. Original parameter names from distribution. |
bind |
character. Which parameters are bind together in a two-group setting? |
Details
For a one-group setting or when group=NULL
it simply returns the given parameter.
This is an internal helper function
used in coef.incubate_fit()
, bsDataStep()
and in the factory method objFunFactory()
below.
Value
named vector of parameters from the relevant group
[Package incubate version 1.2.1 Index]