R/immer_jml_center_theta.R

Defines functions immer_jml_center_theta

## File Name: immer_jml_center_theta.R
## File Version: 0.04

immer_jml_center_theta <- function( theta, center_theta)
{
    if (center_theta){
        theta <- theta - mean(theta)
    }
    return(theta)
}

Try the immer package in your browser

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

immer documentation built on Aug. 22, 2022, 5:05 p.m.