[R] rm.outlier produces a list

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Sep 30 11:16:58 CEST 2011



On 29.09.2011 22:38, Ben qant wrote:
> Hello,
>
> Why does rm.outlier produce a list for me? I know its something about my
> data because I can't make a mock up that reproduces the issue.
>
> Any ideas? My data goes in as a matrix and comes out as a list:
>> class(dat)
> [1] "matrix"

str(dat)

would be more helpful, since you could have a matrix of lists, for 
example (i.e. a list with dim attributes).


>> dat = rm.outlier(dat)

What is rm.outlier? It is not in base R.

Uwe Ligges




>> class(dat)
> [1] "list"
>>
>
> Thanks,
>
> Ben
>
> 	[[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