Learn R Programming

LAGOSNE (version 1.1.0)

lake_info: Lake attribute information

Description

Return lake attribute information from its name and state.

Usage

lake_info(dt, name, state)

Arguments

dt

list of data.frames. output of lagosne_load.

name

character lake name not caps sensitive

state

character state name not caps sensitive

Examples

Run this code
# NOT RUN {
dt <- lagos_load("1.087.1")
lake_info(dt, "Sunapee Lake", "New Hampshire")

  name = c("Oneida Lake", "Sunapee Lake", "Lake Mendota"),
  state = c("New York", "New Hampshire", "Wisconsin"))

  apply(focal_lakes, 1, function(x) lake_info(
    dt = dt, name = x[1], state = x[2]))
# }

Run the code above in your browser using DataLab