profitParseLikefunc: Check various allowed names for likelihoods

Description Usage Arguments Details Value Author(s) Examples

View source: R/profitUtility.R

Description

A simple convenience function. Probably not useful to the user, but used by multiple functions so it should not be hidden.

Usage

1

Arguments

funcname

The allowed generic names for various functions. See Details.

Details

The Normal distribution can be called "norm" or "normal" The Chi-Squared distribution can be called "chisq" or "chi-sq" The Student-T distribution can be called "student-t", "t" or "student" The Poisson distribution can be called "pois", "poisson", "cash" or "c"

Value

If input is "norm" or "normal" returns "norm" If input is "chi-sq" or "chi-sq" returns "chisq" If input is "student-t", "t" or "student" returns "t" If input is "pois", "poisson", "cash" or "c" returns "pois"

Author(s)

Dan Taranu & Aaron Robotham

Examples

1
2
3
4

ProFit documentation built on Nov. 11, 2019, 5:07 p.m.