runNegbin: Fit the four cases for negative binomial distribution of the...

Description Usage Arguments Value

Description

Four hypotheses tested : no difference between subspecies, no hybrid effect; no difference between subspecies, flexible hybrid effect difference between subspecies, no hybrid effect difference between subspecies, flexible hybrid effect

Usage

1
runNegbin(data, response, hybridIndex, paramBounds, config)

Arguments

data

A data frame

response

A character string. Response (e.g. "worm_count")

hybridIndex

A vector of points representing the index used as x axis

paramBounds

A vector of parameters (upper, lower, start) for the optimisation

config

A list containing an optimizer (default: "optimx"), a method (default "bobyqa", "L-BFGS-B") and a control (default list(follow.on = TRUE))

Value

A fit for negative binomial distributed data for all four cases


alicebalard/Parasite_Load documentation built on May 20, 2021, 7:37 p.m.