Giter Club home page Giter Club logo

stmove's People

Contributors

doughertyeric avatar dpseidel avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

stmove's Issues

add flexibility for diurnal function?

from wayne:
"The diurnal options should be pre and post noon, as you have it, but also—and likely more usefully—daylight and night (which is best approximated as 6am-6pm cutoffs for the local solar time). Also it may be possible to add a user option of the periods: e.g. the user inputs 2 numbers such as 05:30 and 18:30 which gives two periods—an 11 hour night and 13 hour day. This may be better for someone who has summer data and so on."

Fix T-LoCoh dependency specification

As of right now, tlocoh package causes build failure on travis (and would on cran) because it is an r-forge package and requires special download specification.

AddIn does not respect a named vector for `seas`

Currently if the seas argument is an unnamed vector the user get's this error:

Error in traj$seas[yday(traj$date) == seas[i]] <- names(seas)[i] : 
  replacement has length zero

which is pretty undecipherable. There should be improved handling such that if there are no names, the names default to seas1, seas2, etc..

change defaults to wavelet plot axis labels?

Nancy suggests that rather than an index of time, the labels might be instead the datetime stamp.

Consider making this the default or simply giving users access to the specification arguments of wavelet plot.

Package organization overhaul

Suggestions from George Wittemyer:

  • turning angle is often not useful
  • wavelet is too advanced, too difficult to interpret, for basic exploratory data analysis package
  • mcp and kd are important more basic construction methods
  • split package into basic and advanced methods?
  • autocorrelation for behavioral interpretation is useful for ecologists, not managers.
  • diurnal plots should show distribution of step length across time periods of day. Not smoothed through time.

Start a dev branch to test out these changes.

Polish report templates

  • suppress warnings and messages from report functions
  • add considerable interpretation guidelines/text
  • complete/polish the "Suggested Next Steps" text

Add checks and useful errors to build_report

add a series of checks to the build_report function in order to return useful error messages to users,

  • check is data projected?
  • check is data regular?
  • check does data have necessary columns, with correct names?

Conditional UI not working for Addin on windows

It seems that there is some issue with the Add-in's conditional UI on my Dell. The "seasonal start dates" field should only appear when the "seasonal" option is checked.

version R version 3.4.4 (2018-03-15)
os Windows >= 8 x64
system x86_64, mingw32
Rstudio Version 1.1.453

working incorrectly

Works fine on my Mac , 3.5.1 x86_64-apple-darwain15.6.0, High Sierra 10.13.6. Rstudio 1.2.1114
Need to do some investigating to figure out if it's system or version specific.

Installing stmove when curl is already installed

Hi Dana- When I first tried installing stmove, I got an error message saying that the package couldn't be installed because the curl package was already installed and it couldn't uninstall it. (Sorry, I didn't save the exact error message). The fix was easy- I just went in the R win-library and manually deleted the curl folder and the install worked just fine. I wasn't able to reproduce the error message when running remotes::install_github("dpseidel/stmove",force=TRUE)

regularize doesn't respect tol argument

it's documented as an argument but not fed to the adehabitat functions. Early tests indicate that passing it through as intended causes errors. Should be removed and/or fixed.

season report plots blank for single season trajectories

either need to add a check and warning, or just add geom_point to the reports so they display something -- even if it's not all that informative.

range(hy33780$date) 
[1] "2013-11-11 06:00:00 SAST" "2014-03-23 02:00:00 SAST"

interval_stats(hy33780, type = c("seasonal"), seas = c("2013-09-01", "2013-11-01", "2014-04-01", "2014-10-15"))
# A tibble: 1 x 8
  interval_start mean_dist sd_dist acf_dist mean_ang sd_ang acf_ang    ccf
  <fct>              <dbl>   <dbl>    <dbl>    <dbl>  <dbl>   <dbl>  <dbl>
1 2013-11-01         1989.   2606.    0.352    0.132   1.75 0.00358 0.0151

Screen Shot 2019-03-28 at 11 19 20 AM

kalman function should be output stable

currently it returns unnecessary ltraj columns.
It should simply return the four original columns and possibly a flag column indicating interpolated or not.

Could be related to fixing #5.

interval stats should accept multiple options

stmove::interval_stats(AG195, type = c("diurnal", "lunar", "seasonal"), seas = c(40, 120, 210))

currently gives the results for diurnal and this warning:

Warning messages:
1: In if (type == "diurnal") { :
  the condition has length > 1 and only the first element will be used

2: In if (type == "lunar") { :
  the condition has length > 1 and only the first element will be used

3: In if (type == "seasonal") { :
  the condition has length > 1 and only the first element will be used

should be fixed to return a list

Error with internal parse_factor function when using build_report

I tried running the build_report function using the AG195_final test dataset. The report did not complete and gave me the following error message:

Quitting from lines 59-99 (report.Rmd)
Error in parse_factor(paste(lubridate::month(date, label = TRUE), lubridate::year(date)), :
could not find function "parse_factor"

(As well as some warning messages):
In addition: Warning messages:
1: Removed 1 rows containing non-finite values (stat_bin).
2: Removed 13 rows containing non-finite values (stat_bin).

Add a multiple plot option to rolling_stats report plots

not sure exactly how to flexibly do this. Wayne suggests giving users the option to break their rolling statistics into x number of plots to allow for better visualization.

scrap smoothing splines.

rewrite this section of results.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.