Description Usage Arguments Value
Function to compare how close two "param" beta's are
1 | similarity(beta0, beta)
|
beta0 |
a "param" beta to be compared with, including one lambda value |
beta |
a "param" beta that can have one or multiple lambda values |
a list containing: (1) the similarity between the two beta's, defined by the proportion of the correct boundaries; (2) sse, sum of squre error of all the differences on the boundary, with repect to beta0; (3) sim.vec, a vector indicating which boundaries are the same.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.