This is the main interface for fitting correlated EBNM models based on algorithms proposed by Sun and Stephens. The default behaviour is simply to run the biconvex optimization and return the result and posterior calculations.

1 2 3 |

`x` |
A p vector of observations |

`s` |
A scalar or a p vector of standard deviations. |

`deltaAt0` |
Logical, indicating whether to use a point mass at zero as one of components for a mixture distribution of the prior. |

`gd.priority` |
Logical, indicating whether to optimizer over prior |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.