Learn R Programming

MaskJointDensity (version 1.0)

P_Rmask: Legendre polynomial

Description

An R code for a Legendre polynormal of degree k in x

Usage

P_Rmask(x, k)

Arguments

x

variable in the polynomial

k

the order in the polynormal

Value

real number

Details

no details needed

References

Equation (2) in Provost paper

Examples

Run this code
# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

## The function is currently defined as

x<-5
k<-4
print(P_Rmask(x,k))

# }

Run the code above in your browser using DataLab