print.VCAinference | R Documentation |
Prints the list-type 'VCAinference'-object as tabulated output.
## S3 method for class 'VCAinference'
print(x, digits = 4L, what = c("all", "VC", "SD", "CV", "VCA"), ...)
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. |
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.
invisibly returns sub-elements of 'x' specified via 'what'
Andre Schuetzenmeister andre.schuetzenmeister@roche.com
VCAinference
, anovaVCA
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.