mm2m3s: Convert mm to m^3/s

View source: R/functions.r

mm2m3sR Documentation

Convert mm to m^3/s

Description

Convert mm to m^3/s

Usage

mm2m3s(input, area, dt)

Arguments

input

numeric. May be a vector, matrix, timeseries, etc

area

numeric. Area in m^2

dt

numeric. time step

Value

numeric of the same type as input

Author(s)

Simon Frey

Examples

data("runoff")
mm2m3s(input = as.numeric(input[,1]), area = 20000000, dt = 3600)
mm2m3s(input = runoff, area = c(rep(20000000,3),rep(50000000,3)), dt = 3600)

freysimon/TigeR documentation built on April 18, 2024, 4:57 p.m.