print.fitmixture {pldamixture} | R Documentation |
Print a "fitmixture" Object
Description
Print call and outcome model coefficients from a fit_mixture()
object
Usage
## S3 method for class 'fitmixture'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
Arguments
x |
the result of a call to |
digits |
the number of significant digits to print |
... |
for additional print arguments |
Value
invisibly returns the fit_mixture()
object that is provided as an argument
Examples
## commonness score of first and last names used for linkage
mformula <- ~commf + comml
## hand-linked records are considered "safe" matches
safematches <- ifelse(lifem$hndlnk =="Hand-Linked At Some Level", TRUE, FALSE)
## overall mismatch rate in the data set is assumed to be ~ 0.05
mrate <- 0.05
fit <- fit_mixture(age_at_death ~ poly(unit_yob, 3, raw = TRUE), data = lifem,
family = "gaussian", mformula, safematches, mrate)
print(fit)
[Package pldamixture version 0.1.1 Index]