rpietro / NSQIPageComplications

Analysis of surgical complications using the NSQIP data set
1 stars 1 forks source link

subsets in crosstables #1

Closed mworni closed 12 years ago

mworni commented 12 years ago

Ricardo - how to make those crosstables for subsets?

CrossTable(nsqip.data, subset=diagnosis=='appendicitis')(numage10yrcatstart39, postopdeath, chisq=TRUE, missing.include=TRUE, format="SAS", prop.r=FALSE) Error in CrossTable(nsqip.data, subset = diagnosis == "appendicitis") : all entries of x must be nonnegative and finite In addition: There were 37 warnings (use warnings() to see them)

rpietro commented 12 years ago

CrossTable(numage10yrcatstart39 & diagnosis=='appendicitis', postopdeath & diagnosis=='appendicitis', chisq=TRUE, missing.include=TRUE, format="SAS", prop.r=FALSE)

On Wed, Jun 20, 2012 at 1:00 PM, mworni < reply@reply.github.com

wrote:

Ricardo - how to make those crosstables for subsets?

CrossTable(nsqip.data, subset=diagnosis=='appendicitis')(numage10yrcatstart39, postopdeath, chisq=TRUE, missing.include=TRUE, format="SAS", prop.r=FALSE) Error in CrossTable(nsqip.data, subset = diagnosis == "appendicitis") : all entries of x must be nonnegative and finite In addition: There were 37 warnings (use warnings() to see them)


Reply to this email directly or view it on GitHub: https://github.com/rpietro/NSQIPageComplications/issues/1