-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use Outlie in outlier page #87
Comments
That will be a big challenge to current structure. If we use the outlie plot, do you mean
So just a plot of outlie results, and a table showing selected points, that will be all? |
With your plot similar to the side effect of |
@chfleming What's your typical workflow to use outlie? And do you have to deal with each animal individually, or can you filter them at the same time? |
@xhdong-umd The side-effect plot is just for a quick visual check to see if anything abnormal is sticking out. Threshold based filtering can be done with the data frame output, usually based on speed (or the vertical deviation of terrestrial animals, when that information is present). The rows of the I've I applied a threshold to multiple individuals in a loop. |
@chfleming I'm trying to show the side-effect plot but meet some difficulties.
I used cowplot to arrange them, and I have to convert each base plot with as_grob, as arranging recorded plots directly doesn't work.
I think there are multiple approaches to deal with these:
|
The way I have coded this for multiple individuals in a list argument is to plot one-by-one with individual titles on each plot. If run after |
Oh I forgot outlie can take a list. I have been running it one by one. Let me try again with the list input. |
list input worked and it's much better. Do you also need the histogram plot? |
I think the histogram-like plot can be useful for selecting a threshold. I can update the |
That will be great! Thanks! |
I just pushed an update that makes |
I'm having this error: > res_list <- outlie(buffalo)
DOP values missing. Assuming DOP=1.
DOP values missing. Assuming DOP=1.
DOP values missing. Assuming DOP=1.
DOP values missing. Assuming DOP=1.
DOP values missing. Assuming DOP=1.
DOP values missing. Assuming DOP=1.
> scatter_p <- recordPlot()
> plot(res_list)
Error in 1:n : argument of length 0 |
I found an error with |
After restarting R session I don't have this error anymore. Now the histogram is just one plot for all the individuals in the list, right? |
Yes, that plot is compiling all of the outputs into one plot. |
@jmcalabrese @NoonanM
Mike and I both prefer selecting outliers just from the plot of the output of
outlie
, rather than the histograms.For instance:
It seems easier to see the outliers in
plot(OUT)
than in the histograms ofOUT$speed
andOUT$distance
.The text was updated successfully, but these errors were encountered: