cor.matrix: Correlation Matrix

Description Usage Arguments Details Value Author(s)

Description

Over-rides the cor.matrix function in package Deducer to facilitate HTML rendering.

Usage

1
cor.matrix(variables, with.variables, data = NULL, test = cor.test, ...)

Arguments

variables

variables

with.variables

An optional set of variables to correlate with variables. If nothing is specified, all variables invariables are correlated with themselves.

data

A data.frame from which the variables and factor will be selected.

test

A function whose first two arguments are the variables upon which the correlation will be calculated, and whose result is an object of class dQuotehtest.

...

further arguments for test.

Details

Runs the cor.matrix function from package Deducer through the withConditions function to capture warning messages for HTML printing.

Value

Returns an object of class “cor.matrix”, which is a named list of named lists. At the top level are list elements corresponding to each variable in the correlation matrix. With n variables, there are n elements in the top list. Each of those list elements is itself a list made up of n elements. Each of those elements is an dQuotehtest list object similar to the t-test list object.

Author(s)

Bill Altermatt


DeducerRichOutput documentation built on May 2, 2019, 4:53 p.m.