Get/Set a Static Variable in NMF Algorithms
This function is used in iterative NMF algorithms to
manage variables stored in a local workspace, that are
accessible to all functions that define the iterative
schema described in
NMFStrategyIterative
.
It is specially useful for computing stopping criteria, which often require model data from different iterations.
staticVar(name, value, init = FALSE)
name |
Name of the static variable (as a single character string) |
value |
New value of the static variable |
init |
a logical used when a |
The value of the static variable
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.