interpolateSummarizeCoefs: Interpolate a solution path using approxFun and reduce the...

View source: R/ProcessNeighborhoods.R

interpolateSummarizeCoefsR Documentation

Interpolate a solution path using approxFun and reduce the coefficient vector in a block to a scalar

Description

Interpolate a solution path using approxFun and reduce the coefficient vector in a block to a scalar

Usage

interpolateSummarizeCoefs(sol, approxFun, summaryFun, self_edges)

Arguments

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.

Value

data.table with columns 'y' giving normed, interpolated values, 'x' giving lamba values and 'block' giving the node in question


amcdavid/HurdleNormal documentation built on May 14, 2022, 11:12 p.m.