as.parameters: Generic Method for Converting Objects into 'parameters'

Description Usage Arguments Value Note Author(s) See Also

Description

Converts list-style objects into Parameter lists primarily used by the 'qi' methods. These list-style objects may contain keys specifying: 'link' (the link function of a statistical model), 'linkinv' (the inverse-link function), 'family' (a object of 'family' class used to specify the model's classification), 'alpha' (a vector of ancillary parameters, and 'simulations' (a vector of simulated draws from the model's underlying distribution.

Usage

1
  as.parameters(params, ...)

Arguments

params

the object to be casted

...

parameters reserved for future revisions

Value

an object of type ‘parameters’

Note

Only three scenarios may exist - converting 'parameters' to 'parameters', 'list' to 'parameters', and vectors to 'parameters'. The third in particular is needed only for backwards compatibility, and support will likely be deprecated.

Furthermore, this function should be exlusively used implicitly and by Zelig.

Author(s)

Matt Owen mowen@ig.harvard.edu

See Also

as.parameters.list as.parameters.parameters, as.parameters.default


IQSS/Zelig4 documentation built on May 9, 2019, 9:13 a.m.