# NOT RUN {
#create a toy dataset
mydata <- rnorm(100, 30, 10)
# performs the analysis, using 6 as number of desired classes,
# and store the results in the 'res' object
res <- plotJenks(mydata, n=6)
# }
Run the code above in your browser using DataCamp Workspace