Converts columns in a data frame to characters, factors or numerics.
convertDataFrameCols(
df,
chars.as.factor = FALSE,
factors.as.char = FALSE,
ints.as.num = FALSE,
logicals.as.factor = FALSE
)
[data.frame
].
[data.frame
]
Data frame.
[logical(1)
]
Should characters be converted to factors?
Default is FALSE
.
[logical(1)
]
Should characters be converted to factors?
Default is FALSE
.
[logical(1)
]
Should integers be converted to numerics?
Default is FALSE
.
[logical(1)
]
Should logicals be converted to factors?
Default is FALSE
.