R语言 range()函数

Description

range returns a vector containing the minimum and maximum of all the given arguments.

即返回一个向量,该向量包含给定参数的最大值和最小值。

Usage

用法:

range(..., na.rm = FALSE)

## Default S3 method:
range(..., na.rm = FALSE, finite = FALSE)

Arguments

参数

...

any numeric or character objects. 任意数值型或字符型对象

na.rm

logical, indicating if NA's should be omitted. NA值被丢弃

finite

logical, indicating if all non-finite elements should be omitted.把不是有限的元素丢弃

猜你喜欢

转载自www.cnblogs.com/erinaceinae/p/9462317.html