Description Usage Arguments Warning Author(s) See Also Examples
View source: R/apc_plot_data.R
Plots data sums using apc.plot.data.sums
.
Sparsity plots of data using apc.plot.data.sparsity
.
Plots data using all combinations of two time scales using apc.plot.data.within
.
Level plots of data using apc.plot.data.level
.
The latter plot is done for responses and if applicable also for doses and mortality rates.
1 | apc.plot.data.all(apc.data.list,log ="",rotate=FALSE)
|
apc.data.list |
List. See |
log |
Optional |
rotate |
Optional. Logical. If TRUE rotates |
A warning is produced if dimension is not divisible by thin, so that one group is smaller than other groups.
Bent Nielsen <bent.nielsen@nuffield.ox.ac.uk> 25 Apr 2015
The example below uses Italian bladder cancer data, see data.Italian.bladder.cancer
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #####################
# EXAMPLE with artificial data
# generate a 3x4 matrix in "AP" data.format with the numbers 1..12
m.data <- matrix(data=seq(length.out=12),nrow=3,ncol=4)
m.data
data.list <- apc.data.list(m.data,"AP")
apc.plot.data.all(data.list,log="")
#####################
# EXAMPLE with Italian bladder cancer data
#
# get data list, then make all descriptive plots.
# Note that warnings are given in relation to the data chosen thinning
# This can be avoided by working with the individual plots, and in particular
# with apc.plot.data.within where the thinning happens.
#
# data.list <- data.Italian.bladder.cancer()
# apc.plot.data.all(data.list)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.