merliseclyde / BAS

BAS R package https://merliseclyde.github.io/BAS/
https://merliseclyde.github.io/BAS/
GNU General Public License v3.0
41 stars 16 forks source link

What is the default number of iterations for 'MCMC' method #2

Closed akashrajkn closed 7 years ago

akashrajkn commented 7 years ago

@merliseclyde, thank you for this package.

I have a question. In the docs, for the function bas.lm, it says, the default value for

`MCMC.iterations = n.models * 10` 

if not set by user. I was looking at the source for this function, at this line, it assigns the value of n.models*2 if MCMC.iterations is not specified by the user. Can you please clarify this?

akashrajkn commented 7 years ago

I have created a pull request - #3 for this.

merliseclyde commented 7 years ago

This is a case of code/documentation mismatch. I have merged your change into the base code so the code is now in agreement with the documentation.

Thanks!