lasReassignClass.LAS <-
function(las, clss){
classification <- las@data$Classification
classification[classification==clss[1]] <- clss[2]
las@data$Classification <- classification
return(las)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.