-
Notifications
You must be signed in to change notification settings - Fork 8
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
Function documentation #3
Comments
@jbeaulie I just synced a version of the function with a commented out step-by-step calculation drawing from the .jb function, but using the flow of the documentation that comes with the data download. Also, updated the read me with the equations. |
I really like the combination of the step-by-step in the function, combined with more details in the read me. I have a few more comments here.
|
Please see new 'pull request' for minor changes to README.Rmd. Please see below for additional comments on README.Rmd.
|
def.calc.sdg is a beautiful function. Very concise and elegant. My only comment is that the equation is so elegant that it is difficult to unravel the underlying logic. Please consider providing a detailed description of the logic behind the function.
As an example/alternative, see def.calc.sdg.jb. Here I took the def.calc.sdg function and broke it down into a series of smaller calculations, along with a lot of text documenting the overall approach. The results from def.calc.sdg.jb are nearly identical to that of def.calc.sdg (see demo.R for details).
Please consider presenting def.calc.sdg in a format that is a bit more accessible to the reader. I suppose one alternative is to provide a detailed derivation of the function in the User's Manual, while leaving the function as is.
The text was updated successfully, but these errors were encountered: