sample_data: get a sample of dataset with a specific proportion of...

sample_dataR Documentation

get a sample of dataset with a specific proportion of positive documents.

Description

get a sample of dataset with a specific proportion of positive documents.

Usage

sample_data(data, n = NULL, pos_prob)

activetext/activeR documentation built on May 31, 2024, 10:21 a.m.