 |
statStart |
Function (ROM Call 0x408) |
Creates stat vars and sets them to invalid values.
This function must be called prior to any modifications to the stat variables:
statStart(); // Creates and initializes the stat vars to invalid values.
RM_Type = ... // set to the type you want, see RM_Type
// do calculations
// store to stat vars with VarStore
statEnd(); // tell the system we are no more working on the stat variables...
statStart can throw 'Error: Memory'.
Uses: statFree, HeapAllocThrow
Used by: cmd_cubicreg, cmd_expreg, cmd_linreg, cmd_lnreg, cmd_logistic, cmd_medmed, cmd_onevar, cmd_powerreg, cmd_quadreg, cmd_quartreg, cmd_sinreg, cmd_twovar