redirectDataset {CornerstoneR} | R Documentation |
Redirect input dataset to an output R object.
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
)
dataset |
[ |
preds |
[ |
resps |
[ |
groups |
[ |
auxs |
[ |
scriptvars |
[ |
return.results |
[ |
The following script variables are summarized in scriptvars
list:
[character(1)
]
The given pattern is removed in all variable names via gsub
.
Leading and / or trailing whitespaces are removed using trimws
.
Default is ""
.
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
.