Learn R Programming

CLME (version 2.0-12)

is.clme: Constructor method for objects S3 class clme

Description

Test if an object is of class clme or coerce an object to be such.

Usage

is.clme(x)

as.clme(x, ...)

Arguments

x

list with the elements corresponding to the output of clme.

...

space for additional arguments.

Value

Returns an object of the class clme.

See Also

CLME-package clme

Examples

Run this code
# NOT RUN {
data( rat.blood )

cons <- list(order = "simple", decreasing = FALSE, node = 1 )
clme.out <- clme(mcv ~ time + temp + sex + (1|id), data = rat.blood , 
                 constraints = cons, seed = 42, nsim = 0)

is.clme( clme.out )
as.clme( clme.out )
# }

Run the code above in your browser using DataLab