Hello! Please, anybody help me. Can I calculate area of density was created by: > D <- density(x) In other words I want to know area under curve 'plot(D)' and It's good to calculate area before and after 0 separately.
-- View this message in context: http://www.nabble.com/Area-of-density-tp19338958p19338958.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.