library(CPTtools)
skill1 <- c("H","M","L") troph <- c("gold","silver","none")
sDist <- calcDNTable(list(),skill1,numeric(),0,log(.5)) round(sDist,3)
r <- .8 se <- sqrt(1-r^2) rT <- calcDNTable(list(s1=skill1),skill1,log(r),0,log(se)) round(rT,3)
Psx <- calcDPCTable(list(s1=skill1),troph,log(1), list(gold=1,silver=-1)) round(Psx,3)
```r simTable <- function(n,Ps,Pss,Psy) {
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.