Learn R Programming

mme (version 0.1-6)

print.mme: Print objects of class mme

Description

This function prints objects of class mme.

Usage

# S3 method for mme
print(x, ...)

Arguments

x

a list with the output of modelfit1, modelfit2 or modelfit3.

...

further information.

See Also

modelfit1, modelfit2, modelfit3

Examples

Run this code
# NOT RUN {
k=3 #number of categories of the response variable
pp=c(1,1) #vector with the number of auxiliary variables in each category
mod=1  # Type of model
data(simdata)
datar=data.mme(simdata,k,pp,mod)
##Model fit
result=modelfit1(pp,datar$Xk,datar$X,datar$Z,datar$initial,datar$y[,1:(k-1)],datar$n,datar$N)
result
# }

Run the code above in your browser using DataLab