Set Initialization Status

DESCRIPTION:

Sets the initialization status of object to value . This is a generic function and specific methods must be implemented for different classes. In general, methods for this function can only change the initialization status to FALSE and trying to use them with value = TRUE will cause an error.

USAGE:

isInitialized(object) <- value 

REQUIRED ARGUMENTS:

object
any object requiring initialization.
value
a logical value indicating the initialization status to be used for object.

VALUE:

An object of the same class as original, but with some of its components modified to indicate the initialization status specified in value.

SEE ALSO:

,

EXAMPLES:

cs1 <- corSymm(form = ~1|Subject) 
cs1 <- initialize(cs1, data = Orthodont) 
cs1 
isInitialized(cs1) <- FALSE 
cs1