inst/snippets/Section4.4b.R

Cocaine <- rbind( 
  do(18) * data.frame( treatment = "Lithium", response = "Relapse"),
  do(6)  * data.frame( treatment = "Lithium", response = "No Relapse"),
  do(20) * data.frame( treatment = "Placebo", response = "Relapse"),
  do(4)  * data.frame( treatment = "Placebo", response = "No Relapse")
  )

Try the Lock5withR package in your browser

Any scripts or data that you put into this service are public.

Lock5withR documentation built on May 30, 2017, 7:37 a.m.