search for: rowpct

Displaying 2 results from an estimated 2 matches for "rowpct".

Did you mean: lowpc
2015 Jan 16
1
S3 generic method dispatch on promises
...e <- function(rv, ...) { UseMethod("pctable") } ## rv: row variable, quoted or not ## cv: column variable, quoted or not pctable.default <- function(rv, cv, data = parent.frame(), rvlab = NULL, cvlab = NULL, colpct = TRUE, rowpct = FALSE, exclude = c(NA, NaN), rounded = FALSE) { rvlabel <- if (!missing(rv)) deparse(substitute(rv)) cvlabel <- if (!missing(cv)) deparse(substitute(cv)) rvlab <- if (is.null(rvlab)) rvlabel else rvlab cvlab <- if (is.null(cvlab)) cvlabel el...
2008 May 07
1
Sweave, xtable and font size
...o accomplish that. The Latex code below does what I want it to, but I have to insert the "\tiny{" and the closing "}" by hand. It originated from these commands in my .Rnw-file: <<yearmale, results=tex>>= yearmale <- with(chol, table(year,male)) yearmale <- rowpct(yearmale) <<yearmale, results=tex>>= print(xtable(yearmale,caption="My caption")) $ LATEX CODE: \begin{table}[ht] \begin{center} \tiny{ \begin{tabular}{rlll} \hline & Kvinder & M?nd & Total \\ \hline 1998 & 1335 (75\%) & 437 (25\%) & 1772 (100\%...