Skip to content
Snippets Groups Projects
Commit fb50a1c8 authored by Walmes Marques Zeviani's avatar Walmes Marques Zeviani
Browse files

Fix chcond1 to chcond.

parent f80652a5
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,7 @@ NULL ...@@ -109,7 +109,7 @@ NULL
#' xt <- xtabs(~age+sex, data=ahs) #' xt <- xtabs(~age+sex, data=ahs)
#' mosaicplot(xt) #' mosaicplot(xt)
#' #'
#' xt <- xtabs(~age+chcond1, data=ahs) #' xt <- xtabs(~age+chcond, data=ahs)
#' mosaicplot(xt) #' mosaicplot(xt)
#' #'
#' useOuterStrips( #' useOuterStrips(
......
...@@ -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(~chcond1, data=ahs)), barplot(prop.table(xtabs(~chcond, 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+chcond1, data=ahs) xt <- xtabs(~age+chcond, data=ahs)
mosaicplot(xt) mosaicplot(xt)
xt <- xtabs(~sex+chcond1, data=ahs) xt <- xtabs(~sex+chcond, 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|chcond1, xyplot(Ndoc+Nndoc+Nadm+Nhosp+Nmed~age|chcond,
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.
Finish editing this message first!
Please register or to comment