stephenslab / ebnm

R package to fit Empirical Bayes Normal Means model.
https://stephenslab.github.io/ebnm/
12 stars 9 forks source link

Bug stemming from extending_ebnm vignette #136

Closed pcarbo closed 4 months ago

pcarbo commented 4 months ago

@willwerscheid When I ran your example in the extending_ebnm vignette, I got an error when I did:

> print(t_res)
Call:
Error in infer_prior_family(g) : object 'prior_family' not found

Is this an easy fix?

I realize this line of code isn't directly in the example, but it would be nice if this could be fixed (if doesn't involve adding many new lines of code).

pcarbo commented 4 months ago

@willwerscheid It seems to be working now:

> print(t_res)
EBNM model was fitted to 100 observations with _homoskedastic_ standard errors.
The fitted prior belongs to an _unrecognized_ prior family.
The log likelihood for the model is -233.7.

Feel free to close this issue.