Description Usage Arguments See Also Examples
Boxplot for data.frame. Parses arguments and generates the call: fun(x, yvar, xvar, facets, ...).
1 2 3 |
x |
data.frame |
... |
passed to fun |
fun |
function that does the actual plotting |
verbose |
generate messages describing process |
Other mixedvariate plots: boxplot_data_frame
,
boxplot_panel
Other boxplot: boxplot_data_frame
Other methods: axislabel.data.frame
,
categorical.data.frame
,
corsplom.data.frame
,
densplot.data.frame
,
metaplot.data.frame
,
pack.data.frame
,
plot.metaplot_gtable
,
print.metaplot_gtable
,
scatter.data.frame
,
unpack.data.frame
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | library(dplyr)
library(magrittr)
Theoph %<>% mutate(site = ifelse(as.numeric(Subject) > 6, 'Site A','Site B'))
boxplot(Theoph,'Subject','conc')
boxplot(Theoph,Subject,conc)
boxplot(Theoph,Subject,conc, gg = T)
boxplot(Theoph,conc,Subject)
boxplot(Theoph,conc,Subject, gg = T)
boxplot(Theoph,conc,Subject,site)
boxplot(Theoph,conc,Subject,site, gg = T)
boxplot(Theoph,conc,Subject,site, gg = T, scales = 'free_x')
attr(Theoph,'title') <- 'Theophylline'
boxplot(Theoph, Subject, conc, main = function(x,...)attr(x,'title'))
boxplot(Theoph, Subject, conc, main = function(x,...)attr(x,'title'), gg = T)
boxplot(Theoph, Subject, conc, sub= function(x,...)attr(x,'title'))
boxplot(Theoph, Subject, conc, sub= function(x,...)attr(x,'title'), gg = T)
boxplot(Theoph %>% filter(conc > 0),Subject,conc, log = T)
boxplot(Theoph %>% filter(conc > 0),Subject,conc, log = T, gg = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.