getAvailableSources: getAvailableSources()

Description Usage Value See Also Examples

View source: R/public-lib.R

Description

Gets the list of names of available sources in database to be used later as references to the package.

Usage

1

Value

sources string vector, which can be obtained from getAvailableSources()

See Also

getAvailablePolyhedra, getPolyhedron

Examples

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

#returns all polyhedra from all sources
available.polyhedra <- getAvailablePolyhedra(sources=available.sources)

#search within the polyhedron names from all sources
cubes <- getAvailablePolyhedra(sources=available.sources,
        search.string="cube")

Rpolyhedra documentation built on Jan. 4, 2019, 5:03 p.m.