tropical.Gaussian {TML}R Documentation

Tropical Gaussian sampling about a center of mass

Description

This function is a Gaussian-like HAR sampler about a center of mass denoted by a location parameter with scale parameter in terms of the tropical distance

Usage

tropical.gaussian(D_s, x0, I = 1, M, S)

Arguments

D_s

matrix of vertices of a tropical simplex; each row is a vertex

x0

initial point for sampler, numeric vector

I

number of states in Markov chain

M

location parameter; numeric vector indicating centroid

S

scale parameter; in terms of tropical distance

Value

next sampled point from the tropical polytope

Author(s)

David Barnhill david.barnhill@nps.edu

Examples

D_s <-matrix(c(0,0,0,0,10,0,0,0,10),3,3,TRUE)
x0 <- c(0,0,0)
M <- c(0,5,5)
S <- 2
tropical.gaussian(D_s, x0, I = 50,M,S)

[Package TML version 1.2.0 Index]