converts a single factor into a data.frame with multiple T/F fields, one for each factor
factorToDataframeLogical(fctr, prefix = deparse(substitute(fctr)), sep = "",
na.rm = TRUE, verbose = FALSE)
factor
defaults to "f" to pre-pend the factor level when constructing the data frame columns names
scalar character, introduced between factor names and levels when forming new data frame column names
logical scalar: if NA data and/or NA levels, then covert to NA strings and expand these as for any other factor
single logical value, if TRUE
then produce verbose
messages
data.frame with columns of logicals