Search the Community
Showing results for tags 'twgeos'.
Found 3 results
-
Hi, I am trying to use TwGeos::preprocessLight() to identify twilights in light data collected by Lotek LAT280 tags. The below is the log of the "Light Intensity" variable. This approach doesn't seem to give great definition between the dark and light sections and makes picking a threshold challenging. Does anyone have any suggestions for a transformation, a threshold, or an alternative approach with the data from this tag? Thanks!
-
Hello everyone, I have recently begun trying to process a .lig file using TwGeos( although I also have .lux files as well) and i have been having some general problems most likely due to my lack of experience with this software, so I apologize if i'm asking introductory level questions. The code that I have been using is: palette=c(5,2, 9, 3, 4, 1, 13) Twl<-preprocessLight(Bird, threshold = 1.5, offset = 17, lmax = 64, zlim = c(0,64), extend = 0, dark.min = 0, twilights = NULL, stage = 1, point.cex = 0.8, width = 12, height = 4, palette = palette ,gr.Device = "default") Stage 1: Is the point of the subset function to remove the twilights that occured before and after the geo was attached? Stage 2: I don't think I have been performing this stage right, I'm not exactly even sure what i'm supposed to be doing.. Stage 3: I believe that this step is dependent on the previous one, but regardless I'm not sure how to identify whether a twilight is missing or if one has to be added. Stage 4: My light profiles do not show sunrise and sunset in one screen, is there a mistake in my code that would fix this? I'm also not sure what a bad twilight looks like and which ones should be marked for deletion. I have gone through this process several times trying different methods and settings to familiarize myself with it but have been unsuccessful. After accepting the twilights that I believed were acceptable i saved my edits and exited out of the window, this provided me with a subset of data and 8 warning messages that are as follow: Warning messages: 1: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 2: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 3: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 4: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 5: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 6: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 7: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. 8: In structure(xx, class = c("POSIXct", "POSIXt"), tzone = tz) : Calling 'structure(NULL, *)' is deprecated, as NULL cannot have attributes. Consider 'structure(list(), *)' instead. I'm not sure if these warnings are due to me performing one of the previous stages wrong or are normal errors associated with the package. Any help relating to these problems would be greatly appreciated. Thank you, Devin
-
I'm cleaning up my twilights and the 4th step in "preprocessLight" has frozen on me a couple times after about 30-40 minutes of work. It does save up to that point though. According to the help file I can update a previous call. It is not clear to me how to run this though. Info from help file: The results of a previous call of \code{preprocessLight} can be updated by providing the dataframe generated by the previous call as the \code{twilights} argument, and using the \code{stage} argument to determine to point from which to restart the process. Are there examples of how to run this? Thank you.