deprecated | R Documentation |
The variable class "deprecated"
is implemented in the package
dfplus
as an alternative to avoid deletion of columns in the input files.
## S4 method for signature 'dfplus' deprecated(x, ...) ## S4 method for signature 'dfplus' skip_deprecated(x, ...) deprecated(x) <- value
x |
An object of class |
value |
A character vector with the names of variables to be set as deprecated. |
... |
Further arguments passed to or from other methods. |
The variable class "deprecated"
is useful to indicate variables in input
spreadsheets that may be irrelevant or redundant.
In such cases the application of deprecated
is less risky than deleting
such columns from the table.
The first method in Usage retrieves a logical vector indicating which variables are deprecated, while the last one is used to set variables as deprecated.
The function skip_deprecated
will delete deprecated variables from the
dfplus
object.
A logical vector or an object of class dfplus
.
Miguel Alvarez (malvarez@uni-bonn.de).
## Add example for this function
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.