Set or extract weighted matrix row weights
Usage
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 method for class 'linwmatrix'
rowweights(x, update = TRUE, ...) <- value
# S3 method for class 'logwmatrix'
rowweights(x, update = TRUE, ...) <- value
lrowweights(x, ...) <- value
# S3 method for class 'linwmatrix'
lrowweights(x, update = TRUE, ...) <- value
# S3 method for class 'logwmatrix'
lrowweights(x, update = TRUE, ...) <- value
# S3 method for class 'matrix'
rowweights(x, ...) <- value
# S3 method for class 'matrix'
lrowweights(x, ...) <- valueArguments
- x
a
linwmatrix, alogwmatrix, or amatrix; amatrixis coerced to a weighted matrix of an appropriate type.- ...
extra arguments for methods.
- value
weights to set, on the appropriate scale.
- update
if
TRUE(the default), the old weights are updated with the new weights (i.e., corresponding weights are multiplied on linear scale or added on on log scale); otherwise, they are overwritten.