midpts: midpts function

View source: R/splineFunctions.R

midptsR Documentation

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


spatsurv documentation built on Oct. 19, 2023, 9:07 a.m.