simulate_labels: Simulate labels

Description Usage Arguments Value Author(s) Examples

Description

Simulate labels

Usage

1
simulate_labels(values, sizes, nobs)

Arguments

values

Vector of labels for groups

sizes

Vector of group sizes

nobs

Vector of number of observed labels per group

Value

List of Y, Yobs and indices for labeled instances

Author(s)

Fabian Schmich

Examples

1
2
3
labels <- simulate_labels(values = c("Positive", "Negative"), 
sizes = c(10, 10), 
nobs = c(5, 5))

cbg-ethz/netprioR documentation built on May 13, 2019, 2:02 p.m.