R/tam_deviance_history_init.R

Defines functions tam_deviance_history_init

## File Name: tam_deviance_history_init.R
## File Version: 0.05

tam_deviance_history_init <- function(maxiter)
{
    deviance.history <- matrix( 0, nrow=maxiter, ncol=2)
    colnames(deviance.history) <- c("iter", "deviance")
    deviance.history[,1] <- 1:maxiter
    return(deviance.history)
}

Try the TAM package in your browser

Any scripts or data that you put into this service are public.

TAM documentation built on May 29, 2024, 2:20 a.m.