Learn R Programming

jointseg (version 1.0.2)

defaultWeights: Compute default weights for the weighted group fused Lasso

Description

Compute default weights for the weighted group fused Lasso

Usage

defaultWeights(n)

Arguments

n

Number of observations

Value

Vector of default weights in the reference article.

References

Bleakley, K., & Vert, J. P. (2011). The group fused lasso for multiple change-point detection. arXiv preprint arXiv:1106.4199.

Examples

Run this code
# NOT RUN {
defaultWeights(10)

# }

Run the code above in your browser using DataLab