Learn R Programming

darch (version 0.12.0)

createDataSet,ANY,missing,formula,missing-method: Constructor function for '>DataSet objects.

Description

Generates a new '>DataSet object with the given parameters.

Usage

# S4 method for ANY,missing,formula,missing
createDataSet(data, formula, ...,
  na.action = na.pass, previous.dataSet = new("DataSet"))

Arguments

data

data.frame containing the dataset.

formula

Model formula.

...

Additional parameters.

na.action

model.frame parameter

previous.dataSet

Existing '>DataSet from which parameters are extrated and re-used.

Value

The new '>DataSet object

Details

Initializes a '>DataSet with data using a formula and saving its parameters for subsequent data.

See Also

darch.formula, createDataSet