Learn R Programming

cg (version 1.0-0)

correlationTable: Compute Correlations

Description

Create a table of correlations of the data in a cg data object.

Usage

correlationTable(data, display = "print", ...)

Arguments

data
A data object created and prepared (see prepare) using the cg package.
display
One of three valid values: [object Object],[object Object],[object Object]
...
Additional arguments. Currently only one is valid: [object Object]

Value

  • A method-specific correlationTable object is returned. See the specific methods for discussion of return values.

concept

  • exploratory
  • correlation

See Also

correlationTable.cgPairedDifferenceData

Examples

Run this code
data(anorexiaFT)
anorexiaFT.data <- prepareCGPairedDifferenceData(anorexiaFT, format="groupcolumns",
                                                 analysisname="Anorexia FT",
                                                 endptname="Weight",
                                                 endptunits="lbs",
                                                 expunitname="Patient",
                                                 digits=1,
                                                 logscale=TRUE)
correlationTable(anorexiaFT.data)

Run the code above in your browser using DataLab