redirectDataset {CornerstoneR} | R Documentation |
Redirect Dataset
Description
Redirect input dataset to an output R object.
Usage
redirectDataset(
dataset = cs.in.dataset(),
preds = cs.in.predictors(),
resps = cs.in.responses(),
groups = cs.in.groupvars(),
auxs = cs.in.auxiliaries(),
scriptvars = cs.in.scriptvars(),
return.results = FALSE
)
Arguments
dataset |
[ |
preds |
[ |
resps |
[ |
groups |
[ |
auxs |
[ |
scriptvars |
[ |
return.results |
[ |
Details
The following script variables are summarized in scriptvars
list:
- remove.pattern
[
character(1)
]
The given pattern is removed in all variable names viagsub
. Leading and / or trailing whitespaces are removed usingtrimws
. Default is""
.
Value
Logical [TRUE
] invisibly and outputs to Cornerstone cs.out.Robject
or,
if return.results = TRUE
, list
of resulting
data.frame
objects and character(n)
vectors:
dataset |
Input dataset. |
predictors |
Vector of predictors. |
responses |
Vector of responses. |
groups |
Vector of groups. |
auxiliaries |
Vector of auxiliaries. |
The list
is wrapped in an additional list
to get the same return value
corresponding to cs.in.Robject
.