paginatedAsymmetricalScatterMatrix: paginatedAsymmetricalScatterMatrix

Description Usage Arguments Value Author(s) See Also Examples

View source: R/paginatedAsymmetricalScatterMatrix.R

Description

A function that generates a series of asymmetricalScatterMatrices, so that they can be printed or included in PDFs.

Usage

1
paginatedAsymmetricalScatterMatrix(dat, cols, rows, maxRows = 5, ...)

Arguments

dat

The dataframe containing the variables specified in cols and rows.

cols

The names of the variables to use for the columns.

rows

The names of the variables to use for the rows.

maxRows

The maximum number of rows on one 'page' (i.e. in one asymmetricalScatterMatrix).

...

Extra arguments to pass on to each asymmetricalScatterMatrix call.

Value

An object containing the asymmetricalScatterMatrices in a list:

input

Input values.

intermediate

Some values/objects generated in the process.

output

A list containing the object 'scatterMatrices', which is a list of the generated scatterMatrices.

Author(s)

Gjalt-Jorn Peters

Maintainer: Gjalt-Jorn Peters <gjalt-jorn@userfriendlyscience.com>

See Also

asymmetricalScatterMatrix

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
### (Not run by default because it's quite timeconsuming.)
tmp <- paginatedAsymmetricalScatterMatrix(infert, cols=c("parity"),
                                          rows=c("induced", "case",
                                                 "spontaneous", "age",
                                                 "pooled.stratum"),
                                          maxRows = 3,
                                          showCorrelations="top-right");
tmp$output$scatterMatrices[[1]];

## End(Not run)

userfriendlyscience documentation built on May 2, 2019, 1:09 p.m.