View source: R/samonECompleterStatus.R
samonECompleterStatus | R Documentation |
Computes the difference in the expected value of non-completers and completers
samonECompleterStatus( Y, BC )
Y |
vector of outcomes |
BC |
a vector of estimates for the mean of Y |
Computes the expected value for completers and non-completers and hence the difference between the two.
Returns a vector of expected differences.
data("samonPANSS1")
data( "PSummary1" )
PSummary1 <- (PSummary1$TM)[,c("alpha","IFEst")]
Pdiff1 <- samonECompleterStatus( samonPANSS1[,ncol(samonPANSS1)],
PSummary1[,2] )
data("VAS1")
data("VSummary1" )
VSummary1 <- (VSummary1$TM)[,c("alpha","IFEst")]
Vdiff1 <- samonECompleterStatus( VAS1[,ncol(VAS1)], VSummary1[,2] )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.