-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add function to calculate accessibility #169
Comments
Although accessibility can be calculated from the travel time matrices produced by r5r, a dedicated accessibility function has many advantages:
Additionally, the new
|
Conveyal documentation on decay functions is here. Those functions, beyond the step / cumulative opportunities function, are:
I think we have two options:
|
I prefer exposing all decay functions and documenting what the parameter means in each case. Regarding the figure you posted above, are all of these "no accessibility islands" snap-related? The image seems a bit weird to me. Had we calculated the travel time matrices manually and calculated accessibility within R, the resulting plot would be similar? |
I would also prefer we expose all decay functions and create and I agree the maps has quite a few unexpected blind spots. Perhaps we should calculate accessibility step-by-step in R and compare agains the R5 estimates. |
Good points! The "inaccessible islands" of the previous maps happened because The resulting maps look the same. I've also compared both data.frames, and the accessibility values are exactly the same as well. I believe that using a frequency-based GTFS and larger number of Monte Carlo draws, there will be some variation in travel times and accessibility values, but in this simple tests all values are equal. |
Perfect. Thanks for looking into this, Marcus!Rafael H M Pereira
-------- Original message --------From: Marcus Saraiva ***@***.***> Date: 5/14/21 14:42 (GMT-03:00) To: ipeaGIT/r5r ***@***.***> Cc: Rafael H M Pereira ***@***.***>, Author ***@***.***> Subject: Re: [ipeaGIT/r5r] Add function to calculate accessibility (#169)
Good points! The "inaccessible islands" of the previous maps happened because max_walk_dist was set to just 300m. I've increased it to 1km and calculated accessibility again, using the two methods. Now the areas with "no accessibility" (dark grey on the maps below) are concentrated towards the southern edge of the city, which makes more sense.
The resulting maps look the same. I've also compared both data.frames, and the accessibility values are exactly the same as well. I believe that using a frequency-based GTFS and larger number of Monte Carlo draws, there will be some variation in travel times and accessibility values, but in this simple tests all values are equal.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Simple demonstration of the effects of all decay functions on accessibility. |
To-do:
|
I've added some more documentation to the function but I think we still have to provide (1) intuitive explanations to the behavior of each decay function, (2) the equations of each decay function |
@mvpsaraiva , I get the following error when I try to reproduce the example in the function:
|
The issue seems to be in this line. I've removed the |
Thanks! I've just added a test script for the |
Setting this issue as priority, to be incorporated in the next package release. |
No description provided.
The text was updated successfully, but these errors were encountered: