[R] Substituting the values on the y-axis

Bert Gunter gunter.berton at gene.com
Mon Jun 10 17:48:41 CEST 2013


Sounds like you have made no effort to learn R, e.g. by reading the
Intro to R tutorial packaged with R or other online tutorial (there
are many).

Don't you think you need to do some homework first?

-- Bert

On Mon, Jun 10, 2013 at 7:26 AM,  <diddle1990 at fastwebnet.it> wrote:
> Hello,
>
> I plotted a graph on R showing how salinity (in ‰, y-axis) changes with time(in
> years, x-axis). However, right from the beginning on the Excel spreadsheet the v
> alues for salinity appeared as, for example, 35000‰ instead of 35‰, which I gues
> sed must have been a typing error for the website from which I extracted the dat
> a (NOAA).Thus, I now would like to substitute these values with the correspondin
> g smaller value, as it follows:
>
> 25000 35000-> 25, 35   and so on.
>
> Is there any way I can change this on R or do I have to modify these numbers bef
> ore inputting the data on R (for example on Excel)? If so, can anybody tell me h
> ow to do either of these?
>
> Many thanks!
>
> Emanuela
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 

Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374
Website:
http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm



More information about the R-help mailing list