numextract: numextract

Description Usage Arguments Examples

View source: R/mainFun.R

Description

Function to extract constant term from the equation string for further manipulations

Usage

1
numextract(string, ret = "s")

Arguments

string

equation

ret

whether returned value is going to be string ("s", default) or numeric ("n")

Examples

1
2
numextract("E = 0.4254*R + 1.0341", "n")
1.0341

tgmwri/evapR documentation built on April 30, 2021, 10:23 p.m.