[R] add outlier in data set

John Dougherty jwd at surewest.net
Tue Sep 20 02:41:04 CEST 2016


On Mon, 19 Sep 2016 12:25:08 +0000
"Muhammad  Kashif" <mkashif at uaf.edu.pk> wrote:

> Dear Ellison
> 
> yes its working but if i want to replaced the any value in the the
> output . e.g i want to replace 0.65 with 10. then what i do
> 
Save the data as a CSV file.  Edit the file with a basic ascii text
editor (these days unicode perhaps).  Read the new data back into R.
There also ways to do this within R:

https://therostrumblog.wordpress.com/2014/01/29/basic-data-frame-manipulations-in-r/ 

see "Altering a value".

There is a great deal of "help" in R using either the "?" or
apropos().  It is worth using these.  Also some useful free books are
available from the R Project site.  

-- 

John



More information about the R-help mailing list