View source: R/convert_factor.r
| convert_factor | R Documentation | 
Converts variables of a data frame in factors
convert_factor(data, vars)
data | 
 the data frame in which we can find   | 
vars | 
 vector of character string of covariates  | 
The modified data frame
Hugo Varet
cgd$steroids
cgd$status
cgd=convert_factor(cgd,c("steroids","status"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.