Description Usage Arguments Details Examples
NA
1 2 | deprecated_PrepDataForModels(df, incl = colnames(df), cc = F,
char_to_fac = T, max_lvl = 53, num_only = F, vct = 0.9)
|
df |
Input dataframe |
incl |
Which variables to include? |
cc |
Only include complete cases? |
char_to_fac |
Convert all characters to factors? |
max_lvl |
Max # of factor levels? Useful for RF analysis |
num_only |
Exclude all non-numeric variables? |
vct |
Fractional threshold of non-NA values required to include a variable. |
'vct' executes before 'cc', allowing you to drop mostly empty columns before dropping plots with incomplete data.
1 | PrepDataForModels('FIA_Mort_DF')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.