Description Usage Arguments Author(s) See Also Examples
Objects of class cr_group
have attributes
'rgroup' and/or 'cgroup'. These are extracted for use in the
latex
function of package Hmics
1 2 | latex.cr_group(object, r.perm = "as.is", c.perm = "as.is",
colheads = TRUE, file = "", title = "", ...)
|
object |
an 'cr_group' object |
r.perm |
should be either (interpretable as) 'as.is',
'alphabetical' or a permutation of
|
c.perm |
is analogous to |
colheads |
is an argument that if 'character' is passed to |
file |
is an argument passed to |
title |
is an argument passed to |
... |
additional arguments passed to |
Henrik Renlund
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
nr <- 7; nc <- 5; M <- matrix(1:(nr*nc), nrow=nr, byrow=TRUE)
rownames(M) <- letters[1:nr]
colnames(M) <- LETTERS[1:nc]
attr(M, "rgroup") <- rep(c("foo", "bar", "baz"), length.out=nr)
attr(M, "cgroup") <- rep(c("Fuzzy", "Busy"), length.out=nc)
class(M) <- "cr_group"
dummy <- Hmisc::latex(M, r.perm='as.is', c.perm='alpha')
# see vignette
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.