Posts Tagged ‘ range ’

no “Infinities”

March 12, 2009
By
no “Infinities”

Thanks to  Pierre-Yves for the below useful tip!if you have a dataset from which you want the max or min but they have to be real number and not "Inf" or "-Inf" there is a way to do it:data <- c(-Inf, 1,2,3,4,5,6,7,8,9,10, Inf)max(data)# Return...

Read more »