Displaying 6 results from an estimated 6 matches for "symptom1".
Did you mean:
symptom
2010 Jun 18
1
Latex problem in Hmisc (3.8-1) and Mac Os X with R 2.11.1
...or(sample(c("m","f"), 500, rep=TRUE))
age <- rnorm(500, 50, 5)
treatment <- factor(sample(c("Drug","Placebo"), 500, rep=TRUE))
symp <- c('Headache','Stomach Ache','Hangnail',
'Muscle Ache','Depressed')
symptom1 <- sample(symp, 500,TRUE)
symptom2 <- sample(symp, 500,TRUE)
symptom3 <- sample(symp, 500,TRUE)
Symptoms <- mChoice(symptom1, symptom2, symptom3, label='Primary Symptoms')
table (Symptoms)
table(symptom1,symptom2)
f <- summary(treatment ~ age + sex + Symptoms, method="re...
2008 Oct 08
1
NA's in multiple choice summary table in Hmisc
...mary
and mChoice functions of the Hmisc package, because it produces nicely
formatted latex tables. My problem is, that table includes a category for
people who have at least one absent symptom and I don't know how to exclude
it.
Here's a very easy reproducible example:
library(Hmisc)
Symptom1<-c("Headache","Headache",NA)
Symptom2<-c(NA,"Anxiety",NA)
Symptoms<-mChoice(Symptom1,Symptom2)
summary(~Symptoms,method="reverse")
Descriptive Statistics (N=3)
+-------------------+-------+
| | |
+-------------------+-------...
2010 Aug 31
1
summary in Hmisc and Latex
...actor(sample(c("m","f"), 500, rep=TRUE))
age<- rnorm(500, 50, 5)
treatment<- factor(sample(c("Drug","Placebo"), 500, rep=TRUE))
symp<- c('Headache','Stomach Ache','Hangnail',
'Muscle Ache','Depressed')
symptom1<- sample(symp, 500,TRUE)
symptom2<- sample(symp, 500,TRUE)
symptom3<- sample(symp, 500,TRUE)
Symptoms<- mChoice(symptom1, symptom2, symptom3, label='Primary Symptoms')
table (Symptoms)
table(symptom1,symptom2)
f<- summary(treatment ~ age + sex + Symptoms, method="reverse...
2010 Apr 09
0
Trouble with mChoice() in the Hmisc package.
Hi All:--
I've started using the the Hmisc reporting facilities recently, mostly
successfully. I'm having some trouble with mChoice() multiple-choice
objects, though. Here's some example code and output from R-help a
couple of years ago:
library(Hmisc)
Symptom1 <- c("Headache", "Headache", NA)
Symptom2 <- c(NA, "Anxiety", NA)
Symptoms <- mChoice(Symptom1, Symptom2)
summary(~ Symptoms, method="reverse")
[Output:]
Descriptive Statistics (N=3)
+-------------------+-------+
| | |
+--...
2003 Jun 27
0
Interpretation of loess
I have data on a number of patients. Essentially, for each patient I know
his/her age and whether he/she exhibits certain symptoms:
age symptom1 symptom2
50 0 1
53 0 0
70 1 1
...
I have started off by fitting simple models with forms like
Prob(patient of age t shows symptom i) = 1 - Exp(-lambda_i * t)
or
Prob(patient of age t shows symptom i) = 1 - A_i * Exp(-lambda_i * t)
Now, I w...
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>