estimate_locfre: Local linear Frechet regression on the sphere with cross...

View source: R/locfre.R

estimate_locfreR Documentation

Local linear Frechet regression on the sphere with cross validation.

Description

Uses leave one out cross validation to find a suitable bandwidth

Usage

estimate_locfre(
  x,
  y,
  x_new,
  adapt = c("loocv", "none"),
  bw = 7,
  kernel = "epanechnikov",
  grid_size = 2
)

Arguments

bw

the bandwidth $h$ or number of bandwidths to check (for adapt="loocv")


chroetz/spheregr documentation built on April 10, 2022, 12:03 a.m.