Learn R Programming

beast (version 1.2)

simulateFromPrior: Generate change-points according to the prior

Description

Generate change-points according to the prior distribution conditionally on a given number of change-points.

Usage

simulateFromPrior(nTime, startPoint, L = 3)

Value

cutPoints

Change-point locations

Arguments

nTime

Number of time-points

startPoint

At least equal to 2.

L

null

Author

Panagiotis Papastamoulis