Description Usage Arguments Value Author(s) Examples
View source: R/detect_features.R
Detects the type of features present in a data.frame
1 2 | detect.feats(data, x = NULL, text.threshold = 100, sample.size = 0.3,
progress = TRUE)
|
data |
[required | data.frame] Dataset containing categorical features |
x |
[required | character] A vector of numeric feature names present in the dataset |
text.threshold |
[optional | integer | default=100] Maximum characters in a feature before it is identified as a text feature |
sample.size |
[optional | numeric | default=0.3] Percentage to down sample data for decreased computation time |
progress |
[optional | logical | default=TRUE] Display a progress bar |
Data.frame with categorical, numeric, date, and text feature types
Xander Horn
1 | res <- detect.feats(iris)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.