sure_given_c_one_mode: Wrapper for 'sure_given_c' when only updating one mode.

Description Usage Arguments Author(s)

View source: R/soft_coord.R

Description

Wrapper for sure_given_c when only updating one mode.

Usage

1
2
sure_given_c_one_mode(lambda, c_obj, lambda_current, c_current,
  current_mode, tau2)

Arguments

lambda

A numeric scalar. The current value of the lambda you are updating.

c_obj

The output from get_c.

lambda_current

A vector of numerics of length n. The current values for the thresholding parameters.

c_current

A positive numeric. The current value of the scaling parameter.

current_mode

The current mode for which lambda is a member.

tau2

A positive numeric. The variance. Assumed known and defaults to 1.

Author(s)

David Gerard


dcgerard/hose documentation built on Aug. 1, 2019, 12:11 a.m.