An abstract R6 class defining the pattern for all FamModelFit
subclasses created by fitting a model to a FamData
object using one
of its model-fitting methods. This class provides only a default
constructor without any initializer.
get_data()
Returns the FamData
object that produced this model
fit.
FamModelFit$get_data()
get_optres()
Returns list
of optimization results.
FamModelFit$get_optres()
get_theta_hat()
Returns \(\hat{\theta}\), the numeric vector of parameter estimates.
FamModelFit$get_theta_hat()
get_V_theta_hat()
Returns the numeric matrix
\(\hat{V}(\hat{\theta})\),
the estimated covariance matrix of the parameter estimates.
FamModelFit$get_V_theta_hat()
print()
Formatted printing of the FamModelFit
object.
FamModelFit$print(...)
...
Arguments passed on to print_ests()
.
contrast()
Create a new Contrast
object.
FamModelFit$contrast(L_mat, m)
L_mat
A contrast vector (1 df) or matrix
(>1 df) containing
one contrast in each row. The contrast vector must have a number of
elements equal to the number of model parameters. The contrast matrix
must be of full row rank and have a number of columns equal the number
of model parameters.
m
An optional vector containing the null value for each contrast.
Will be set to the zero vector of length nrow(L_mat)
if not
specified.
A Contrast
object for the specified arguments and this
model fit.
clone()
The objects of this class are cloneable with this method.
FamModelFit$clone(deep = FALSE)
deep
Whether to make a deep clone.