Description Usage Arguments See Also
See also issue #17504 at R-bugzilla Can be used as a stand-in for the normal data.frame-assignment-method, but works around a bug: When assigning multiple columns and specifying rows, now there is no error thrown. Based on base::'[<-.data.frame' from R-devel, revision 75615 (so also fixes bug 17483)
1 2 | ## S3 replacement method for class 'data.frame'
x[i, j] <- value
|
x |
The data.frame into which to assign |
i, j |
Indices for row(s) and column(s) |
value |
The new values for replacement |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.