logit <- log(Al2O3/(100-Al2O3))
nn <- nnbr(logit, 7)
hw <- nn/exp(mean(log(nn)))
sm.density(logit, h.weights = hw, lty = 2, yht = 12.2)
hw <- sqrt(nn)
hw <- hw/exp(mean(log(hw)))
sm.density(logit, h.weights = hw, lty = 3, add = TRUE)
sm.density(logit, add = TRUE)
Any scripts or data that you put into this service are public.
Add the following code to your website.
Copy to clipboard
For more information on customizing the embed code, read Embedding Snippets.