epiphy (version 0.3.4)

smle_wrappers: Wrappers using maximum likelihood estimation for some distributions

Description

These functions are the core of the fitting processes performed in fit_two_distr.

Usage

smle_pois(data)

smle_nbinom(data)

smle_binom(data)

smle_betabinom(data)

Arguments

data

The data set to work with. It can be a vector (if there is only one variable), a data frame (if there is one or more variables) or an intensity object.

Examples

Run this code
# NOT RUN {
set.seed(12345)
data <- rpois(100, lambda = 5)
res <- smle_pois(data)
res
summary(res)

data <- count(aphids)
res <- smle_pois(data)
res
summary(res)

# }

Run the code above in your browser using DataLab