Target Distributions based on shapes

combine_polygons | Combine polygons |

compute_ABC | Pre compute quantities |

create_svg_letter | Create SVG file with one letter |

create_target_from_shape | Create target density based on a shape |

create_target_from_word | Create target density based on a word |

dist_points_to_poly | Compute distance between multiple points and a polygon |

extract_paths_from_letter | Extract list of polygons from a letter |

extract_paths_from_svg | Extract list of polygons from a SVG file |

extract_paths_from_word | Extract list of polygons from a words |

find_inner_polygons | Find which polygons are within another |

get_box_polygon | Get bounding box around polygons |

log_shape_density | Log target density function from shape |

log_word_density | Log target density function from word |

plot_paths | Plot paths |

RShapeTarget-package | Shape Target Distributions |

shape_from_polygons | Convert polygons to shape |

shift_polygon_x | Shift a polygon horizontally |

shift_polygon_y | Shift a polygon vertically |

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.