Learn R Programming

gRbase (version 1.8.7)

zzz-validVarTypes: Old: Admissible variable types in gmData objects

Description

The variable types in a gmData object must be from a vector predefined types which may be inspected by the command validVarTypes(). The available types may be extended by the package developers as demonstrated in the example.

Usage

validVarTypes()

Arguments

Value

A character vector with the names of the admissible variable types.

Author

Søren Højsgaard, sorenh@math.aau.dk,
Claus Dethlefsen, cld@rn.dk

See Also

gmData

Examples

Run this code
oldtypes <- validVarTypes()
validVartypes <- function() c(oldtypes, "MyVarType")
validVartypes()

Run the code above in your browser using DataLab