[R] scale for the y-axis

John Fox jfox at mcmaster.ca
Mon Nov 25 19:26:43 CET 2002

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
>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

Dear Simon,

How about boxplot ( time/60 ~ movement*scene, ylab = "Time (minutes)", xlab 
= "Condition")?

Is that what you need?

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

More information about the R-help mailing list