plot.drda {drda}R Documentation

Model fit plotting

Description

Plot maximum likelihood curves fitted with drda.

Usage

## S3 method for class 'drda'
plot(x, ...)

Arguments

x

drda object as returned by the link[drda]{drda} function.

...

other drda objects or parameters to be passed to the plotting functions. See 'Details'.

Details

This function provides a scatter plot of the observed data, overlaid with the maximum likelihood curve fit. If multiple fit objects are given, they will all be placed in the same plot.

Accepted plotting arguments are:

base

character string with the base used to print the values on the x axis. Accepted values are e for the natural logarithm (the default), 10 for base 10, and 2 for base 2.

col

curve color(s). By default, up to 9 color-blind friendly colors are provided.

xlab, ylab

axis labels.

xlim, ylim

the range of x and y values with sensible defaults.

level

level of confidence intervals. Set to zero or a negative value to disable confidence intervals.

legend

custom labels for the legend model names.

Value

No return value.


[Package drda version 1.0.0 Index]