Hi,

try with df[!is.infinite(your_column_in_d.f.),]

-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22"
O<http://maps.google.com/maps?f=q&hl=en&q=Curitiba,+Brazil&layer=&ie=UTF8&z=18&ll=-25.448315,-49.276916&spn=0.002054,0.005407&t=k&om=1>

On 13/06/07, Judith Flores <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
>     I have a csv file with empty values, when I apply
> the different functions (mean, std, etc.) I create a
> new data frame, the empty values generate Inf and -Inf
> values. How can I remove those Inf and -Inf values
> from the new data frame? I already specified na.rm in
> the mean and std functions, but the values are still
> there.
>
> Thank you,
>
> Judith
>
> ______________________________________________
> [email protected] 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.
>

        [[alternative HTML version deleted]]

______________________________________________
[email protected] 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.

Reply via email to