library(Renext)
shape <- 5; delta <- 10
xl <- qspareto(c(0.00, 0.99), delta = delta, shape = shape)
x <- seq(from = xl[1], to = xl[2], length.out = 200)
f <- dspareto(x, delta = delta, shape = shape)
plot(x, f, type = "l", main ="Shifted Pareto distribution density")
F <- pspareto(x, delta = delta, shape = shape)
plot(x, F, type ="l", main ="Shifted Pareto distribution function")Run the code above in your browser using DataLab