[R] change the x axis tickmarks when using plot function in -drc- package

Clive Nicholas clivelists at googlemail.com
Wed Dec 9 21:20:55 CET 2015

Message: 30
Date: Tue, 8 Dec 2015 22:56:00 -0500
From: li li <hannah.hlx at gmail.com>
To: Jim Lemon <drjimlemon at gmail.com>
Cc: r-help <r-help at r-project.org>
Subject: Re: [R] change the x axis tickmarks when using plot function
        in drc  package
        <CAHLnndZv6=AZjT_Y7M3i=t01qcb0L9iWAfmrjJ4ehvYwUe52aA at mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Thanks for the reply but that does not seem to work. With that the plot is
on log scale for both the response and the dose levels, but the tickmarks
are still on the original scale.


I'm viewing this on the digest, so I'm behind, but I ran your code plus
Jim's suggestion and it worked for me! You should get something akin to the
image I attach for you.

I hope this helps.

R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 15.10

 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] drc_2.5-12  MASS_7.3-43

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.2        splines_3.2.2      munsell_0.4.2
colorspace_1.2-6   lattice_0.20-33
 [6] multcomp_1.4-1     minqa_1.2.4        plyr_1.8.3
car_2.1-0          tools_3.2.2
[11] nnet_7.3-10        parallel_3.2.2     pbkrtest_0.4-2
grid_3.2.2         nlme_3.1-122
[16] mgcv_1.8-7         quantreg_5.19      plotrix_3.6
TH.data_1.0-6      htmltools_0.2.6
[21] MatrixModels_0.4-1 gtools_3.5.0       digest_0.6.8
survival_2.38-3    lme4_1.1-10
[26] Matrix_1.2-2       nloptr_1.0.4       codetools_0.2-14
rmarkdown_0.8.1    sandwich_2.3-4
[31] scales_0.3.0       SparseM_1.7        mvtnorm_1.0-3      zoo_1.7-12

Clive Nicholas

"My colleagues in the social sciences talk a great deal about methodology.
I prefer to call it style." -- Freeman J. Dyson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drc_log.pdf
Type: application/pdf
Size: 7090 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20151209/803843da/attachment.pdf>

More information about the R-help mailing list