Dear R-experts,

Here below a toy example not working. After some researches on the Net, still 
don't get it !

Many thanks for your precious help.


#############################
library(knitr)
library(ggplot2)
library(pollster)
library(dplyr)
 
statut=c("married","not married","not 
married","married","divorced","divorced","married","not 
married","divorced","not married")
 
sex=c("male","female","female","male","female","female","male","female","male","male")
 
color=c("red","blue","green","green","blue","red","blue","green","red","blue")
data<- data.frame(statut, sex,color) 
 
crosstab_3way(df=data,x=statut, y= sex,z= color)
kable(digits=0,caption="Tableau 3 variables", format="html")
####################################
 

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide https://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to