Displaying 3 results from an estimated 3 matches for "zrng".
Did you mean:
rng
2018 Aug 18
1
image() method for Matrix fails on empty matrices (?)
...se that should be
handled? Haven't looked yet to see how easy it would be to fix ... Am I
missing something?
> library(Matrix)
> m <- Matrix(0,nrow=3,ncol=3)
> m
3 x 3 sparse Matrix of class "dsCMatrix"
[1,] . . .
[2,] . . .
[3,] . . .
> image(m)
Error in seq.default(zrng[1], zrng[2], length.out = cuts + 2) :
'from' must be a finite number
In addition: Warning messages:
1: In min(xx, na.rm = TRUE) :
no non-missing arguments to min; returning Inf
2: In min(x) : no non-missing arguments to min; returning Inf
3: In max(x) : no non-missing arguments to max;...
2010 Apr 21
1
'cuts' option in levelplot()
Hi All,
Does anyone knows what exactly "cuts=some number" (say 15) does in lattice's
levelplot(). I doubt this but does it uses cut() internally, something like
cut(z, 15)?
Thanks,
Gurmeet
[[alternative HTML version deleted]]
2009 May 05
2
Lattice: use levelplot as panel for wireframe
Hi,
I want to draw a figure similar to http://dsarkar.fhcrc.org/lattice/book/images/Figure_13_07_stdBW.png
from http://lmdvr.r-forge.r-project.org/figures/figures.html (figure
13.7) . However instead of using a contour plot as a panel for the
wireframe I want to use a levelplot. Can somebody help me with this?
Thanks in advance for any help,
Kind regards,
Anton Bossenbroek