AllSame: Are all vector entries the same/identical.

Description Usage Arguments Value Examples

View source: R/utilities.R

Description

AllSame check if all vector entries are same/identical.

Usage

1
AllSame(x, na.rm = FALSE)

Arguments

x

A vector.

na.rm

Logical Remove NAs from output?

Value

Logical

Examples

1
2
AllSame( 1:5 )
AllSame( 0*(1:5) )

mccreigh/rwrfhydro documentation built on May 12, 2018, 3:08 a.m.