Displaying 2 results from an estimated 2 matches for "recovunit".
Did you mean:
recount
2008 Oct 08
1
Choose subset for plot use (bwplot)
Hello, this code below was from a helpful R-help user.
dat <- read.csv("Resid_fix2.csv", sep="," , header=T)
dat11 <- dat[1:413,]
# convert ambiguous columns to factors:
dat11$Pri_No <- factor(dat11$Pri_No)
dat11$RecovUnit <- factor(dat11$RecovUnit)
# plot:
require(lattice)
bwplot(bbED~ Pri_No | RecovUnit, data=dat11, as.table=TRUE, layout=c(4,1))
This works, but I am trying to do this:
> bwplot(bbED~ Pri_No | RecovUnit, data=dat11, subset = (Pri_No %in%
c(1,2)), as.table=TRUE, layout=c(2,1))
Error in limits....
2008 Oct 01
0
Multiple histograms one graphic device & groupings
...ot;ex_bin" "PriNo" "pri1234"
"pri_ex"
[21] "sc_ex" "Sc_ex_pri" "sc_recov" "recov_bica"
"sc_reco_bica"
[26] "sc_ec_p1234" "Pri_No" "id_no" "RecovUnit"
"Max_est"
[31] "F23" "F24" "F25" "F26"
"F27"
[36] "F28" "F29"
> histogram(~ sc_recov | bbPD, type="count")
This opened a device, but nothing was there, probably be...