Displaying 3 results from an estimated 3 matches for "prtest".
Did you mean:
rtest
2008 Jul 25
2
Package Hmisc, functions summary.formula() and latex(), options pdig, pctdig, eps and prmsd
Un texte encapsul? et encod? dans un jeu de caract?res inconnu a ?t? nettoy?...
Nom : non disponible
URL : <https://stat.ethz.ch/pipermail/r-help/attachments/20080725/bcafe250/attachment.pl>
2011 Jan 06
1
Hmisc, summary.formula and catTest
Dear all,
I?m specifying the fisher.exact test for use with summary.formula as follows:
u<-function(a,b){
j<-fisher.test(a)
p<-list(P=j$p.value,stat=NA,df=NA,testname=j$method,statname="")
return(p)
}
However I?m also required to specify stat & df. However this doesnt apply to the fisher test. I?ve tried specifying them as NA and "" without
2011 Mar 27
2
Hmisc summary.formula formats for binary and continuous variables
Hello,
I am using Hmisc summary.formula, latex and Sweave to produce tables for publication. Is it possible to change the formats for binary and continuous variables? I would prefer to show 35 (10%) and 1.5 (1.2-1.8) rather than 10% (35) and 1.2 / 1.5 / 1.8. Here is a simple example:
sex <- factor(sample(c("m","f"), 500, rep=TRUE))
age <- rnorm(500, 50, 5)
treatment