Learn R Programming

cg (version 1.0-2)

varianceTable: Compute Variance Components

Description

Create a table of variances from a cg fit object.

Usage

varianceTable(fit, display = "print", ...)

Arguments

fit
A fit 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 none are valid.

Value

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

concept

variance components

See Also

varianceTable.cgPairedDifferenceFit

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)
anorexiaFT.fit <- fit(data=anorexiaFT.data)	
varianceTable(anorexiaFT.fit)

Run the code above in your browser using DataLab