userfriendlyscience (version 0.7.0)

paginatedAsymmetricalScatterMatrix: paginatedAsymmetricalScatterMatrix

Description

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

Usage

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.

See Also

asymmetricalScatterMatrix

Examples

Run this code
# 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]];
# }

Run the code above in your browser using DataCamp Workspace