Displaying 1 result from an estimated 1 matches for "visitp".
Did you mean:
visit
2006 Sep 11
1
graphics: y limit on xyplot
...ary(lattice)
trellis.device(col = FALSE, theme = lattice.getOption("col.whitebg"))
name <- "Variable name"
symbols <- c(1,2,3,4,5,6,7,8,9)
patientp <- c(1,2,3,4,5,6,7,8,9,1,2,3,4,5,6,7,8,9)
varp <-
c(826,119,168,90,572,323,122,10,42,900,250,180,120,650,400,130,12,33)
visitp <- c(1,1,1,1,1,1,1,1,1,3,3,3,3,3,3,3,3,3)
yall <- c(varp,varl,varm,varh)
ylimit <- max(yall)*1.1
xyplot(varp ~ visitp,
xlab = "Visit",
ylab = name,
group = patientp,
type = "b",
lty = 1,
as.table =...