Skip to content
Snippets Groups Projects
Commit c8931a3a authored by wbonat's avatar wbonat
Browse files

Fix chcond -> chcond1

parent b4c1fd93
Branches
No related tags found
No related merge requests found
...@@ -175,7 +175,7 @@ barplot(prop.table(xtabs(~illness, data=ahs)), ...@@ -175,7 +175,7 @@ barplot(prop.table(xtabs(~illness, data=ahs)),
ylab="Sample proportion", ylab="Sample proportion",
xlab="illness") xlab="illness")
barplot(prop.table(xtabs(~chcond, data=ahs)), barplot(prop.table(xtabs(~chcond1, data=ahs)),
ylab="Sample proportion", ylab="Sample proportion",
xlab="chcond") xlab="chcond")
layout(1) layout(1)
...@@ -183,10 +183,10 @@ layout(1) ...@@ -183,10 +183,10 @@ layout(1)
xt <- xtabs(~age+sex, data=ahs) xt <- xtabs(~age+sex, data=ahs)
mosaicplot(xt) mosaicplot(xt)
xt <- xtabs(~age+chcond, data=ahs) xt <- xtabs(~age+chcond1, data=ahs)
mosaicplot(xt) mosaicplot(xt)
xt <- xtabs(~sex+chcond, data=ahs) xt <- xtabs(~sex+chcond1, data=ahs)
mosaicplot(xt) mosaicplot(xt)
##---------------------------------------------------------------------- ##----------------------------------------------------------------------
...@@ -220,7 +220,7 @@ useOuterStrips( ...@@ -220,7 +220,7 @@ useOuterStrips(
useOuterStrips( useOuterStrips(
combineLimits( combineLimits(
xyplot(Ndoc+Nndoc+Nadm+Nhosp+Nmed~age|chcond, xyplot(Ndoc+Nndoc+Nadm+Nhosp+Nmed~age|chcond1,
groups=sex, outer=TRUE, data=ahs, groups=sex, outer=TRUE, data=ahs,
jitter.x=TRUE, amount=0.01, jitter.x=TRUE, amount=0.01,
type=c("p", "a"), type=c("p", "a"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment