OpenFLUID.setAttributes | R Documentation |
Sets attributes values for given spatial units and attributes names
OpenFLUID.setAttributes(ofblob, unitclass, attrvals)
ofblob |
the simulation definition blob |
unitclass |
the unit class |
attrvals |
the data.frame of values (unit id x attribute name) |
OpenFLUID.getAttributes
## Not run: OpenFLUID.setAttributes(ofsim,"SU",data.frame("length"=c(1,2),"width"=c(3.2,7.8),"unitid"=c("SU#18","SU#23"))) ## End(Not run)