Package to reproduce Hollister et al. (2015) Modeling Lake Trophic State: A Randrom Forest Approach.

class_prob_rf | Get Class Prediction Probabilities |

condAccuracy | Plot conditional accuracy |

crossval_rf | Cross Validate Random Forests to get Categorical Accuracy |

density_plot | density plot for lake trophic modeling paper |

ecdf_ks_ci | Kolmogrov-Smirnoff CIs for a ecdf |

ecor_map | Create map of Ecoregions |

getCyanoAbund | Pulls down cyano abundance from NLA website |

getLakeIDs | getLakeIDs |

importancePlot | Random Forest Variable Importance Plotting |

iterVarSelRF | iterVarSelRF |

ltm | ltm. |

make_ts_map | helper function to generate each map |

multiplot | Create Mulitple Plots with ggplots (from Winston Chang) |

nlaMap | Create map of NLA samples |

partial_plot | Create parital dependence plot |

plotCdf | plotCDF Function to create CDFs of chla, ts, and cyano |

pred_prob_map | Create map of discrete predicted probabilities |

prob_cdf | Function to create CDFs of probability for each trophic state... |

runRandomForest | runRandomForest |

scatterPlot | Scatterplot for hkm2014esa poster |

sumTable | sumTable |

table_to_df | convert table to df |

ts_prob_map | Create map of trophic state probabilities |

varImportance | Variable Importance Summary |

varsel_plot | Plot varsel_regression output |

varsel_regression_rf | Variable Selection with Regression RF |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.