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

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

Examples

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