Consistent format for fitting models

add_prediction | Add predictions from a fitted model to a data set |

bin | Map points to quantiles |

deciles | Calculate deciles |

geom_bestfit | Plot best fit line |

geom_confint | Plot group confidence intervals |

geom_mean | Plot group means |

group_count | Count number of elements in each group. |

group_summarize | Summarize a data set by group or groups |

lm_basic | Fit a basic linear model |

mplot | A smarter map function |

percentiles | Calculate quartiles |

quartiles | Calculate quartiles |

reg_table | Compute regression table |

term_df_to_matrix | Convert a data frame of terms to a sparse matrix |

term_list_to_df | Convert a list of terms to a data frame |

ventiles | Calculate ventiles |

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.