Closed AlexanderLyNL closed 6 years ago
Yes; there is a subset option for image
to specify which variables to include, so in principle we can bootstrap off of that rather easily. plot.bas
does not have that option, but a similar fix should be straightforward there.
I'll probably need to add an option to save the indices of the variables that are always included as part of the output to simplify identifying them later. (needed as well for the flat prior and shrinkage in issue #22 )
This is added to image.bas
now in the master branch, using option drop.include.always=TRUE
(default). Feedback welcome!
Update: switched drop.always.included
to be FALSE
by default in image.bas
so that defaults agree with images in Coursera course.
added subset=NULL
and drop.always.included=FALSE
to plot.bas
so that a subset of probabilities may be shown/dropped or variables that are always forced in may be excluded. Default settings agree with what is in Coursera course.
Hi Merlise,
Would it be possible to remove the variables that are "include.always" from the plotting output:
Cheers, Alexander