Learn R Programming

spatsurv (version 1.7)

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