Displaying 6 results from an estimated 6 matches for "plotord".
Did you mean:
plot3d
2011 Feb 11
1
Extract a slot value from a 'SpatialPolygons' class object
...706657 706840 707294 707585 ...
.. .. .. .. .. .. .. .. ..- attr(*, "dimnames")=List of 2
.. .. .. .. .. .. .. .. .. ..$ : chr [1:23] "1" "2" "3" "4" ...
.. .. .. .. .. .. .. .. .. ..$ : chr [1:2] "x" "y"
.. .. .. .. ..@ plotOrder: int 1
.. .. .. .. ..@ labpt : num [1:2] 709374 -1507888
.. .. .. .. ..@ ID : chr "1"
.. .. .. .. ..@ area : num 11542604
.. ..@ plotOrder : int 1
.. ..@ bbox : num [1:2, 1:2] 706657 -1509411 711710 -1506189
.. .. ..- attr(*, "dimnames")=List of...
2011 Aug 17
2
dotchart vs. dotplot ... groups
...1
2
3
The following example code illustrates....
set.seed(18)
dta <- data.frame(var1=factor(c("A", "A", "B", "B", "B", "B", "C", "C", "C")),
var2=c(1,2,1,2,3,4,1,2,3),
var3=round(runif(9,1,10),1),
plotorder=9:1)
dta
windows(3,3)
dotchart(dta$var3[order(dta$var1, -dta$var2)], groups=dta$var1,
labels=dta$var2[order(dta$var1, -dta$var2)], cex=.75,
gcolor=c("blue", "red", "dark green"),
col=c(rep("blue",2), rep("red",4), rep("dark green"...
2009 Mar 21
3
Retrieving Vertices Coordinates from SpatialPolygons
Dear List,
I'm trying to use different R packages for my Teaching Assistantship
classes. And I cam out to an (apparently) very simple problem. I would
like to retrieve the vertices coordinate of a SpatialPolygon data. I
know this is stored in the "coords" slot, but I can't get access to
it! I tried to coerce the SpatialPolygon into a data.frame but it
doesn't work.
2009 Aug 30
1
Trying to rename spatial pts data frame slot that isn't a slot()
...c")
My spatial points data frame has a number of "Slot"s, including one that contained the original names called Slot "ID". However, I can not access this slot using slot() or slotNames().
> slotNames(mymcp)
[1] "data" "polygons" "plotOrder" "bbox" "proj4string"
What am I missing here? Is Slot "ID" not a slot? Can I export the ID's with the shapefiles to qGIS? Can I rename the ID's when I bring them back into R? When is a slot not a slot()?
Thanks,
TIm
Tim Clark
Department...
2005 Feb 09
1
FW: Drawing maps of UK
Hi Guys
Thanks for this! As I am a beginner, I bet I'm running into some really
basic problems. Using the example from the Map2poly function in
maptools:
try <- read.shape("euadmll.shp")
mappolys <- Map2poly(try)
# this produces 14 warnings() of the type:
# 1: level 2 circularity at 62 in: .mtlbuild(.mtafters(r1), rD) # etc #
14: From next release, default hole handling
2009 Sep 01
1
Logistic Politomic Regression in R
...c")
My spatial points data frame has a number of "Slot"s, including one that contained the original names called Slot "ID". However, I can not access this slot using slot() or slotNames().
> slotNames(mymcp)
[1] "data" "polygons" "plotOrder" "bbox" "proj4string"
What am I missing here? Is Slot "ID" not a slot? Can I export the ID's with the shapefiles to qGIS? Can I rename the ID's when I bring them back into R? When is a slot not a slot()?
Thanks,
TIm
Tim Clark
Department...