I have a list of polygons generated by the contourLines() command (each object of the list is a list in itself with two objects: a vector of x values, and a vector of y values for each vertex). I wish to convert that list into a gpc.poly object of multiple contours. How do I do this? gpclib apparently has no method of coercing lists into the gpc.poly object type. As well, when I have a gpc.poly object, I can view the points using the get.pts() command, but cannot find a way of only extracting the x values of a polygon (or the y values, for that matter). How do I do this? Any help would be greatly appreciated -- View this message in context: http://www.nabble.com/gpc.poly-datatype-tp23967664p23967664.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.