Feature class
Feature class
Details
Definition for the Feature class.
Public fields
id
character
unique identifier.
name
character
name.
variable
Variable object.
pane
character
name.
visible
logical
value.
invisible
numeric
date/time value.
loaded
logical
value.
hidden
logical
value.
downloadable
logical
value.
status
logical
value.
current
numeric
value.
goal
numeric
value.
min_goal
numeric
minimum goal value.
max_goal
numeric
maximum goal value.
step_goal
numeric
step goal value.
limit_goal
numeric
limit goal value.
Methods
Create a Feature object.
Usage
Feature$new(
id,
name,
variable,
pane,
visible,
invisible,
loaded,
hidden,
downloadable,
status,
current,
goal,
limit_goal,
min_goal,
max_goal,
step_goal
)
Arguments
id
character
value.
name
character
value.
variable
Variable.
pane
character
value.
visible
logical
value.
invisible
numeric
date/time value.
loaded
logical
value.
hidden
logical
value.
downloadable
logical
value.
status
logical
value.
current
numeric
value.
goal
numeric
value.
limit_goal
numeric
value.
min_goal
numeric
value.
max_goal
numeric
value.
step_goal
numeric
value.
Returns
A new Feature object.
Method repr()
Generate a character
summarizing the representation of the object.
Usage
Feature$repr(start = "[", end = "]")
Arguments
start
character
symbol used to start the setting list.
Defaults to "["
.
end
character
symbol used to start the setting list.
Defaults to "]"
.
Method get_layer_name()
Get layer names.
Returns
character
vector.
Method get_layer_index()
Get layer index values.
Usage
Feature$get_layer_index()
Returns
character
vector.
Method get_hidden()
Get hidden.
Method get_downloadable()
Get downloadable.
Usage
Feature$get_downloadable()
Method get_visible()
Get visible.
Method get_invisible()
Get invisible.
Returns
numeric
date/time value.
Method get_loaded()
Get loaded.
Method get_current()
Get current (proportion) coverage.
Method get_status()
Get status.
Method get_goal()
Get goal (proportion) coverage.
Method get_data()
Get the data.
Method set_new_pane()
Set new pane.
Usage
Feature$set_new_pane(id, index)
Arguments
id
character
unique identifier.
index
character
variable index.
Method set_visible()
Set visible.
Usage
Feature$set_visible(value)
Method set_invisible()
Set invisible.
Usage
Feature$set_invisible(value)
Arguments
value
numeric
date/time value.
Method set_loaded()
Set loaded.
Usage
Feature$set_loaded(value)
Method set_status()
Set status.
Usage
Feature$set_status(value)
Method set_goal()
Set goal.
Method set_current()
Set current.
Usage
Feature$set_current(value)
Method export()
Export settings
Method clone()
The objects of this class are cloneable with this method.
Usage
Feature$clone(deep = FALSE)
Arguments
deep
Whether to make a deep clone.