Personal library of useful functions

comp2_distinct | Compare 2-row grouped subsets of distinct dataframe |

comp_jk | Compare two rows and output as tibble |

f2dfs | Apply function to multiple dataframes |

ggplot_missing | Function to plot missing map |

ggraph_jk | Plot undirected graphs constructed from 2D data |

list_plotter | Plotting list of colors |

Lori-package | Lori: Personal library of useful functions |

lori_pal | Default Lori palettes |

persp_jk | Plot 3d surfaces, similar to matlab surf function |

pick_palette_jk | Pick color palette from a picture |

plot_colours | Plot a vector of hex colours. |

plot_svm_jk | Plot the decision boundary of SVM model with 2 features |

rpart2pseudo_code | Metaprogramming function to return java code from rpart... |

rpart2r | Metaprogramming function to return R code from rpart object |

rpart2r_vec | Metaprogramming function to return vectorized R code from... |

sort_colours | Function to sort colors |

split_by_ncol | Function to split a dataframe into a list |

svm_fillmap | Replace colors in SVM fill plot |

tree2color | Cut a "colored" tree |

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.