forsys-sp / forsysr

An R implementation of the ForSys program
GNU General Public License v3.0
8 stars 3 forks source link

Set seed (?) for sample_frac #88

Closed michelledayusfs closed 1 year ago

michelledayusfs commented 1 year ago

Is there a way to sample x% of stands with patchmax within forsys but set the seed so you can replicate the same run? Or would this require Pedro's patchmax_st_seed? For testing it is useful to get the same exact x% with each run.

codyevers commented 1 year ago

run ‘set.seed(12345)’ just before running ‘forsys::run()’. You’ll need to set the seed each time you do the forsys run. You should get the exact result each time. On Jan 18, 2023 at 8:09 AM -0800, Michelle Day @.***>, wrote:

Assigned #88 to @codyevers. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were assigned.Message ID: @.***>

michelledayusfs commented 1 year ago

Awesome.