david-cortes / outliertree

(Python, R, C++) Explainable outlier/anomaly detection through decision tree conditioning

Home Page:http://outliertree.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extract Rows

mjholm4242 opened this issue · comments

I am new to R and love outliertree. I am trying to get a list of suspicious rows and the corresponding column. I can get it to print out the summary but I cannot figure out how to extract the row number.

In my data, I have dates and times and it would be helpful to print out the date/time and column. All I get now is Row [1967] - suspicious column ......

Is there any way to get this?

Thank you.
Michael Holm

You can find an example about extracting this information in the package documentation for the main function:

?outliertree::outlier.tree