Theoretical probability for randomization sequences
Theoretical probability for randomization sequences
Calculate theoretical probability for observed randomization sequences
getProb(obj)## S4 method for signature 'rarSeq'getProb(obj)## S4 method for signature 'abcdSeq'getProb(obj)## S4 method for signature 'bbcdSeq'getProb(obj)## S4 method for signature 'bsdSeq'getProb(obj)## S4 method for signature 'chenSeq'getProb(obj)## S4 method for signature 'crSeq'getProb(obj)## S4 method for signature 'ebcSeq'getProb(obj)## S4 method for signature 'gbcdSeq'getProb(obj)## S4 method for signature 'hadaSeq'getProb(obj)## S4 method for signature 'mpSeq'getProb(obj)## S4 method for signature 'pbrSeq'getProb(obj)## S4 method for signature 'tbdSeq'getProb(obj)## S4 method for signature 'udSeq'getProb(obj)
Arguments
obj: object of a class inheriting from randSeq. Formal representation of a randomization sequences together with the parameters that belong to the procedure that generated the sequences.
Returns
a matrix with theoretical probabilities for observed randomization sequences
Examples
myPar <- bsdPar(10,2)M <- genSeq(myPar,2)getProb(M)# all Sequencespar <- pbrPar(bc=c(2,2))refSet <- getAllSeq(myPar)probs <- getProb(refSet)# sequences with probabilitiescbind(probs, refSet$M)