wmatrix_weights | R Documentation |
Set or extract weighted matrix row weights
rowweights(x, ...)
## S3 method for class 'linwmatrix'
rowweights(x, ...)
## S3 method for class 'logwmatrix'
rowweights(x, ...)
lrowweights(x, ...)
## S3 method for class 'logwmatrix'
lrowweights(x, ...)
## S3 method for class 'linwmatrix'
lrowweights(x, ...)
rowweights(x, ...) <- value
## S3 replacement method for class 'linwmatrix'
rowweights(x, update = TRUE, ...) <- value
## S3 replacement method for class 'logwmatrix'
rowweights(x, update = TRUE, ...) <- value
lrowweights(x, ...) <- value
## S3 replacement method for class 'linwmatrix'
lrowweights(x, update = TRUE, ...) <- value
## S3 replacement method for class 'logwmatrix'
lrowweights(x, update = TRUE, ...) <- value
## S3 replacement method for class 'matrix'
rowweights(x, ...) <- value
## S3 replacement method for class 'matrix'
lrowweights(x, ...) <- value
x |
a |
... |
extra arguments for methods. |
value |
weights to set, on the appropriate scale. |
update |
if |
For the accessor functions, the row weights or the row log-weights; otherwise, a weighted matrix with modified weights. The type of weight (linear or logarithmic) is converted to the required type and the type of weighting of the matrix is preserved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.