Learn R Programming

spatsurv (version 0.9-11)

midpts: midpts function

Description

A function to compute the midpoints of a vector

Usage

midpts(x)

Arguments

x
a vector

Value

  • the midpoints, a vector of length length(x)-1