[<-,repgrid-method | R Documentation |
It should be possible to use it for ratings on all layers.
## S4 replacement method for signature 'repgrid'
x[i, j, ...] <- value
x |
A |
i , j |
Row and column indices. |
... |
Not evaluated. |
value |
Numeric replacement value(s). |
## Not run:
x <- randomGrid()
x[1, 1] <- 2
x[1, ] <- 4
x[, 2] <- 3
# settings values outside defined rating scale
# range throws an error
x[1, 1] <- 999
# removing scale range allows arbitary values to be set
x <- setScale(x, min = NA, max = NA)
x[1, 1] <- 999
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.