Learn R Programming

PKreport (version 1.5)

PKconfig: Data configuration

Description

This function is to configure data for analysis.

Usage

PKconfig(general.list, hist.list, scatter.list)

Arguments

general.list
a list. It includes figure configuration: save.format, width, height, and also graphic packages (0: use only lattice package. 1: use only ggplot2 package. 2: use both packages.
hist.list
a list. It includes histogram configuration: type, layout, ind.layout (for individual plots).
scatter.list
a list. It includes scatterplot configuration: type, layout, span, ind.layout (for individual plots).

Details

Please see vignettes for details.

Examples

Run this code
# setup configuration
general.list <- list(save.format="bmp", width = 480, height = 480, package=2)
hist.list <- list(type=c("count"), layout=c(1,1), ind.layout=c(5,5))
scatter.list <- list(span=0.25, type=c("p", "smooth"), layout=c(1,1), ind.layout=c(5,5))

PKconfig(general.list, hist.list, scatter.list)

Run the code above in your browser using DataLab