Learn R Programming

hmi (version 0.9.13)

center.interval: Function to give the center of the interval

Description

Function to give the center of the interval object

Usage

center.interval(interval, inf2NA = FALSE)

Arguments

interval

an object from class interval

inf2NA

logical. If TRUE, entries containing -Inf or Inf, will return NA.

Value

A numeric vector