# read example data set
data(ExampleData.DeValues)
# native function call
plot_KDE(ExampleData.DeValues)
# function call with some user-defined modifications
plot_KDE(ExampleData.DeValues,
main = "Plot of Dose distribution data",
col = c("red", "black", "grey", "cyan"),
xlab = "Equivalent dose [Gy]",
ylabs = c("KDE estimate", "cumulative De values"),
distribution.parameters = c("qr", "median"),
xlim = c(2000, 5000),
ylims = c(0, 0.005, -5, 50),
summary = c("n", "median", "serel", "seabs"),
cex = 0.8)
# function call with complete numerical statistical description output
plot_KDE(ExampleData.DeValues,
distribution.parameters = c("qr", "kdemax"),
summary = c("n", "mean", "median", "kdemax", "serel", "sdrel", "sdabs", "seabs"))
Run the code above in your browser using DataLab