Description Usage Arguments Value Examples
View source: R/supplement.funct.R
Computes the density along the level curve estimated by JT-KDE or Cond-Ex models. It is based on a kernel density estimation of simulated points for Cond-Ex and extrapolation of the kernel density estimation of the base curve for the joint tail model
1 | densi.curv.em(kdetab, lines, tl, lines2)
|
kdetab |
a table of dimentsion k*k representing the bivariate density of the data estimated with a kernel density estimator |
lines |
location of the objective level curve for which the deesnity needs to be estimated in the 2D space |
tl |
indicator which model's density have been estimated in the kdetab, ' |
lines2 |
location of the base level curve (only used when tl=l) |
density for each points (couple x,y) along the level curves
1 2 3 4 5 6 7 8 | ## Not run:
data(porto)
fire01meantemp=na.omit(fire01meantemp)
u=fire01meantemp
jt.dens<-kde(u,gridsize = 200)
ltl<-densi.curv.em(kdetab=jt.dens,lines2=ltlo, tl="l", lines=ltl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.