adaptative_Lambda: Likelihood ratio for sub tree

Description Usage Arguments Value Examples

View source: R/adaptative_Lambda.R

Description

internal function objective function for sub trees.

Usage

1

Arguments

my_pi

a vector of the proportion of association per level of resolution.

sub

Output of extract_treet.

Value

Value of the likelihood on a sub tree.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
## Not run: 

#using res for the Wavelet_screening exemple


sub_analysis <- function(res, lev_res )
{
 sub <- extract_tree(res,lev_res=lev_res)
 my_pi <- adaptative_EM_Lambda(sub)
 out <-  adaptative_Lambda (my_pi, sub)
 return(out)
}


sub_analysis(res, 6)


## End(Not run)

william-denault/WaveletScreaming documentation built on Jan. 23, 2021, 12:34 p.m.