varianceTable {cg}R Documentation

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:

"print"

The default value; It calls a print method for the created varianceTable object, which is a formatted text output of the table.

"none"

Supresses any printing. Useful, for example, when just assignment of the resulting object is desired.

"show"

Calls the default showDefault method, which will just print out the varianceTable components.

...

Additional arguments. Currently none are valid.

Value

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

Note

Contact cg@billpikounis.net for bug reports, questions, concerns, and comments.

Author(s)

Bill Pikounis [aut, cre, cph], John Oleynick [aut], Eva Ye [ctb]

See Also

varianceTable.cgPairedDifferenceFit

Examples

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)


[Package cg version 1.0-3 Index]