# NOT RUN {
# }
# NOT RUN {
set.seed(34);x=matrix(sample(1:600)[1:50],ncol=2)
require(np); options(np.messages=FALSE)
k1=kern(x[,1],x[,2])
print(k1$R2) #prints the R square of the kernel regression
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab