maxWeight: Finding the index of the maximum weight

Description Usage Arguments Value Examples

View source: R/maxWeight.R View source: R/umd.R

Description

A function to determine the index of the maximum weight

Usage

1
maxWeight(m, Fn, lower, upper)

Arguments

m

number of the weights

Fn

emiprical cdf

lower

the left boundary

upper

the right boundary

Value

the index of the maximum weight

Examples

1
2
3
4
5
6
7
8
## Not run: 
data(windspeed)
tdata<-windspeed$H10
Fn<-ecdf(tdata)
m<-7
maxWeight(m,Fn)

## End(Not run)

SC19030/SC19030 documentation built on Jan. 3, 2020, 12:09 a.m.