multipdf_cont | R Documentation |
This function gets the proportional density functions for selected distributions against continuous, non-negative numbers. Possible distributions include "normal", "lognormal", "gamma", "exponential", and "all".
multipdf_cont(var, seq_length = 50, distributions = "all")
var |
The variable of which to get the PDF. |
seq_length |
The length of sequence to fit the distribution to |
distributions |
The distributions to fit x against |
A dataframe with x, the real density, and the pdf of the desired distributions with length (nrows) equal to seq_length +1.
multipdf_cont(iris$Petal.Length)
multipdf_cont(iris$Sepal.Length, 100, c("normal", "lognormal"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.