midpts: midpts function

Description Usage Arguments Value

View source: R/splineFunctions.R

Description

A function to compute the midpoints of a vector

Usage

1
midpts(x)

Arguments

x

a vector

Value

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


spatsurv documentation built on May 22, 2018, 5:09 p.m.