View source: R/print.fitmixture.R
print.fitmixture | R Documentation |
Print call and outcome model coefficients from a fit_mixture()
object
## S3 method for class 'fitmixture'
print(x, digits = max(3L, getOption("digits") - 3L), ...)
x |
the result of a call to |
digits |
the number of significant digits to print |
... |
for additional print arguments |
invisibly returns the fit_mixture()
object that is provided as an argument
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.