#testing the different modes
library(rysgran)
data(camargo2001)
class.percent(camargo2001, mode="total", empty.col=FALSE, lang="en-US")
class.percent(camargo2001, mode="classes", empty.col=FALSE, lang="en-US")
class.percent(camargo2001, mode="both", empty.col=FALSE, lang="en-US")
Run the code above in your browser using DataLab