###################################
# For view the equation #
###################################
plot(
c(.6,.6,.6,.6),
c(.9,.5,-.3,-.7),
xlim = c(.6,1.4),
ylim = c(-1.1,1),
axes = FALSE,
main = "Equations:",
xlab = "",
ylab = "",
pch = 1
)
text(.65, .9, "( 1 )")
text(.65, .5, "( 2 )")
text(.65,-.3, "( 3 )")
text(.65,-.7, "( 4 )")
text(1, .9,
expression(CorCrit[alpha] == abs(Cor(dist[cophenetic],dist[ceramic]) - Cor(dist[cophenetic],
dist[stratigraphic])
)))
text(1, .5, expression(hat(alpha) == min(CorCrit[alpha], alpha)))
text(1,-.3, expression(hat(alpha)^(c) == min(CorCrit[alpha]^(c), alpha)))
text(1,-.7, expression(hat(alpha)^"*" == frac(1,n(n-1)) * sum(hat(alpha)^(c),c==1,n(n-1))))
#################################
##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
#library(SPARTAAS)
#data(datangkor)
#network stratigraphic data (Network)
#network <- datangkor$stratigraphy
#contingency table
#cont <- datangkor$contingency
# \donttest{
#hclustcompro_detail_resampling(D1 = CAdist(cont, nPC="max"), D2 = adjacency(network))
# }
Run the code above in your browser using DataLab