Nothing
#' @title squared diameter using smoothing splines
#' @description Internal function not usually called by users
#' @param x relative height
#' @param x.grd relative heights for interpolation
#' @param y.grd diameter of taper curve at relative heights \code{x.grd} for
#' interpolation
#' @param ... not currently used
#'
#' @return squared estimated diameter based on smoothing splines
#' (\code{\link[stats]{smooth.spline}})
#' @author Edgar Kublin
#' @importFrom stats smooth.spline predict
y2x_ssp.f <-
function(x, x.grd, y.grd, ...){
ssp = smooth.spline(x.grd, y.grd)
return(predict(ssp, x)$y^2)
}
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.