Variable class
Variable class
Public fields
datasetDatasetobject.indexcharactervalue.totalnumericvalue.unitscharactervalue.legendLegendobject.provenanceProvenance object.
Methods
Method new()
Create a Variable object.
Usage
Variable$new(dataset, index, total, units, legend, provenance)Arguments
datasetDatasetvalue.indexcharacterorintegervalue.totalnumericvalue.unitscharactervalue.legendLegendobject.provenanceProvenance object.
Method repr()
Generate a character summarizing the representation of the object.
Method render()
Render variable on map.
Arguments
xleaflet::leaflet()object.idcharacteridentifier for map pane.zindexnumericz-index for ordering.visiblelogicalshould the variable be visible?
Returns
leaflet::leaflet() object.
Method update_render()
Update rendering of variable on map.
Arguments
xleaflet::leafletProxy()object.idcharacteridentifier for map pane.zindexnumericz-index for ordering.visiblelogicalshould the variable be visible?
Returns
leaflet::leaflet() object.