GetSelectedPatterns<-function(EBout){
AllParti = EBout$AllParti
Conditions = EBout$Conditions
if (!is.factor(Conditions))
Conditions = as.factor(Conditions)
NumCond = nlevels(Conditions)
CondLevels = levels(Conditions)
colnames(AllParti) = CondLevels
rownames(AllParti) = paste("Pattern",1:nrow(AllParti),sep="")
AllParti
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.