saveToDoc: save the result in tables into a doc file for sensmixed or...

Description Usage Arguments Author(s) Examples

Description

save the tests for the random and fixed effects into a doc file for sensmixed or consmixed objects

Usage

1
saveToDoc(x, file = NA, bold = FALSE, append = TRUE, type = "html", typeEffs = 1)

Arguments

x

object of class sensmixed or consmixed.

file

a character string naming the file to write to, or NULL to stop sink-ing.

bold

logical. Should the significance be in bold text instead of the stars. The default is FALSE

append

logical. If TRUE, output will be appended to file; otherwise, it will overwrite the contents of file.

type

type of output as in xtable. Either "html" or "latex"

typeEffs

one of the numbers in c(1,2,3,4). 1: save results for the random effects in a table 2: save results for the fixed effects in a table 3: save results for the scaling effects in a table 4: save results for all effects in a table

Author(s)

Alexandra Kuznetsova

Examples

1
2
3
4
5
6
7
8
## Not run: 
res <- sensmixed(c("Coloursaturation", "Colourbalance"),
                  Prod_effects=c("TVset"), 
                  individual="Assessor", data=TVbo)

saveToDoc(res, file = "C:/Desktop/output.doc")

## End(Not run)

alku86/SensMixed documentation built on May 10, 2019, 9:21 a.m.