Learn R Programming

muStat (version 1.7.0)

RCRng: Data Extract

Description

Returns first and last emelments of a data object.

Usage

RCRng(n)

Arguments

n
data object

Value

An vector which contains first and last values of x.

Examples

Run this code
   matrixB <- matrix(100:1,ncol=100,nrow=100)
   RCRng(matrixB)
   # [1] 100   1

Run the code above in your browser using DataLab