R: Plot fitted Poisson mixture model and data

plotBouts,nls,data.frame-method {diveMove} | R Documentation

## Plot fitted Poisson mixture model and data

### Description

Plot fitted Poisson mixture model and data

### Usage

    ## S4 method for signature 'nls,data.frame'
    plotBouts(fit, obj, bec.lty = 2, ...)

    ## S4 method for signature 'nls,Bouts'
    plotBouts(fit, obj, bec.lty = 2, ...)

    ## S4 method for signature 'mle,numeric'
    plotBouts(fit, obj, xlab = "x", ylab = "Log Frequency", bec.lty = 2, ...)

    ## S4 method for signature 'mle,Bouts'
    plotBouts(fit, obj, xlab = "x", ylab = "Log Frequency", bec.lty = 2, ...)

### Arguments

`fit` | Object of class `nls` or `mle`.
`obj` | Object of class `Bouts`, `data.frame` with columns named `lnfreq` and `x` (when `fit -> nls object`, or numeric vector (valid when `fit -> mle object`.
`bec.lty` | Line type specification for drawing the BEC reference line.
`...` | Arguments passed to `plot.default`.
`xlab, ylab` | Label for x and y axis, respectively.

### Methods (by class)

- `fit = nls,obj = data.frame`: Plot fitted `nls` model on `data.frame` object

- `fit = nls,obj = Bouts`: Plot fitted `nls` model on `Bouts` object

- `fit = mle,obj = numeric`: Plot fitted `mle` model on `numeric` object

- `fit = mle,obj = Bouts`: Plot fitted `mle` model on `Bouts` object

### Author(s)

Sebastian P. Luque spluque@gmail.com

### See Also

`boutfreqs`, `fitNLSbouts`, `fitMLEbouts`

[Package diveMove version 1.6.0 Index]