Description Usage Arguments Examples
This operator returns the ith element of an an indexable object.
1 2 | ## S3 method for class 'rDotNet'
obj[ith]
|
obj |
An object previously created with |
ith |
numerical index into array, list, etc |
1 2 3 4 5 6 7 8 9 10 | ## Not run:
## create instance of an object, using fully qualified class name
obj <- .cnew ("com.stg.math.Model", 1.0, 3.5)
## get the 34th element from this indexable object
element <- obj[34]
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.