fishR-Core-Team / FSA

FSA (Fisheries Stock Assessment) package provides R functions to conduct typical introductory fisheries analyses.
https://fishr-core-team.github.io/FSA/
GNU General Public License v2.0
66 stars 22 forks source link

PSDlit sources #76

Closed daveglover closed 3 years ago

daveglover commented 3 years ago

Any reason that the PSDlit table does not list the source, similar to WSlit? I was able to track confirm where most came from but had trouble figuring out exactly where a few came from.

Thanks!

droglenc commented 3 years ago

Dave,

This was one of the first functions I wrote and all of the length values came from the same synthetic source, so I likely did not think about adding it. This is a good suggestion and I will work on adding them for the next release. Thanks for asking.

droglenc commented 3 years ago

Re-opening so I remember to fix this.

droglenc commented 3 years ago

In the next version this will work as such ...

psdVal("Bluegill",showJustSource=TRUE)

To have he source included with a regular call would require major changes because psdVal() returns a numeric matrix which cannot have columns of different types. This will be a compromise.