This function estimates the covariance matrix on a vector of
sampling points. The covariance
matrix parameter has to be larger
than the vector of sampling points.
predict_covariance(t, covariance)
Vector of sampling points.
Matrix of covariance.
A matrix of covariance estimated on a vector of sampling points.
if (FALSE) {
if(interactive()){
attach(powerconsumption)
covariance <- learn_covariance(powerconsumption, 'lm')
cov <- predict_covariance(t = seq(0, 1, length.out = 101),
covariance = covariance)
}
}