setOptimalWeights | R Documentation |
Set the optimal weights.
setOptimalWeights(object, optimalWeights)
## S4 method for signature 'MultiplicativeAlgorithm'
setOptimalWeights(object, optimalWeights)
object |
An object from the class MultiplicativeAlgorithm. |
optimalWeights |
A vector giving the optimal weights. |
The object with the updated optimal weights.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.