[,gpuMatrix,ANY,ANY,missing-method | R Documentation |
extract/set parts of the data in gpuMatrix object
## S4 method for signature 'gpuMatrix,ANY,ANY,missing' x[i = NA, j = NA, ..., drop = TRUE] ## S4 replacement method for signature 'gpuMatrix,ANY,ANY,numeric' x[i, j, ...] <- value
x |
an gpuMatrix object |
i, j |
indices specifying elements to extract or replace. The index j can be missing or empty. |
... |
This argument is only for compatibility. It does not have any effect. |
drop |
For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension. |
value |
The value you want to set |
A matrix subset
no return value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.