Displaying 2 results from an estimated 2 matches for "0a0a0a".
Did you mean:
0x0a0a
2011 Jan 31
1
str() on raster objects fails for certain dimensions
...ith how str() and "[.raster"() is coded; when
subsetting as a vector, which str() relies on, "[.raster"() still
returns a matrix-like object, e.g.
> img <- as.raster(1:25, max=25, nrow=5, ncol=5);
> img[1:2]
[,1] [,2] [,3] [,4] [,5]
[1,] "#0A0A0A" "#3D3D3D" "#707070" "#A3A3A3" "#D6D6D6"
[2,] "#141414" "#474747" "#7A7A7A" "#ADADAD" "#E0E0E0"
compare with:
> as.matrix(img)[1:2]
[1] "#0A0A0A" "#3D3D3D"
The easy but incomple...
2000 Feb 29
0
mapping of colornames into hsv: half way done
..."goldenrod4", "#8B6914",
"gray", "#BEBEBE",
"gray0", "#000000",
"gray1", "#030303",
"gray2", "#050505",
"gray3", "#080808",
"gray4", "#0A0A0A",
"gray5", "#0D0D0D",
"gray6", "#0F0F0F",
"gray7", "#121212",
"gray8", "#141414",
"gray9", "#171717",
"gray10", "#1A1A1A",
"gray11"...