SampleDistFromCenterDirichletQ: For population the center mu_k is computed. Then D_i_k =...

View source: R/sampler.R

SampleDistFromCenterDirichletQR Documentation

For population the center mu_k is computed. Then D_i_k = ||coord_i - mu_k|| is computed. finally alpha = f(D) and Q ~ Dirichlet(alpha).

Description

TODOC

Usage

SampleDistFromCenterDirichletQ(coord, n.by.pop, K, f = function(D)
  exp(-D/0.2))

Arguments

coord

Coordinate matrix.

n.by.pop

Number of individual by population.

K

Number of column of Q.

f

Distribution function.

Value

TODOC


cayek/TESS3_encho_sen documentation built on July 4, 2023, 7:51 p.m.