thetas_to_priors_c: Transforms hyperparameters to priors

View source: R/RcppExports.R

thetas_to_priors_cR Documentation

Transforms hyperparameters to priors

Description

This is the C++ version of thetas_to_priors. See there for further documentation.

Usage

thetas_to_priors_c(thetas, n, thresh = 0.001)

Arguments

thetas

3 real numbers representing the three hyperparameters

n

the number of locations

thresh

the threshold for determining the number of neighbors based on the third hyperparameter, defaults to 1e-3

It is often about the same speed as the R version of this function due to little computational cost.


katzfuss-group/NPvecchia documentation built on April 15, 2022, 2:23 a.m.