groupByName: Allocate images to groups based on filenames and regex...

Description Usage Arguments Value Examples

Description

Allocate images to groups based on filenames and regex patterns

Usage

1

Arguments

img.list

A list of filenames

names

A list of the groups to be allocated

patterns

A list of regex patterns to match for group allocation

Value

A list of group names for each filename in img.list

Examples

1
2
3
faces$info$group <- groupByName(faces$info$filename,
                                names=c("male","female"),
                                patterns=c("^male/*","^female/*"))

debruine/frlgmm documentation built on May 15, 2019, 1:55 a.m.