[Rd] bug in y limits in bwplot (PR#2865)
rmh at surfer.sbm.temple.edu
rmh at surfer.sbm.temple.edu
Mon Apr 28 09:20:39 MEST 2003
# Your mailer is set to "none" (default on Windows),
# hence we cannot send the bug report directly from R.
# Please copy the bug report (after finishing it) to
# your favorite email program and send it to
#
# r-bugs at r-project.org
#
######################################################
## bug in y limits in bwplot
tmp <- data.frame(y=1:10, a=factor(rep(1:2,5)))
## x limits in bwplot works as expected
bwplot(y ~ a, data=tmp, horizontal=F) # works
bwplot(y ~ a, data=tmp, horizontal=F, # works
xlim=c(-1,5))
bwplot(y ~ a, data=tmp, horizontal=F, # works
scales=list(x=list(limits=c(-1,5))))
## problem with y limits in bwplot
bwplot(a ~ y, data=tmp, horizontal=T) # works
bwplot(a ~ y, data=tmp, horizontal=T, # works
ylim=c(-1,5))
bwplot(a ~ y, data=tmp, horizontal=T, # error message
scales=list(y=list(limits=c(-1,5))))
## transcript with error message
> bwplot(a ~ y, data=tmp, horizontal=T, # error message
+ scales=list(y=list(limits=c(-1,5))))
Error in print.trellis(structure(list(as.table = FALSE, aspect.fill = TRUE, :
Invalid value for labels
In addition: Warning message:
is.na() applied to non-(list or vector) in: is.na(x)
>
--please do not edit the information below--
Version:
platform = i386-pc-mingw32
arch = i386
os = mingw32
system = i386, mingw32
status =
major = 1
minor = 7.0
year = 2003
month = 04
day = 16
language = R
Windows XP Home Edition (build 2600) Service Pack 1.0
Search Path:
.GlobalEnv, package:grid, package:lattice, package:methods, package:ctest, package:mva, package:modreg, package:nls, package:ts, Autoloads, package:base
More information about the R-devel
mailing list