Displaying 3 results from an estimated 3 matches for "charquot".
Did you mean:
charquote
2012 Dec 17
2
Suggestion: 'method' slot for format.ftable()
...method=c("non.compact", "row.compact", "col.compact", "compact"),
sep=" \\ ", ...)
{
if(!inherits(x, "ftable"))
stop("'x' must be an \"ftable\" object")
charQuote <- function(s)
if(quote) paste0("\"", s, "\"") else s
makeLabels <- function(lst) {
lens <- sapply(lst, length)
cplensU <- c(1, cumprod(lens))
cplensD <- rev(c(1, cumprod(rev(lens))))
y <- NULL
for...
2017 Jul 09
2
Help with ftable.svyby
...;, "45-54", "55-64",
"65-74", ">=75"),
RACECL=c("white non hispanic", "non white or hispanic"))
Error in rbind(matrix("", nrow = length(xcv), ncol = length(xrv)),
charQuote(makeNames(xrv)), :
number of columns of matrices must match (see arg 3)
When I do the follwing instead all is good. But it only works for small
subsets!
h<-svymean(~interaction(INCOME, AGECL, RACECL), q3)
fh<-ftable(h, rownames=list(AGECL=c("<35", "35-44", "...
2017 Jul 09
0
Help with ftable.svyby
...uot;55-64",
> "65-74", ">=75"),
> RACECL=c("white non hispanic", "non white or hispanic"))
>
> Error in rbind(matrix("", nrow = length(xcv), ncol = length(xrv)),
> charQuote(makeNames(xrv)), :
> number of columns of matrices must match (see arg 3)
>
> When I do the follwing instead all is good. But it only works for small
> subsets!
>
> h<-svymean(~interaction(INCOME, AGECL, RACECL), q3)
>
> fh<-ftable(h, rownames=list(AGECL=c("&l...