getTau_nomemory: getTau_nomemory

View source: R/simpleSelection.R

getTau_nomemoryR Documentation

getTau_nomemory

Description

function to recover changes for a given selected K after fpsn_nomemory

Usage

getTau_nomemory(res_fpsn, K_selected)

Arguments

res_fpsn

output of the function res_fpsn_nomemory

K_selected

K obtained using select_Fpsn

Value

return a set of changes

Examples

x <- c(rnorm(100), rnorm(10^3)+2, rnorm(1000)+1)
res <- Fpsn_w_nomemory(x=x, w=rep(1, length(x)), K=100)
select.res <- select_Fpsn(res, method="givenVariance")
tau <- getTau_nomemory(res, select.res)
smt <- getSMT_(res$signal, res$weights, tau)

fpopw documentation built on June 7, 2022, 1:09 a.m.

Related to getTau_nomemory in fpopw...