View source: R/ProcessNeighborhoods.R
interpolateSummarizeCoefs | R Documentation |
Interpolate a solution path using approxFun and reduce the coefficient vector in a block to a scalar
interpolateSummarizeCoefs(sol, approxFun, summaryFun, self_edges)
sol |
a SolPath solution |
approxFun |
a function interpolating or otherwise approximating the solution between nodes |
summaryFun |
function to reduce a vector-valued parameter set at each node to a scalar (representing an edge weight). Defaults to the "signed" L2 norm. |
self_edges |
should self edges (loops) be returned in the adjacency matrix; this allows inference of intercept quantities. |
data.table with columns 'y' giving normed, interpolated values, 'x' giving lamba values and 'block' giving the node in question
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.