Learn R Programming

lineqGPR (version 0.1.1)

create: Model Creations

Description

Wrapper function for creations of model functions. The function invokes particular methods which depend on the class of the first argument.

Usage

create(class, ...)

Arguments

class

a character string corresponding to the desired class.

...

further arguments passed to or from other methods. (see, e.g., create.lineqGP)

Value

A model object created according to its class.

See Also

augment, predict, simulate

Examples

Run this code
# NOT RUN {
## Not run:
model <- list()
model2 <- create(class = "ClassName", model)
model2
## End(Not run)

# }

Run the code above in your browser using DataLab