Learn R Programming

GLDEX (version 2.0.0.9.3)

fun.check.gld: Check whether the RS or FMKL/FKML GLD is a valid GLD for single values of L1, L2, L3 and L4

Description

This function will return a single logical value showing whether a combination of L1, L2, L3 and L4 is a valid GLD.

Usage

fun.check.gld(lambda1, lambda2, lambda3, lambda4, param)

Value

A single logical value indicating whether the specified GLD is a valid probability density function

Arguments

lambda1

A numerical vector for L1 of GLD

lambda2

A numerical vector for L2 of GLD

lambda3

A numerical vector for L3 of GLD

lambda4

A numerical vector for L4 of GLD

param

Can be "rs", "fmkl", or "fkml"

Author

Steve Su

See Also

fun.check.gld.multi

Examples

Run this code

fun.check.gld(1,4,3,2,"rs")

fun.check.gld(1,4,3,2,"fkml")

fun.check.gld(1,4,3,-2,"rs")

Run the code above in your browser using DataLab