pars2pik: Conversion of parameters alpha, beta and gamma to pnk, pak...

View source: R/RcppExports.R

pars2pikR Documentation

Conversion of parameters alpha, beta and gamma to pnk, pak and pck

Description

Conversion of parameters alpha, beta and gamma to pnk, pak and pck

Usage

pars2pik(params, nsnps, covar_vec, covar = FALSE)

Arguments

params

Vector of parameters: \alpha, \beta and \gamma

nsnps

number of snps

covar_vec

Vector of the covariate

covar

logical: should the covariate information be used? default: False

Value

pik matrix of priors: pnk, pak and pck


ichcha-m/cophescan documentation built on June 16, 2024, 1:39 a.m.