Extract | R Documentation |
Extract or replace subsets of free objects
x |
Object of class |
index |
elements to extract or replace |
value |
replacement value |
These methods (should) work as expected: an object of class
free
is a list but standard extraction techniques should work.
(x <- rfree(20,8,8))
x[5:6]
x[1:2] <- -x[11:12]
x[1:5] <- keep(x[1:5],1:3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.