AceEstimate-class {NlsyLinks} | R Documentation |
Class AceEstimate
Description
A class containing information about a single univariate ACE model.
A generic function for extracting the Details
slot of an AceEstimation object.
Usage
## S4 method for signature 'AceEstimate'
GetDetails(object)
Arguments
object |
ACE object |
Objects from the Class
Objects can be created by calls of the
form:
new("AceEstimate", aSquared, cSquared, eSquared, caseCount, unity, withinBounds, details, ...)
Note
The contents of the Details
list depends on the underlying
estimation routine. For example, when the ACE model is estimated with a DF
analysis, the output is an stats::lm()
object, because the stats::lm()
function
was used (ie, the basic general linear model). Alternatively, if the
user specified the lavaan::lavaan()
package should estimate that ACE model,
the output is a lavaan::lavaan()
object.
Author(s)
Will Beasley
Examples
library(NlsyLinks) # Load the package into the current R session.
showClass("AceEstimate")
est <- CreateAceEstimate(.5, .2, .3, 40)
est
print(est)
[Package NlsyLinks version 2.2.1 Index]