Compute Variance Components

Share:

Description

Create a table of variances from a cg fit object.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.