Learn R Programming

gRbase (version 0.1.2)

validVarTypes: 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. The types of the variables are important for the way they are displayed using the package dynamicGraph. The type is also important when the models are fitted to data.

Usage

validVarTypes()

Arguments

Value

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

See Also

gmData, dynamic.Graph

Examples

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

Run the code above in your browser using DataLab