R:曲线下的导出区域

时间:2016-05-03 19:40:26

标签: r integration

设置

library("DiagTest3Grp", lib.loc="~/R/win-library/3.2")
data <- c(34,46,47,48,52,53,55,56,56,56,57,58,59,59,68)
bw <- BW.ref(data)
x0 <- seq(0, 100, .1) 
KS.cdfvec <- Vectorize(KernelSmoothing.cdf, vectorize.args = "c0")
x0.cdf <- KS.cdfvec(xx = data, c0 = x0, bw = bw)
plot(x0, x0.cdf, type = "l")

生成累积图。我想知道如何在给定任何x

的曲线下推导出面积

0 个答案:

没有答案