burnin: Burnin period

Description Usage Arguments Value Author(s) Examples

View source: R/burnin.R

Description

This function discards the first log-likelihood values at each inverse temperature as burnin period.

Usage

1
burnin(x, percentage = NULL, nburnin = NULL)

Arguments

x

A data frame with the folloging columns: logL and invTemp, which contain the log-likelihood and inverse temperature values, respectively.

percentage

Percentage of log-likelihod values to discard at each temperature.

nburnin

Number of log-likelihod values to discard at each temperature.

Value

It produces a new x with a burnin period.

Author(s)

Patricio Maturana Russel [email protected]

Examples

1
2
data(ligoVirgoSim)
burnin(ligoVirgoSim, percentage=10); #discarding 10% of log-likelihood values at each temperature

pmat747/powModSel documentation built on Dec. 7, 2018, 8 a.m.