gravsub <- pull.markers(grav, sample(markernames(grav), 50, replace=FALSE)) gravsub <- est.rf(gravsub) theplot <- iplotRF(gravsub) htmlwidgets::saveWidget(theplot, file="iplotRF.html", selfcontained=FALSE)