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

Description Usage Arguments Details Value Author(s) Examples

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

Description

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

Usage

1
2
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

1
2
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 May 29, 2017, 3:42 p.m.

Search within the GLDEX package
Search all R packages, documentation and source code