search for: hiccupsdata

Displaying 1 result from an estimated 1 matches for "hiccupsdata".

2013 Feb 15
1
Why no line? (ex. from Andy Filed book)
The following script is written by the author of a book on R--Andy Field: You can also download the small datafile, hiccups.dat, from this address: http://www.sagepub.com/dsur/study/articles.htm The script: hiccupsData <- read.delim("Hiccups.dat", header = TRUE) hiccups<-stack(hiccupsData) names(hiccups)<-c("Hiccups","Intervention") hiccups$Intervention_Factor<-factor(hiccups$Intervention, levels = hiccups$Intervention) line <- ggplot(hiccups, aes(Intervention_Factor...