R/w.m.R

Defines functions w.m

Documented in w.m

#' w.m. function
#'
#' This internal function calculates weighted average.
#' @param x is a variable to be calculated; w is a weight.
#' w.m()
w.m <- function(x, w) sum(x*w)/sum(w)
HonghyokKim/CGPSspatialmatch documentation built on April 24, 2022, 9:10 p.m.