Description Usage Arguments Details Value Author(s) See Also Examples
Subset numdfr
object.
1 2 3 4 5 6 7 8 9 10 11 12 | ## S3 method for class 'numdfr'
x[i, j, returnAsMatrix = drop, drop = FALSE]
## S3 replacement method for class 'numdfr'
x[i, j] <- value
## S3 method for class 'numdfr'
x[[..., exact=TRUE]]
## S3 method for class 'numdfr'
x$name
## S3 replacement method for class 'numdfr'
x[[i]]<-value
## S3 replacement method for class 'numdfr'
x$name<-value
|
x |
|
i, j |
elements to extract or replace. Numeric or character or, empty. Numeric values are coerced to integer as if by as.integer. For replacement, a logical matrix is allowed. |
returnAsMatrix |
if |
drop |
if |
value |
new values(s) |
... |
column names. For now, only one column is allowed. |
exact |
if |
name |
Single column name |
Mostly designed to work similarly to [.data.frame
, but needed to provide an extra parameter returnAsMatrix
.
There are still some cases unsupported in the assignment operators. The value is converted as best possible to the format of the column if it was an existing column.
Depending on the logical parameters, a numdfr
, a matrix (2-dimensional) or a vector.
Nick Sabbe
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.