print.VCAinference: Standard Print Method for Objects of Class 'VCAinference'.

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/vca.R

Description

Prints the list-type 'VCAinference'-object as tabulated output.

Usage

1
2
3
## S3 method for class 'VCAinference'
print(x, digits = 4L, what = c("all", "VC", "SD",
  "CV", "VCA"), ...)

Arguments

x

(VCAinference) object

digits

(integer) number of decimal digits.

what

(character) one of "all", "VC", "SD", "CV", "VCA" specifying which part of the 'VCA'-object is to be printed.

...

additional arguments to be passed to or from methods.

Details

Formats the list-type objects of class 'VCAinference' for a more comprehensive presentation of results, which are easier to grasp. The default is to show the complete object (VCA ANOVA-table, VC-, SD-, and CV-CIs). Using parameter 'what' allows to restrict the printed output to certain parts. Print-function invisibly returns a matrix or a list of matrices, depending on the values of 'what', i.e. it can be used as for packing the inference-information in one or multiple matrix-objects and extracting it/them.

Value

invisibly returns sub-elements of 'x' specified via 'what'

Author(s)

Andre Schuetzenmeister [email protected]

See Also

VCAinference, anovaVCA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 
# load data (CLSI EP05-A2 Within-Lab Precision Experiment) 
data(dataEP05A2_1)

# perform ANOVA-estimation of variance components for a nested design
res <- anovaVCA(y~day/run, Data=dataEP05A2_1)
res
inf <- VCAinference(res)
inf

# show certain parts and extract them invisibly
CVmat <- print(inf, what="CV")
CVmat

# show numerical values with more digits
print(inf, digit=12)

## End(Not run)

VCA documentation built on July 12, 2017, 5:02 p.m.

Related to print.VCAinference in VCA...