View source: R/densityQuantile.R

DensityQuantile | R Documentation |

`DensityQuantile`

calculate value of VOI at the quantile of density.
It is written for supplying value to be specified in the boxplot.
The boxplot can be combined with density plot.
The calculation following 3 steps:
Step1 find the density distribution.
Step2 find the value of the data point at 0 25 50 75 100 percentile of the distribution.
Step3 take the value back to the density plot.

```
DensityQuantile(data, dv, bandwidth = 1, geotype = "Urban")
```

`data` |
A dataset with var "psutype" and "psuname". |

`dv` |
Variable of interest to be calculated. |

`bandwidth` |
see density bw. |

`geotype` |
Use factor lable of "psutype" variable. |

A martix contrains value of VOI at the qualtile of density.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.