DiscreteSamples {RZigZag}R Documentation

DiscreteSamples

Description

Extract discrete samples from a skeleton

Usage

DiscreteSamples(skeletonList, n_samples, coordinate = -1L)

Arguments

skeletonList

a piecewise deterministic skeleton (consisting of Times, Points and Velocities) returned by a sampler

n_samples

number of samples to obtain

coordinate

if specified, only obtain samples of the specified coordinate, otherwise obtain samples of all coordinates

Value

Returns a list containing the extracted samples and the times (on the continuous time scale) at which the samples are extracted


[Package RZigZag version 0.2.1 Index]