library("MASS") # for Bostonh Housing data
library("np")
bw <- npudensbw(~medv+lstat, data=Boston,
bwmethod="normal-reference")
fhat <- npudens(bw)
plot(fhat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.