lmestData
Methods for lmestData
object providing basic descriptive statistics (summary) and plots.
# S3 method for lmestData
summary(object, type = c("all","cross", "year"),
dataSummary = c("all", "responses", "manifest", "initial", "transition"),
varType = rep("c", x$d), digits = getOption("digits"),
maxsum = 10, maxobs = 20, ...)
# S3 method for lmestData
plot(x, typePlot = c("s", "sh"),
dataPlots = c("all", "responses", "manifest", "initial", "transition"),
...)
# S3 method for lmestData
print(x, ...)
an object of class lmestData
an object of class lmestData
type of summary to print. all
prints a summary for each varaible, and a summary for each variables by time. cross
prints a summary for each variable. year
prints a summary for each variable by time. The summary is adapted according to varType
(By default is set to all
)
a string indicating whether summary is returned: all
for the entire data, responses
for the responses, manifest
for covariates on the manifest distribution, initial
for the covariate affecting the initial probabilities, and transition
for the covariates affecting the transition probabilities. (By default is set to all
)
a string vector of lengh equal to the number of variables, "c" for continuous and "d" for discrete, indicating wich varaibles are continuos and which are discrete
the number of significant digits
an integer value indicating the maximum number of levels to print
an integer value indicating the maximun number of observation in which the summary statistics are reported for each observation
a string indicating the type of plot. "s" plots a scaterplot matrix. "sh" plots a scatterplot matrix with the histogram for each variable in the diagonal
a string indicating whether the plot is returned: all
for the entire data, responses
for the responses, manifest
for covariates on the manifest distribution, initial
for the covariate affecting the initial probabilities, transition
for the covariates affecting the transition probabilities. (By default is set to all)
further arguments
Francesco Bartolucci, Silvia Pandolfi, Fulvia Pennoni, Alessio Farcomeni, Alessio Serafini