OpenFLUID.getAttributes | R Documentation |
Returns attributes values for given spatial units and attributes names
OpenFLUID.getAttributes(ofblob, unitclass, unitids, attrnames, unitidsAsRownames = TRUE)
ofblob |
the simulation definition blob |
unitclass |
the unit class |
unitids |
the vector of unit IDs |
attrnames |
the vector of names of the attributes |
unitidsAsRownames |
if TRUE rename row as unitids if FALSE add a column of unitids |
a data.frame (unitids x attrnames) of the attribute values
OpenFLUID.setAttributes
## Not run: valdf = OpenFLUID.getAttributes(ofsim,"SU",c(18,23),c("length","width")) ## End(Not run)