The out
function is used to request an output
dataset. The function is used as a parameter to multiple procedures in
the procs package.
out( stats = NULL, shape = NULL, report = FALSE, where = NULL, drop = NULL, keep = NULL, rename = NULL, format = NULL, label = NULL, table = NULL, ... )
stats | The requested statistics. The available statistics depend on the function the output parameter applies to. |
---|---|
shape | How the output dataset should be organized. Valid values are "long", "wide", or "stacked". The default is "long". |
report | Whether to output the tables produced for the procedure report. Valid values are TRUE and FALSE. Default is FALSE. If the parameter is TRUE, the function will output all datasets produced by the report functionality, and in the same order. If the parameter is TRUE, all other output options will be ignored. |
where | An expression used to filter the output dataset. Use
|
drop | A vector of variables to drop from the output dataset. |
keep | A vector of variables to keep on the output dataset. This parameter can also be used to order the output columns. |
rename | A named vector of columns to rename. The name of the vector item should correspond to the original output column name. The value of the vector should correspond to the new variable name. |
format | A named list of formats to assign to the output dataset. |
label | A named vector of labels to assign to the output dataset. |
table | A table request. This parameter is used only for the
|
... | Various options. When used with |
The output specifications.
Here is some details