GenPNSample: Generate P/N sample

Description Usage Arguments

View source: R/GenPNSample.R

Description

Generate P/N sample

Usage

1
GenPNSample(X, y, np, nn, replace = FALSE)

Arguments

X

Population Covariates

y

Population response

np

number of positive subjects

nn

number of negative subjects

replace

if TRUE, sample with replacement


hsong1/PUlearning documentation built on May 16, 2017, 11:27 p.m.