readDepends: read multiple dependency datasets into environment

Description Usage Arguments Value See Also Examples

View source: R/readDepends.R

Description

This function should be called from the generic, readDepends(). Reads all dependency data from files into R format.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
readDepends(viz)

## S3 method for class 'character'
readDepends(viz)

## S3 method for class 'list'
readDepends(viz)

## S3 method for class 'viz'
readDepends(viz)

Arguments

viz

vizlab object, list, or vizlab identifier

Value

a list of data objects that are named according to depends

See Also

readData

Examples

1
2
3
4
5
6
wd <- getwd()
setwd(system.file(package = 'vizlab','testviz'))
#Read dependencies from list or viz object:
viz.data <- readDepends(list(depends = 'mayfly_nymph'))
viz.data[["mayfly_nymph"]]
setwd(wd)

USGS-VIZLAB/vizlab documentation built on Nov. 20, 2017, 7:36 p.m.