View source: R/0_standardize_options.r
standardize_options | R Documentation |
...
parameter.Does nothing but stores (as its own default arguments) options that control vector handeling through standardization process. These options are available in most nstandr functions that accept ...
parameter.
procedure_index - replace 'procedure_index' with a number of current standardization procedure is in the list of procedures
procedure_name - replace 'procedure_name' with name of current standardization procedure
_procedure_index - replace 'procedure_index' with a number of current standardization procedure is in the list of procedures, prefixed with ''
procedure_name - replace 'procedure_name' with name of current standardization procedure, prefixed with ''
_col_name - replace 'col_name' with the name of 'col' argument (i.e., col with input value), prefixed with ''
col_name_ - replace 'col_name_' with the name of 'col' argument (i.e., col with input value), suffixed with '_'
col_name - replace 'col_name' with the name of 'col' argument (i.e., col with input value)
_index_suffix - Adds unique suffix (increment index) if the column name already exist. E.g. the following format 'col_name_index_suffix' for names(x) = c('V', 'V_9', 'V_41') and col = 2 (i.e. col_name = 'V_9' in this example) would result in a new column named 'V_42'
standardize_options(
col = 1,
rows = NULL,
omitted_rows_value = NULL,
output_placement = "replace_col",
x_atomic_name = "x",
output_col_name = "std{_col_name}",
append_output_copy = FALSE,
output_copy_col_name = "std{_col_name}_copy{_procedure_index}{_procedure_name}"
)
col |
Column of interest (the one we need to standardize) in the |
rows |
Logical vector to filter records of interest. Default is NULL which means do not filter records. |
omitted_rows_value |
If |
output_placement |
Where to inset retults (standardized vector) in the
|
x_atomic_name |
If |
output_col_name |
Use this name for the column with results (standardized values). Parts in curly brakeds are substitute strings. Options for substitutions are: |
append_output_copy |
Whether to append a copy of result vector to |
output_copy_col_name |
How the append copy wiil be named |
It does nothing. Returns NULL silently.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.