start_point: start point

Description Usage Arguments Value Examples

Description

Given Ax ≤ b, which defines a convex polytope, this function picks n random starting "center" points using linear programming.

Usage

1
start_point(A, b, n = 1, average = 10)

Arguments

A

is the lhs of Ax ≤ b

b

is the rhs of Ax ≤ b

n

is the number of points we want to return

average

is the number of boundary points we want to take the average of

Value

a matrix, with each column as a point

Examples

1
2
3
4
5
6
## Not run: 
## note that this Ax <= b is different from Ax=b that the 
## user specifies for walkr (see transformation section in vignette) 
start_point(A = A, b = b, n = 1, average = 10) 

## End(Not run)

andyyao95/walkr documentation built on June 4, 2019, 7:18 a.m.