Marta,
To remove a row from your data frame, use:

value <- 14478.4
time <- time[-time[$TimeDiff] == value,]

I hope that helps... If not, do push back. -- H


On 14 July 2014 09:17, Marta valdes lopez <martavaldes85@gmail.com> wrote:

> Hi!
>
> I did this test and I got this outlier that i would like to remove the
> whole row in my database; anyone knows how i can remove it?
>
>  chisq.out.test(time$TimeDiff)
>         chi-squared test for outlier
> data:  time$TimeDiff
> X-squared = 73260.07, p-value < 2.2e-16
> alternative hypothesis: highest value 14478.4 is an outlier
>
> Thank you!!
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@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.
>



-- 
Sent from my mobile device
Envoyé de mon portable

	[[alternative HTML version deleted]]

