data(kola.c)
attach(kola.c)
## Generates an initial display
gx.summary.groups(COUNTRY, Cu)
## Provide a more informative display
gx.summary.groups(COUNTRY, Cu, "Cu (mg/kg) in <2 mm O-horizon soil")
## As above but with a log10 transformation to display
## the geometric mean, etc.
gx.summary.groups(COUNTRY, Cu, "Cu (mg/kg) in <2 mm O-horizon soil",
log = TRUE)
## Detach test data
detach(kola.c)
Run the code above in your browser using DataLab