LinePickingSimDistances: Get simulated distances between two random points

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/LinePickingSimDistances.R

Description

Give the number of distances required

Usage

1
  LinePickingSimDistances(N, problem, parameters, seed)

Arguments

N

the number of distances to generate.

problem

see LinePickingPDF.

parameters

numeric vector of parameter describing problem.

seed

a seed for the random number generator

Details

and the shape (square, disk, ...) and parameters defining the shape, and a seed for the random number generator this function will return a list of distances.

Value

vector of N distances.

Note

September 9 2012

Author(s)

Eric Parsonage

Examples

1
t <- LinePickingSimDistances(10, 0 , list(1), 67)

mroughan/LinePicking documentation built on May 23, 2019, 7:48 a.m.