dataclone: Clone a dataframe

Description Usage Arguments Details Value Author(s)

View source: R/dataclone.R

Description

Clone a dataframe

Usage

1
dataclone(dat, K)

Arguments

dat

A data.frame of the data

K

A numeric Giving the the number of clones to create.

Details

Data cloning can be used to obtain maximum likelihood estimates for parameters using Bayesian MCMC algorithms. It may be useful for instance when estimating posterior shrinkage with postshrink from the prior. It is recommended that multiple values of K are run to find a large enough value that gives stable esimates.

See: Lele SR, Dennis B, Lutscher F. Data cloning: easy maximum likelihood estimation for complex ecological models using Bayesian Markov chain Monte Carlo methods. Ecology letters. 2007 Jul 1;10(7):551-63.

Value

A cloned data.frame

Author(s)

Christopher J. Brown christo.j.brown@gmail.com


cbrown5/BayeSens documentation built on April 26, 2020, 12:40 a.m.