[R] Omit Inf

William Dunlap wdunlap at tibco.com
Thu Dec 15 01:19:27 CET 2011


> range(a, finite=TRUE)[2]  # [1] for the min
[1] 2

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com 

> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Trying To learn
> again
> Sent: Wednesday, December 14, 2011 3:55 PM
> To: r-help at r-project.org
> Subject: [R] Omit Inf
> 
> Hi all
> 
> > a<-c(2,Inf)
> > max(a)
> [1] Inf
> >
> 
> How can I say...omit Inf?
> 
> I cannot find anything...
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list