isresultfromPCA = function(resultPCA){
cond1 = is.list(resultPCA)
cond2 = length(resultPCA)==8
cond3 = names(resultPCA)==c("scores","loadings","eigval","pcu","pcd","var","cumvar","original.dataset")
return(all(cond1,cond2,cond3))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.