freq_selec | R Documentation |
Computes edges selection frequency after resampling procedure
freq_selec(Pmat, Pt)
Pmat |
matrix gathering edges probability, with dimensions number of resamples x number of possible edges. Typically the Pmat output of 'ResampleEMtree()'. |
Pt |
edges probability threshold |
p x p matrix of edges selection frequency
n=30
p=10
S=5
Y=data_from_scratch("tree",p=p)$data
resample_prob=ResampleEMtree(Y, S=S,cores = 1)$Pmat
edges_freq<-freq_selec(resample_prob,Pt=0.3)
str(edges_freq)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.