simulate_labels(values, sizes, nobs)
Vector of labels for groups
Vector of group sizes
Vector of number of observed labels per group
List of Y, Yobs and indices for labeled instances
labels <- simulate_labels(values = c("Positive", "Negative"),
sizes = c(10, 10),
nobs = c(5, 5))
Questions? Problems? Suggestions? Tweet to @rdrrHQian@mutexlabs.com.
Please suggest features or report bugs with the GitHub issue tracker.
All documentation is copyright its authors; we didn't write any of that.