View source: R/multiscaleSVDxpts.R
indicator_opt_both_ways | R Documentation |
This function runs the optimization on both the input matrix 'm' and its negative counterpart 'm * (-1)', returning the result that maximizes the sum 'sum(m * I)'.
indicator_opt_both_ways(m, verbose = FALSE)
m |
A numeric matrix for which the optimization will be performed. |
verbose |
Logical. If TRUE, reports the objective value and convergence progress at each iteration. |
m*I
set.seed(123)
m <- matrix(rnorm(500), nrow = 5)
indicator_opt_both_ways(m)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.