check_df_variables | R Documentation |
Selects the variables denoted in
keep
and variables
. The letter ones
are checked for validity. If variables
is
set to NULL all valid variables are kept.
check_df_variables(
df,
valid.classes,
variables = NULL,
keep = NULL,
ref_df = NULL,
verbose = TRUE
)
df |
A data.frame. |
valid.classes |
Character vector to specify the classes the input might have in order not to be discarded. |
variables |
Character vector. Specifies the variables of interest. If set to NULL all valid variables of the input data.frame are considered (as long as the total number does not exceeds the limit). If there are more variables you are interested in than they are variables you are not interested in specify those that you are not interested in prefixed with an '-'. Variables prefixed that way are discarded and the remaining are kept. |
keep |
Character vector or NULL. If character, specifies variables
that are to be kept even if they are not of those classes denoted in
|
ref_df |
Character value. Given to argument |
verbose |
Logical. If set to TRUE informative messages regarding the computational progress will be printed. (Warning messages will always be printed.) |
The input df
with all selected variables.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.