mm <- 1:10 nn <- mm + .001 John Kane Kingston ON Canada
> -----Original Message----- > From: careys...@gmail.com > Sent: Wed, 26 Jun 2013 16:48:34 +0100 > To: r-help@r-project.org > Subject: [R] XYZ data > > I have x, y, z data. The x, y fields dont change but Z does. How do I add > a > very small number onto the end of each x, y data point. > > For example: > > Original (X) Original (Y) Original (Z) > 15 20 30 > 15 20 40 > > > > > New (X) New (Y) New (Z) > 15.00001 20.000001 30 > 15.00002 20.000002 40 > > > Thanks > -- > Shane > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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. ____________________________________________________________ FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop! ______________________________________________ R-help@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.