color_scores: Compute color scores

Description Usage Examples

View source: R/coloration_score.R

Description

Compute color scores

Usage

1
2
color_scores(d, rgb = c("R", "G", "B"), id = "id", sex = "sex",
  maleLevel, group = mean, prob = 0.01, ...)

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
/donotrun{

f = generateBirds(n = 100) 
cz_file = tempfile(fileext = '.sqlite')
CZopen(path = cz_file)
CZaddFiles(f)
CZextractALL()
d = CZdata(what = 'ALL')
d[, sex := stringr::str_split(path, '_', simplify = TRUE)[2], by = 1:nrow(d)]

x =color_scores(d, maleLevel = 'm.png', prob = 0.05)
}

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