search for: ctable

Displaying 20 results from an estimated 36 matches for "ctable".

Did you mean: table
2010 Mar 22
3
ctable error with Hmisc and Sweave (on a Mac)
Hi, pretty new with R and LaTeX here... I'm trying to use the latex() function from the Hmisc table with Sweave. When I try: pdflatex myfile.tex I get an error that reads: ! Undefined control sequence. l.22 \ctable It seems like this is an optional package for Tex that I haven't installed? My googling skills have neglected to locate instructions for how to install ctable on a Mac, though I've locate the ctable package. I reinstalled MacTex-2009 in hopes of solving the problem, but so far it hasn'...
2010 Nov 08
1
unknown dimensions for loglm
...11, .02) group1 <- cbind(1, d1.c1, d2.c1, d3.c1) group2 <- cbind(2, d1.c2, d2.c2, d3.c2) colnames(group1) <- colnames(group2) <- c("group", "dim1", "dim2", "dim3") combined <- rbind(group1, group2) combined[,2:4] <- combined[,2:4] > .1 ctables <- xtabs(~., data = combined) loglm(~group+dim1+dim2+dim3, data=ctables) Call: loglm(formula = ~group + dim1 + dim2 + dim3, data = ctables) Statistics: X^2 df P(> X^2) Likelihood Ratio 12.29856 11 0.3416253 Pearson 10.28058 11 0.5053391 However, the number...
2010 Aug 31
1
summary in Hmisc and Latex
Dear all, With the latest update of Hmisc I no longer have any problems with latex. However using the ctable option produces latex code that at least on both the miktex distribution at work and mactex distribution at home refuses to run due to an extra blank line inserted between the multicolumn lines in the latex code... It runs fine if the line is deleted or if the ctable option is left out. Does this...
2009 Aug 19
2
[Hmisc] latex() with ctable=T inserting unwanted empty line in .tex file when used on summary.formula(method="reverse") object
Dear useRs, When I'm using Hmisc's latex() function with ctable=TRUE on a summary.formula with method="reverse" object and saving in a .tex file, the latter contains an unwanted empty line which makes compilation fail. Here is a brief example : library(Hmisc) test <- data.frame(a=sample(1:30,10),b=sample(c("good","bad",&quot...
2011 Aug 31
1
Hmisc Latex Question: column headings and Major Column Headings not properly alligned
Dear R users: When I create a table without Major Column headings, my *regular* column headings appear correct in the typeset latex file. The major row heading and row groups are as they should. w <- latex(mytab,title="",file="tab/my.tex",ctable=TRUE,caption="Descriptive statistics by Covariate",caption.loc="bottom",label="tab:mytab",where="!htbp",n.rgroup=c(3,3),rgroup=c("Type I","Type II")) However, I'm trying to use cgroup and n.cgroup to group my columns under appropriate...
2002 Sep 04
2
classification table in logistic regression
Friends, Is there an option (or options) to produce a classification table when running a logistic regression analysis? Similar to the ctable option in proc logistic in SAS? TIA, Ioannis -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body"...
2006 Oct 28
1
(kein Betreff)
...md = 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 =...
2009 Jun 03
2
classification table in logistic regression
...uate student intern at Sandia National Laboratories (SNL) and am conducting some research for my thesis project at the University of New Mexico in Statistics for SNL. My project entails a logistic regression and I wanted to create a classification table like the one found in SAS using the function CTABLE. I was running out of ideas on creating code, as I am far from proficient in R. I did a google search and found this comment. I understand the probabilities are highly arbitrary but I thought this would be useful. You see, I am studying a variable that is not understood in our process. I have deri...
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
...summary(stage~rx+age+wt+pf+hx+sbp+dbp+ekg+hg+sz+sg+ap+bm,method="reverse", overall=TRUE, test=TRUE) options(digits=2) w<-latex(s6, size="smaller[3]", outer.size="smaller", Nsize="smaller",long=TRUE, prmsd=TRUE, msdsize="smaller",middle.bold=TRUE, ctable=TRUE) ##This refused to run ( as long as the ctable=T was included), but without it latex (s6) ##I do get a nicely formated table, but again the numbers are all wrong... Also ##latex(s6, long=TRUE, prmsd=TRUE, msdsize="smaller",middle.bold=TRUE) ##makes no difference from latex(s6)...
2011 Aug 28
4
How do I get a weighted frequency table?
? stato filtrato un testo allegato il cui set di caratteri non era indicato... Nome: non disponibile URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110828/d35f51a1/attachment.pl>
2009 Oct 04
3
error installing/compiling kernlab
Hi everybody, I''m using R on a 64-bit Ubuntu 9.04 (Jaunty). I prefer to install R packages from source, even if they are available in Synaptic. The problem is that I can''t install/compile kernlab. Everything works fine until it gets to the lazy loading part: ** preparing package for lazy loading Creating a new generic function for "terms" in "kernlab"
2002 May 08
0
, Netlogit
...lt summary(rrel.logit.qap) The summary output is terminated with an error sign as follows coefficients stuffs ........ Goodness of fitness ......... chi-square ............ Actual Predicted 0 1 0 4564 128 Error in cat("\n Total Fraction Correct:", (n$ctable[1, 1] + n$ctable[2, : subscript out of bounds ==== description ends here. I think it has a problem in rendering the second prediction line? I'd appreciate any help! -hyo -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http:...
2004 Jan 26
0
Significances of Korrelations and Sweave
...Maybe someone has time to have a look, I've uploaded a working example to http://web.utanet.at/ascherst/rtest.zip (4 KB), just run test.r. 2. About Sweave, I love it! But one thing annoys me: Is it possible that it doesn't insert \begin{Schunk}...\end{Schunk}? Some of my code reads like: \ctable[ caption={Deskriptive Statistik}, label=tab:ErgebnisseDeskriptiveStatistik, pos=!tbp ]{lrrrddd} {} { \FL \multicolumn{1}{l}{} & \multicolumn{1}{r}{$N$} & \multicolumn{1}{r}{Min} & \multicolumn{1}{r}{Max} & \multicolumn{1}{r}{$M$} & \multicolumn...
2005 Feb 25
1
summary method in URCA package doesn't work
...is in some documentation somewhere, but after (admittedly quickly) scanning several docs, I've not found any help on this. Thank you. data(finland) sjf <- finland sjf.vecm <- ca.jo(sjf, constant=FALSE, type="eigen", K=2, spec="longrun", season=4, ctable="A2") summary(sjf.vecm) [[alternative HTML version deleted]]
2006 Dec 23
1
Hmisc - latex - table.env not observed
The following code library(Hmisc) x = 1:10 y = x latex(summary(x~y),table.env=FALSE) latex(summary(cbind(x,y)),table.env=FALSE) should produce latex output that is not a table. The second one produces just a tabular, as it should. However, the first one produces a tabular embedded in a table. (This is the effect if you leave table.env=FALSE out).
2008 Oct 18
0
Several problems with hmisc latex function
...t;Group B", "Group C"), n.cgroup = c(2, 2, 2), rgroup = c("First", "Second"), n.rgroup = c(4, + 2), colnamesTexCmd = "color{green}", cgroupTexCmd = "scshape", rgroupTexCmd = "bfseries", numeric.dollar = FALSE, title = "", ctable = TRUE, label = "tab:severalCgroups", caption = "More than two column groups.",cellTexCmds=cell.format) I also would like to add more space between the column names and the line above them. With the defaults the column names are extremly close to the line. Adding "\\v...
2010 Jun 10
1
Latex: Date Format conversion
Hi: Can't find?a way to convert?from shortDate to LongDate format. I?got: 3/10/10 that I want to convert to March 10, 2010. I am using: \documentclass[11pt]{article} \usepackage{longtable,verbatim} \usepackage{ctable} \usepackage{datetime} \title{my title} \begin{document} ? % Convert date \mmmmddyyyydate\3/10/10 end{document}? My report is changing every two weeks so I?will eventually use \Sexpr{report[1,1]} to grab the date from?column 1, row 1 of a table named "report" but right now my report has...
2010 Jun 10
1
Date conversion
Hi: Can't find?a way to convert?from shortDate to LongDate format. I?got: 3/10/10 that I want to convert to March 10, 2010. I am using: \documentclass[11pt]{article} \usepackage{longtable,verbatim} \usepackage{ctable} \usepackage{datetime} \title{my title} \begin{document} ? % Convert date \mmmmddyyyydate\3/10/10 end{document}? My report is changing every two weeks so I?will eventually use \Sexpr{report[1,1]} to grab the date from?column 1, row 1 of a table named "report" but right now my report has...
2009 May 14
0
Bayesian 2*2 table independence test
Dear list, I'd like to test the null hypothesis of independence in a 2*2 contingency table in a Bayesian way. As far as I can see, this can be done by the function ctable in library LearnBayes. (More precisely, a Bayes factor can be computed.) Two questions: 1) Is there any other package/function than can be used for this in a more or less straightforward manner? 2) The ctable help page explains the parameter a as "a: matrix of prior hyperparameters",...
2010 Jul 13
1
latex table question
...some help on this matter. \documentclass[11pt]{article} \usepackage{longtable,verbatim} \usepackage{longtable,pdflscape,graphicx} \usepackage{fmtcount,hyperref} % displaying latex counters ?%\usepackage[top=0.2inch, bottom=0.2inch, left=2cm, right=2cm]{geometry} \usepackage{fullpage} \usepackage{ctable} \title{United States Department of the Interior} \begin{document} ?%\setlength{\topmargin}{-1inch} % Just an example \setkeys{Gin}{width=1\textwidth} % makes all the graphics scales \maketitle <<echo=F,results=hide>>= reportDF <- structure(list(IDDate = c("3/12/2010", &quo...