fillin: fillin

Description Usage Arguments Value Author(s)

Description

Use linear interpolation to complete the data frame of optimal alpha values in a given column. For the linear interpolation, we use the approx function, with x-value lambda and y-value from col.

Usage

1
fillin(alpha, col)

Arguments

alpha

data frame containing columns lambda and col

col

Column to complete

Value

Same as original alpha, but with NAs in column col replaced by their linear interpolation.

Author(s)

Toby Dylan Hocking



Search within the clusterpathRcpp package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.