charvey23 / AvInertia

Contains the files pertaining to AvInertia
GNU General Public License v3.0
6 stars 2 forks source link

2020-09-02 mathematicalfunctions feedback #3

Closed vbaliga closed 4 years ago

vbaliga commented 4 years ago

This is feedback for mathematicalfunctions.R only. I am going to make my way through all the .R scripts over the next few days, and I'll make separate entries for the other function scripts. I elected to start with this one since looking at the underlying math will hopefully help me understand other functions.

General comment for @return section of all functions: A general practice that people do is to have the first few words of this section describe the type of object that is created in the R environment by the function -- if it's a vector, matrix, list, etc. So, for example, line 13 could become "a numeric vector with value 1 if i and j are equal or 0 if they are not".

charvey23 commented 4 years ago
vbaliga commented 4 years ago

OK awesome thanks for taking care of these.

Just a minor thing I noticed just now:

After that, I think we're in great shape for this script. Will jump into another one now!

vbaliga commented 4 years ago

Spoke too soon hahah. There is one more minor thing:

charvey23 commented 4 years ago

complete! I will close this issue then. 1 down many to go!