Learn R Programming

adoptr (version 0.1.1)

AverageN2-class: Regularization via L1 norm

Description

Implements the L1-norm of the design's stage-two sample size function. The average of the stage-two sample size without weighting with the data distribution is computed. This can be interpreted as integration over a unifrom prior on the continuation region.

Usage

AverageN2()

Arguments

Value

an object of class AverageN2

See Also

N1 for penalizing n1 values

Examples

Run this code
# NOT RUN {
avn2 <- AverageN2()

# }

Run the code above in your browser using DataLab