generateBirds: Title generate birds Title generate n species (both sexes)...

Description Usage Arguments Value Examples

View source: R/generate_birds.R

Description

Title generate birds Title generate n species (both sexes) with males (slightly) more colorful than females

Usage

1
generateBirds(n, dir = tempdir(), body_parts, res = 10)

Arguments

n

No of species

dir

Directory to save images

body_parts

one of: "crown", "forehead", "lore", "chin", "throat", "nape", "ear-coverts", "breast", "mantle", "scapulars", "coverts", "alula", "flight-feathers", "flank", "back", "rump", "belly", "vent", "tail". Default to all

res

Resolution, in dots per inch.

Value

dir

Examples

1
2
3
4
5
6
f = generateBirds(n = 10) 
cz_file = tempfile(fileext = '.sqlite')
CZopen(path = cz_file)
CZaddFiles(f)
CZextractALL()
d = CZdata(what = 'ALL')

mpio-be/colorZapper documentation built on Jan. 6, 2019, 4:03 a.m.