R/norm.R

Defines functions norm

Documented in norm

norm = function(x,p=2) {
  return(dist(rbind(x,double(length(x))),method="minkowski",p=p))
}

Try the GOSim package in your browser

Any scripts or data that you put into this service are public.

GOSim documentation built on Nov. 8, 2020, 11:05 p.m.