search for: tachycardia

Displaying 4 results from an estimated 4 matches for "tachycardia".

2012 Oct 05
5
Missing data (Na) and chi-square tests
Dear everyone I am a bit of a computer imbecile and are having problems with R. I am using R in my research project to do chi-square tests on data imported from excel . However I have som missing data in one of my variables (columns) and I need R to "exclude" these and make chi-square test on the data that I have. I use a formula to make 2x2 tables which is: data <-
2017 Sep 14
3
Help understanding why glm and lrm.fit runs with my data, but lrm does not
...RT <- factor(gusto2$HRT, labels=c("No","Yes")) gusto2$ANT <- factor(gusto2$ANT, labels=c("No","Yes")) var.labels=c(DAY30="30-day Mortality", AGE="Age in Years", KILLIP="Killip Class", HYP="Hypertension", HRT="Tachycardia", ANT="Anterior Infarct Location") label(gusto2)=lapply(names(var.labels),function(x) label(gusto2[,x])=var.labels[x]) ddist = datadist(gusto2) options(datadist='ddist') fit1 <- lrm(DAY30~AGE+HYP+KILLIP+HRT+ANT,gusto2) Error in lrm(DAY30 ~ AGE + HYP + KILLIP + HRT + ANT...
2017 Sep 14
0
Help understanding why glm and lrm.fit runs with my data, but lrm does not
...actor(gusto2$HRT, labels=c("No","Yes")) > gusto2$ANT <- factor(gusto2$ANT, labels=c("No","Yes")) > var.labels=c(DAY30="30-day Mortality", AGE="Age in Years", KILLIP="Killip Class", HYP="Hypertension", HRT="Tachycardia", ANT="Anterior Infarct Location") > label(gusto2)=lapply(names(var.labels),function(x) label(gusto2[,x])=var.labels[x]) > > ddist = datadist(gusto2) > options(datadist='ddist') > > fit1 <- lrm(DAY30~AGE+HYP+KILLIP+HRT+ANT,gusto2) > > Error in lr...
2017 Sep 14
1
Help understanding why glm and lrm.fit runs with my data, but lrm does not
...T, labels=c("No","Yes")) > > gusto2$ANT <- factor(gusto2$ANT, labels=c("No","Yes")) > > var.labels=c(DAY30="30-day Mortality", AGE="Age in Years", > KILLIP="Killip Class", HYP="Hypertension", HRT="Tachycardia", ANT="Anterior > Infarct Location") > > label(gusto2)=lapply(names(var.labels),function(x) > label(gusto2[,x])=var.labels[x]) > > > > ddist = datadist(gusto2) > > options(datadist='ddist') > > > > fit1 <- lrm(DAY30~AGE+HYP+KILLIP+...