Frank Harrell rote in a message dating from Oct 8th:> n.group is an argument to latex.default in the Hmisc packageI must admit that I can't find it in the function head, which reads on my installation: function (object, title = first.word(deparse(substitute(object))), file = paste(title, ".tex", sep = ""), append = FALSE, label = title, rowlabel = title, rowlabel.just = "l", cgroup = NULL, n.cgroup = NULL, rgroup = NULL, n.rgroup = NULL, cgroupTexCmd = "bfseries", rgroupTexCmd = "bfseries", rownamesTexCmd = NULL, colnamesTexCmd = NULL, cellTexCmds = NULL, rowname, cgroup.just = rep("c", length(n.cgroup)), colheads = dimnames(cx)[[2]], extracolheads = NULL, extracolsize "scriptsize", dcolumn = FALSE, numeric.dollar = !dcolumn, cdot = FALSE, longtable = FALSE, draft.longtable = TRUE, ctable = FALSE, booktabs = FALSE, table.env = TRUE, here = FALSE, lines.page = 40, caption = NULL, caption.lot = NULL, caption.loc = c("top", "bottom"), double.slash = FALSE, vbar = FALSE, collabel.just rep("c", nc), na.blank = TRUE, insert.bottom = NULL, first.hline.double !(booktabs | ctable), where = "!tbp", size = NULL, center = c("center", "centering", "none"), landscape = FALSE, multicol = TRUE, ...) I am using Hmisc 3.1.1 here. The first occurrence (and presumably the point where the execution stops) is the line which reads: if (length(n.group) > j) which occurs around the 200th line of the function. Am I missing something here?
This is a bug that has now been fixed. Until a new release of Hmisc
appears see the following to get a corrected version of latex( ):
http://biostat.mc.vanderbilt.edu/twiki/bin/view/Main/LatestRFunctions -
you will need getLatestSource('latex')
Frank
Johannes H?sing wrote:> Frank Harrell rote in a message dating from Oct 8th:
>
>> n.group is an argument to latex.default in the Hmisc package
>
> I must admit that I can't find it in the function head,
> which reads on my installation:
>
> function (object, title = first.word(deparse(substitute(object))),
> file = paste(title, ".tex", sep = ""), append =
FALSE, label = title,
> rowlabel = title, rowlabel.just = "l", cgroup = NULL,
n.cgroup = NULL,
> rgroup = NULL, n.rgroup = NULL, cgroupTexCmd = "bfseries",
> rgroupTexCmd = "bfseries", rownamesTexCmd = NULL,
colnamesTexCmd = NULL,
> cellTexCmds = NULL, rowname, cgroup.just = rep("c",
length(n.cgroup)),
> colheads = dimnames(cx)[[2]], extracolheads = NULL, extracolsize >
"scriptsize",
> dcolumn = FALSE, numeric.dollar = !dcolumn, cdot = FALSE,
> longtable = FALSE, draft.longtable = TRUE, ctable = FALSE,
> booktabs = FALSE, table.env = TRUE, here = FALSE, lines.page = 40,
> caption = NULL, caption.lot = NULL, caption.loc = c("top",
> "bottom"), double.slash = FALSE, vbar = FALSE,
collabel.just > rep("c",
> nc), na.blank = TRUE, insert.bottom = NULL, first.hline.double >
!(booktabs |
> ctable), where = "!tbp", size = NULL, center =
c("center",
> "centering", "none"), landscape = FALSE,
multicol = TRUE,
> ...)
>
> I am using Hmisc 3.1.1 here.
>
> The first occurrence (and presumably the point where
> the execution stops) is the line which reads:
> if (length(n.group) > j)
> which occurs around the 200th line of the function.
>
> Am I missing something here?
>
--
Frank E Harrell Jr Professor and Chair School of Medicine
Department of Biostatistics Vanderbilt University