.useElasticNet: .useElasticNet
Description
Internal function checking if elastic net is used
Usage
.useElasticNet(mixedPenalty)
Value
TRUE if elastic net, FALSE otherwise
Arguments
- mixedPenalty
object of class mixedPenalty. This object can be created
with the mixedPenalty function. Penalties can be added with the addCappedL1,
addLasso, addLsp, addMcp, and addScad functions.