as.poiFile {rPorta} | R Documentation |
as.poiFile
attempts to turn its argument into an poiFile
object.
as.poiFile(v, hull=TRUE)
v |
argument that should be turned into an poiFile object |
hull |
determines whether the convex_hull or the convex_cone slot should be used |
Constructs an poiFile
object consisting only of the points of the convex cone or the convex hull with the help of as.poi
.
Returns an poiFile
object.
Robin Nunkesser Robin.Nunkesser@tu-dortmund.de
# (1,0,0), (0,1,0), and (0,0,1) as convex hull points as.poiFile(diag(3)) # # (1,0,0), (0,1,0), and (0,0,1) as convex cone points as.poiFile(diag(3),hull=FALSE)