getTau_nomemory {fpopw}R 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)

[Package fpopw version 1.1 Index]