flip_phylopic {rphylopic}R Documentation

Flip a PhyloPic silhouette along its horizontal and/or vertical axis

Description

The picture can be a Picture or png array object, e.g., from using get_phylopic().

Usage

flip_phylopic(img, horizontal = TRUE, vertical = FALSE)

Arguments

img

A Picture or png array object, e.g., from using get_phylopic().

horizontal

logical. Should the silhouette be flipped horizontally?

vertical

logical. Should the silhouette be flipped vertically?

Value

A Picture or png array object (matching the type of img)

See Also

Other transformations: recolor_phylopic(), rotate_phylopic()


[Package rphylopic version 1.4.0 Index]