Description Usage Arguments Format Value Methods Active bindings Methods Examples
Class providing object with methods for communication with R6
Class providing object with methods for communication with R6
1 |
... |
Passes all arguments to the constructor. See documentation for the Constructor below. |
R6Class object.
Object of R6Class with methods to manipulate data points
add(nams, vals)This method adds names and values to the namedVector
delete_byname(nams)This method deletes both the name and value of inputted nams from namedVector
sort_byname(decreasing=FALSE)This method sorts the namedVector by name values.
namesStores points
valuesStores y values associated with points
new()namedVector$new(names, values)
get()namedVector$get(nams)
add()namedVector$add(nams, vals)
delete_byname()namedVector$delete_byname(nams)
sort_byname()namedVector$sort_byname(decreasing = FALSE)
print()namedVector$print()
clone()The objects of this class are cloneable with this method.
namedVector$clone(deep = FALSE)
deepWhether to make a deep clone.
1 | ex <- namedVector$new(names = c(1,2,3), values = c(4,5,6))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.