Usage Arguments Details Examples
View source: R/bar.interaction.R
1 | bar.interaction(x.factor, group, response, bartest = T)
|
x.factor |
A numeric or factorial vector for the X axis |
group |
Another factor whose levels will form the traces |
response |
a numeric variable giving the response |
bartest |
logical. Should the bartest (with statistics) be included in the plot? |
The legend include group and the size of dots proportional to the number of observations
1 2 3 4 5 6 7 8 9 | bar.interaction(x.factor = ToothGrowth$dose,
group = ToothGrowth$supp,
response = ToothGrowth$len,
bartest = F)
bar.interaction(x.factor = ToothGrowth$dose,
group = ToothGrowth$supp,
response = ToothGrowth$len,
bartest = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.