count_category_responses: Count Category Responses By Image

Description Usage Arguments Value Examples

View source: R/count_category_responses.R

Description

count_category_responses uses a combination of long and wide pivots to provide counted category responses for a given image block.

Usage

1
count_category_responses(block, category_ids)

Arguments

block

A dataframe from loading a clean set of responses to images, or passed in from a parent function.

category_ids

A list of the identiers used for categorization in the given task.

Value

A dataframe with the block's images and corresponding category counts.

Examples

1
count_category_responses(block, c("1", "2", "3", "4", "5"))

sokolhessnerlab/shlab.imgct documentation built on Oct. 4, 2020, 7:31 a.m.