scale_f: Rescale the mean function of an OutcomeModel to meet a given...

View source: R/size.R

scale_fR Documentation

Rescale the mean function of an OutcomeModel to meet a given SNR

Description

Rescale the mean function of an OutcomeModel to meet a given SNR

Usage

scale_f(snr, ymod, xmod, m = 5000)

Arguments

snr

A SNR

ymod

A OutcomeModel object to modify

xmod

A MixtureModel object

m

Number of MC samples to estimate the SNR of a proposed noise variance

Value

A new OutcomeModel object


phuchonguyen/mpower documentation built on Oct. 2, 2022, 7:57 p.m.