gaynorr / AlphaSimR

R package for breeding program simulations
https://gaynorr.github.io/AlphaSimR/
Other
43 stars 18 forks source link

Added setMisc and getMisc #51

Closed gregorgorjanc closed 2 years ago

gregorgorjanc commented 2 years ago

@gaynorr I have added two function setMisc() and getMisc() to ease working with the misc slot. Its not that hard to work with it, but one has to be careful not to remove what is already there and looping over individuals can bloat the code, so I wrote these two functions.

Any comments on how to improve this would be welcome!