coo_*

Modify coordinates

coo_align() coo_align_xax()

Align shapes

coo_baseline() coo_bookstein()

Baseline shapes

coo_center()

Center shapes

coo_close() coo_unclose() is_closed() is_unclosed()

Close and unclose shapes

new_coo_list() coo_list() vec_ptype_full.coo_list() vec_ptype_abbr.coo_list() is_coo_list() is_coo_list1()

Create list of coo_single

coo_reflect_x() coo_reflect_y()

Reflect shapes

coo_rev()

Reverse coordinates

coo_rotate()

Rotate shapes

coo_rotatecenter()

Rotate shapes and specify center

coo_sample() coo_sample_prop() coo_interpolate()

Sample shapes

coo_sample_rr()

Sample shapes using the regular radius method

coo_scale() coo_scale_x() coo_scale_y()

Scale shapes

coo_shear()

Shear shapes

new_coo_single() validate_coo_single() coo_single() is_coo_single() is_coo_single1()

Create single shape made of coordinates

coo_slide()

Slide coordinates

coo_smooth()

Smooth shapes

coo_smooth_curve()

Smooth shapes but preserve tips

coo_split()

Split shapes on speficied coordinates

coo_template()

Templates shapes

coo_trans()

Translate shapes

coo_trim() coo_trim_head() coo_trim_tail()

Trim coordinates from shape

coo_up() coo_down() coo_left() coo_right()

Retains coordinates based on their x/y sign

col_present() coo_present() coe_present() coo_nb() coe_nb() coo_only() coe_only() coo_drop() coe_drop() coo_select() coe_select() coo_names() coe_names()

List columns verbs

get_*

Describe coordinates

get_centpos()

Calculate centroid position

get_centsize() get_centsize_norm()

Calculate centroid size

get_ldk()

Extract landmark coordinates

get_lw() get_length() get_width()

Calculate length and width of a shape

get_nb()

Calculate the number of coordinates per shape

get_perim_along() get_perim() get_perim_cumsum()

Calculate perimeter and variations

get_range() get_range() get_diffrange()

Get shape range

Morphometrics

Functions that turn coordinates into coefficients

efourier() efourier_i() efourier_norm()

Elliptical Fourier transforms

npoly() npoly_i()

Natural polynomials

Momocs verbs

Ease handling of Momocs2 objects

pick()

Pick a single coo_df from a mom_tbl

slive()

Pick a single row from a tbl

unfold()

Unfold list columns

press()

Flatten coe list columns

coo/e lists verbs

Ease manipulation of list columns

col_present() coo_present() coe_present() coo_nb() coe_nb() coo_only() coe_only() coo_drop() coe_drop() coo_select() coe_select() coo_names() coe_names()

List columns verbs

Graphics

Prepare and build ggplot2 graphics

gg0() gg()

Universal graphics functions

draw()

Add shapes on top of another plot

inspect()

Graphical inspection of shapes

mosaic()

Plot all shapes as a mosaic

pile0() pile()

Plot all shapes on the same graph

Classes

Classes constructors, validators

new_mom() mom() is_mom_tbl() is_mom_tbl1()

Declare MomX tibble

new_coo_single() validate_coo_single() coo_single() is_coo_single() is_coo_single1()

Create single shape made of coordinates

new_coo_list() coo_list() vec_ptype_full.coo_list() vec_ptype_abbr.coo_list() is_coo_list() is_coo_list1()

Create list of coo_single

new_coe_single() coe_single() is_coe_single() is_coe_single1()

Create single coefficients

new_coe_list() coe_list() vec_ptype_full.coe_list() vec_ptype_abbr.coe_list() is_coe_list() is_coe_list1()

Create list of coe_single

Lower level helpers

Helpers to convert from/to different formats

complex_2_cartesian() cartesian_2_complex() degrees_to_radians() radians_to_degrees()

Convert between numeric and classes systems

ed() edi() ed_pw() ed_nearest() ed_furthest() ed_calliper() ed_minrad()

Euclidean distance helpers

geometry_intersection_two_segments() geometry_diff_two_vectors() geometry_diff_two_segments()

Geometry helpers ------

tidyeval_coo_modifyers() tidyeval_coo_and_ldk()

Tidyeval helpers

Datasets

To play with

bot

Some bottles

Momocs2-package

Momocs2: Modern Morphometrics and Shape Manipulation

hearts

Outlines of hearts

olea

Outlines of olea stones