plot.bootstrapfit: Plot a bootstrap NLS fit

View source: R/bootstrap.nlsfit.R

plot.bootstrapfitR Documentation

Plot a bootstrap NLS fit

Description

Plot a bootstrap NLS fit

Usage

## S3 method for class 'bootstrapfit'
plot(x, ..., col.line = "black", col.band = "gray",
  opacity.band = 0.65, lty = c(1), lwd = c(1), supports = 1000,
  plot.range, error = x$error.function, ribbon.on.top = TRUE,
  rep = FALSE)

Arguments

x

object returned by bootstrap.nlsfit

...

Additional parameters passed to the plotwitherror function.

col.line

line colour.

col.band

error band colour.

opacity.band

error band opacity.

lty

line type of fitted curve.

lwd

line width for fitted curve.

supports

number of supporting points for plotting the function.

plot.range

vector with two elements c(min,max) defining the range in which fitline and errorband are plotted. Default is the range of the data.

error

Function to compute the standard error in resampling schemes. Default is sd for bootstrap. For other resampling schemes this might need to be changed.

ribbon.on.top

Logical, controls whether the ribbon should be in front of the data points. This is recommended when there are very many data points and a highly constrained model.

rep

If set to TRUE, operate like "replot" in gnuplot. Allows plotting the fit result on top of existing plot.

Value

No return value.

See Also

Other NLS fit functions: bootstrap.nlsfit(), parametric.bootstrap.cov(), parametric.bootstrap(), parametric.nlsfit.cov(), parametric.nlsfit(), predict.bootstrapfit(), print.bootstrapfit(), simple.nlsfit(), summary.bootstrapfit()


hadron documentation built on Sept. 9, 2022, 5:06 p.m.