Compute a linear covariance matrix
Arguments
- xa
NumericVectorof values- xb
NumericVectorof values- sigma_b
doubledenoting the constant variance- sigma_v
doubledenoting the variance- c
doubledenoting the offset
Examples
x1 <- seq(from = -2, to = 2, length.out = 100)
cov_linear_cpp(x1, x1, 0.05, 1, 1)
#> Error in cov_linear_cpp(x1, x1, 0.05, 1, 1): could not find function "cov_linear_cpp"
