hi there I hope you can help me I'm doing a boxplot and I'm trying to change the y-axis from seconds to minutes I do this: boxplot ( time~movement*scene, ylab = "Time (seconds)", xlab = "Condition") but seconds goes from 0 to 900 and I'm looking to change it into minutes I've been though the manuals but I don't know what you call this function so its hard to look it up I've looked up scale y-axis division etc, but can't find anything can you help? -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
simon lessels wrote:> hi there > I hope you can help me > I'm doing a boxplot and I'm trying to change the y-axis from seconds to > minutes > I do this: > boxplot ( time~movement*scene, ylab = "Time (seconds)", xlab = "Condition") > > but seconds goes from 0 to 900 and I'm looking to change it into minutes > > I've been though the manuals but I don't know what you call this function so > its hard to look it up > I've looked up scale y-axis division etc, but can't find anything > > can you help? >I believe the following is what you are after. Because only division by a constant is involved, you are not likely to find anything in the R documentation about this. boxplot ( (time/60) ~ movement*scene, ylab = "Time (minutes)", xlab = "Condition") -Bill -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
At 04:19 PM 11/25/2002 +0000, simon lessels wrote:>hi there >I hope you can help me >I'm doing a boxplot and I'm trying to change the y-axis from seconds to >minutes >I do this: >boxplot ( time~movement*scene, ylab = "Time (seconds)", xlab = "Condition") > >but seconds goes from 0 to 900 and I'm looking to change it into minutes > >I've been though the manuals but I don't know what you call this function so >its hard to look it up >I've looked up scale y-axis division etc, but can't find anythingDear Simon, How about boxplot ( time/60 ~ movement*scene, ylab = "Time (minutes)", xlab = "Condition")? Is that what you need? John ____________________________ John Fox Department of Sociology McMaster University email: jfox at mcmaster.ca web: http://www.socsci.mcmaster.ca/jfox ____________________________ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Mon, 25 Nov 2002, simon lessels wrote:> hi there > I hope you can help me > I'm doing a boxplot and I'm trying to change the y-axis from seconds to > minutes > I do this: > boxplot ( time~movement*scene, ylab = "Time (seconds)", xlab = "Condition") > > but seconds goes from 0 to 900 and I'm looking to change it into minutes >Divide it by 60? tminutes<-time/60 boxplot ( tminutes~movement*scene, ylab = "Time (minutes)", xlab "Condition") or just boxplot ( I(time/60)~movement*scene, ylab = "Time (minutes)", xlab "Condition") -thomas -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._