% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/GPModel.R
\name{get_cov_pars.GPModel}
\alias{get_cov_pars.GPModel}
\title{Get (estimated) covariance parameters}
\usage{
\method{get_cov_pars}{GPModel}(gp_model, std_err = FALSE)
}
\arguments{
\item{gp_model}{A \code{GPModel}}

\item{std_err}{A \code{boolean}. If TRUE, (approximate) standard errors are calculated 
(= square root of diagonal of the inverse Fisher information for Gaussian likelihoods and 
square root of diagonal of a numerically approximated inverse Hessian for non-Gaussian likelihoods)}
}
\value{
A \code{GPModel}
}
\description{
Get (estimated) covariance parameters and standard errors (if std_err=TRUE)
}
\examples{
\donttest{
data(GPBoost_data, package = "gpboost")
X1 <- cbind(rep(1,dim(X)[1]),X) # Add intercept column
gp_model <- fitGPModel(group_data = group_data[,1], y = y, X = X1, likelihood="gaussian")
get_cov_pars(gp_model)
}
}
\author{
Fabio Sigrist
}
