getAvailablePolyhedra: Get available polyhedra

Description Usage Arguments Value See Also Examples

View source: R/public-lib.R

Description

Gets the list of names of available polyhedra and its status in the polyhedra database, which can be later called with getPolyhedron

Usage

1
getAvailablePolyhedra(sources, search.string)

Arguments

sources

A string vector containing the source, which can be obtained from getAvailableSources().

search.string

A search string

Value

polyhedra names vector

See Also

getAvailableSources

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#gets all polyhedra in the database
available.polyhedra <- getAvailablePolyhedra()

#returns all polyhedra from a given source, in this case, netlib
available.netlib.polyhedra <- getAvailablePolyhedra(sources="netlib")

#search within the polyhedron names

cube <- getAvailablePolyhedra(sources="netlib",search.string="cube")
cube

Rpolyhedra documentation built on Feb. 21, 2019, 4:33 p.m.