Internal function to check a mixedPenalty object
Usage
.checkPenalties(mixedPenalty)
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.