patt.worth {prefmod} | R Documentation |
Worth parameter are calculated from the results of a pattern model fit, i.e., from
pattPC.fit
, pattR.fit
, pattL.fit
, and
pattLrep.fit
.
The resulting estimates for all groups are based on the subject covariates as
specified in the model formula (formel
) of a pattern model.
patt.worth(obj, obj.names = NULL, outmat = "worth")
obj |
Object of class pattMod obtained from pattern model fit. |
obj.names |
names for the objects, for repeated measurement models just the names of objects for the first time point |
outmat |
a matrix of estimated worth parameters (outmat = "worth" , the default) or
pattern model parameters (outmat = "lambda" ). |
patt.worth
returns a matrix
of worth or model parameters. If subject covariates have been specified, each column
represents a groups defined by the crossclassification of the subject covariates.
The function plotworth
gives a plot of the estimates.
Reinhold Hatzinger
pattPC.fit
, pattR.fit
, pattL.fit
, and
pattLrep.fit
, plotworth
## fit only first three objects with SEX effect data(cemspc) m2<-pattPC.fit(cemspc, nitems=3, formel=~SEX, elim=~SEX, undec=TRUE) ## calculate and print worth parameters m2worth<-patt.worth(m2) m2worth