Learn R Programming

spatsurv (version 2.0)

midpts: midpts function

Description

A function to compute the midpoints of a vector

Usage

midpts(x)

Value

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

Arguments

x

a vector