get_D_copies: Posterior samples of noisy dissimilarities

Description Usage Arguments Value

Description

Generate copies of noisy dissimilarity matrices according to the estimates of latent coordinates and the BUDS model.

Usage

1
get_D_copies(D, buds_fit, B, min_sigma = 0.03)

Arguments

D

A pairwise dissimilarity matrix.

buds_fit

A stanfit object from fit_buds() output.

B

An integer for the number of copies of D to generate.

min_sigma

A numeric parameter for minimum standard deviation for the distance.

Value

A list of two list: one with posterior draws of noisy dissimilarities, booD, and one of corresponding posterior tau estimates bootTau.


nlhuong/buds documentation built on May 17, 2019, 3:13 a.m.