[R] Remove cases with -Inf from a data frame

Michael Dewey ||@t@ @end|ng |rom dewey@myzen@co@uk
Sat Feb 16 17:13:37 CET 2019


Dear Abou

Depends on exact details of your variables but

?is.finite

Gives you the basic tool.

On 16/02/2019 15:05, AbouEl-Makarim Aboueissa wrote:
> Dear All: good morning
> 
> 
> I have a log-transformed data frame with some *-Inf* data values.
> 
> *my question: *how to remove all rows with *-Inf* data value from that data
> frame?
> 
> 
> with many thanks
> abou
> ______________________
> 
> 
> *AbouEl-Makarim Aboueissa, PhD*
> 
> *Professor, Statistics and Data Science*
> *Graduate Coordinator*
> 
> *Department of Mathematics and Statistics*
> *University of Southern Maine*
> 
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.
> 

-- 
Michael
http://www.dewey.myzen.co.uk/home.html



More information about the R-help mailing list