Description Usage Arguments Examples
find dampening factor
1 | findDampFactor(sigma, factor = 1.05, d_cutoff = 1e-60, startValue = 1e-04)
|
sigma |
covariance matrix |
factor |
step factor |
d_cutoff |
determinant cutoff |
startValue |
starting value to initialize the finding |
1 2 3 4 5 6 7 | data(seqfishplus)
k<-dim(seqfishplus$mu)[2]
damp<-array(0, c(k))
for(i in 1:k){
di<-findDampFactor(seqfishplus$sigma[,,i], factor=1.05, d_cutoff=1e-5, startValue=0.0001)
damp[i]<-ifelse(is.null(di), 0, di)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.