dpareto {vulcan} | R Documentation |
Gives NA on values below the threshold
dpareto(x, threshold = 1, exponent, log = FALSE)
x |
Data vector of log probability densities |
threshold |
numeric value to define the start of the tail |
exponent |
the exponent obtained from the pareto.fit function |
log |
logical, should the values be log-transformed? |
Vector of (log) probability densities
set.seed(1) x<-abs(rnorm(1000)) n<-length(x) exponent<-1+n/sum(log(x)) dp<-dpareto(x,exponent=exponent) plot(dp)