Description Usage Arguments Details Value Author(s) Examples
View source: R/r-utility-drop1val.R
This function drops data columns that only take a single value for all rows. It is used in examples presented in the book Cichosz, P. (2015): Data Mining Algorithms: Explained Using R. See Appendix B or http://www.wiley.com/go/data_mining_algorithms for more details.
| 1 | 
| cnames | a character vector of column names to use | 
| data | a dataframe | 
All columns with names not included in cnames or taking
only a single unique value for all rows of data are dropped and
the names of the remaining columns are returned.
A vector of column names that appear in cnames and take at
least 2 unique values in data.
Pawel Cichosz <p.cichosz@elka.pw.edu.pl>
| 1 2 3 4 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.