View source: R/apc_plot_data.R
| apc.plot.data.all | R Documentation |
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.
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
#####################
# 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.