plot_hw_fits_2: Plot height-width model 2

Description Usage Arguments Details Examples

Description

For making movies of the fitted models with increasing channel exposure

Usage

1
plot_hw_fits_2(WSEw, z0, r, type, errorflag = TRUE, exp_dir, k, ...)

Arguments

WSEw

h-w data

z0

z0 predictions, must correpond to the type of model

r

reach number

type

type of model. Can be "l", "sb", "nl", or "nlsb"

k

exposure level index

...

additional arguments to plot()

Details

Requires that models have already been fitted and saved as .rds files, and that predicted hydraulic parameters (specifically z0) have already been computed. Must run from the SWOTBATH/home directory. Currently there is no option for no measurement error. Currently only has methods for linear model.

Examples

1
plot_hw_fits_2(rWSEw, z0.l, r = 1, type = "l", ylim=c(138,143), exp_dir = exp_dir, k = 8)

jschap1/WSEw documentation built on May 12, 2019, 10:50 a.m.