fun.minmax.check.gld: Check whether the specified GLDs cover the minimum and the...

View source: R/fun.minmax.check.gld.R

fun.minmax.check.gldR Documentation

Check whether the specified GLDs cover the minimum and the maximum values in a dataset

Description

This function checks the lowest and highest quantiles of the specified GLDs against the specified dataset

Usage

fun.minmax.check.gld(data, lambdas, param, lessequalmin = 1, 
greaterequalmax = 1)

Arguments

data

A vector of numerical dataset

lambdas

A matrix of four columns representing lambda 1 to lambda 4 of the GLD

param

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

lessequalmin

Can be 0 or 1

greaterequalmax

Can be 0 or 1

Details

lessequalmin==1 means the lowest value of GLD <= minimum value of data lessequalmin==0 means the lowest value of GLD < minimum value of data greaterequalmin==1 means the highest value of GLD >= maximum value of data greaterequalmin==0 means the highest value of GLD > maximum value of data

Value

A vector of logical values indicating whether the specified data the specified GLDs cover the minimum and the maximum values in a dataset

Author(s)

Steve Su

Examples

fun.minmax.check.gld(runif(100,.9,1),matrix(1:12,ncol=4),param="rs",0,0)
fun.minmax.check.gld(runif(100,.98,1),matrix(1:12,ncol=4),param="fkml",1,1)

GLDEX documentation built on Aug. 21, 2023, 9:08 a.m.