[R] Omit Inf

William Dunlap
Thu, 15 Dec 2011 00:19:27 -0000

> 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.