Learn R Programming

BBEST (version 0.1-8)

mPlot.results: Plot the background estimate

Description

Plots the estimated background and the corrected function.

Usage

mPlot.results(fit.results, label.x = "x", label.y = "y",
              xlim=NA, ylim=NA)

Arguments

fit.results

the return value of do.fit.

label.x, label.y

characters, titles for x and y axes.

xlim, ylim

numeric vectors with two entries. If not NA, specify x- and y-axis limits.

Details

The function uses ggplot2 and gridExtra packages for plotting. Packages can be installed by typing install.packges("ggplot2") and install.packges("gridExtra").

See Also

do.fit