Description Usage Arguments Value Author(s) Examples
This function enables to set the class of each culumn in a data.frame
1 | setcolclass.df(df, colclass, factor.levels)
|
df |
data.frame for which columns' class need to be updated |
colclass |
class for each column of the data.frame |
factor.levels |
list of levels for each factor |
A data.frame with columns' class and levels properly set
Benjamin Haibe-Kains
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.