Constant mean function.
mu_constant(thetaM, x)
Vector containing parameter values of mean function.
Values at which to calculate the mean function.
Calculates the constant mean functions defined by thetaM at points x.
## Constant and uniform mean functions to test code
thetaM <- c(H=40)
mu_constant(thetaM, x=0:100)
#> [1] 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
#> [26] 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
#> [51] 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
#> [76] 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40
#> [101] 40