This repository provides the R code for Sample size determination via learning-type curves. The details of the method is described here.
gp-functions.R
: Function contains Gaussian Process model fitting and prediction code.nls-functions.R
: Function contains Nonlinear Least Squares model fitting and prediction code.gp-mod.txt
: Jags code for Gaussian Process, called bygp-functions.R
.gp-mod-prior.txt
: Jags code for Gaussian Process with external data as prior, called bygp-functions.R
.
please cite: