likelihood: Likelihood Function Maker

Description Usage Arguments Details Value Examples

View source: R/likelihood.R

Description

Function that creates a log likelihood function given a density function density.

Usage

1

Arguments

density

density function used

...

other options

Details

The log likelihood is the log of a function of parameters given the data.

Value

A function that is the log likelihood function from density function density.

Examples

1
likelihood(dnorm, x = rnorm(100))

BenBarnard/likelihoodExplore documentation built on Dec. 4, 2019, 4:38 p.m.