list_t3 | R Documentation |
Create R6 reference object class list_t3.
new()
Initialize function for R6 list_t3 class.
list_t3$new()
name()
Function for display item's name(s) attribut.
list_t3$name(attribut = "all")
attribut
(character) Display all names with "all" attribut or specify one.
add()
Function for add new element in specific attribut.
list_t3$add(new_item, attribut = "data")
new_item
(all type) Item to add.
attribut
(character) Attribut's name. By default "data".
remove()
Function for removed element of specific attribut.
list_t3$remove(item_id, attribut = "data")
item_id
(numeric) Identification number of item to remove.
attribut
(character) Attribut's name. By default "data".
view()
Function for display element(s) of specific attribut.
list_t3$view(..., attribut = "data")
...
(list) Identification number or name of item(s) to display.
attribut
(character) Attribut's name. By default "data".
count()
Function for display number of elements of a specific attribut.
list_t3$count(attribut = "data")
attribut
(character) Attribut's name. By default "data".
extract()
Function for extract element(s) of a specific attribut.
list_t3$extract(attribut_l1 = "data", attribut_l2 = NULL, id = NULL)
attribut_l1
(character) First strate attribut's name. By default "data".
attribut_l2
(character or NULL) Second strate attribut's name. By default NULL.
id
(integer) Number identification of element in the attribut.
filter()
Function for select attribut's element(s) by specific filter.
list_t3$filter(attribut_l1 = "data", filter)
attribut_l1
(character) First strate attribut's name. By default "data".
filter
(character) Filter by a specific filter.
filter_l1()
Function for select item(s) by specific selection.
list_t3$filter_l1(attribut_l1 = "data", filter, clone = FALSE)
attribut_l1
Object of type character
expected. First strate attribut's name. By default "data".
filter
Object of type character
expected. Filter by specific selection. Use the pattern $path$ for specify path of element in the R6 object. For example: "$path$elementarycatch_id == "elementarycatch4" & $path$activity_id == "activity168""
clone
Object of type logical
expected. TRUE if you want to create a new object (not link to the original object).
extract_l1_element_value()
Function for extract element(s) of a specific attribut.
list_t3$extract_l1_element_value(attribut_l1 = "data", element)
attribut_l1
Object of type character
expected. First strate attribut's name. By default "data".
element
Object of type character
expected. Name of the element.
modification_l1()
Function for modification item(s).
list_t3$modification_l1(attribut_l1 = "data", modification, silent = TRUE)
attribut_l1
Object of type character
expected. First strate attribut's name. By default "data".
modification
Object of type character
expected. Attribute to modify. Use the pattern $path$ for specify path of attribute in the R6 object. For example: "$path$activity_code = 1"
silent
Object of type logical
expected. Display outputs of modificated values.
clone()
The objects of this class are cloneable with this method.
list_t3$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.