[R] how to introduce missing data for complete data

Bert Gunter gunter.berton at gene.com
Mon Nov 11 15:59:20 CET 2013


1. You need to define more explicitly exactly what you mean by "randomly."

2. You need to make an honest effort to learn basic R, e.g. by
spending time with the "Introduction to R" document that ships with R
or an online tutorial (there are many good ones).

Cheers,
Bert

On Sun, Nov 10, 2013 at 10:31 PM, dila radi <dilaradi21 at gmail.com> wrote:
> Hi,
>
> Im new R users. In my research I use rainfall data and Im interested in
> estimating missing data. I would like to use Normal Ratio Method to
> estimate missing data. My problem is, how do I introduce missing data
> randomly within my complete set of data?
>
>
> Stn ID      Year  Mth   Day   Amount
> 48603 71 1 1 1
> 48603 71 1 2 0.5
> 48603 71 1 3 1.3
> 48603 71 1 4 0.8
> 48603 71 1 5 0
> 48603 71 1 6 0
> 48603 71 1 7 0
> ...
>
> Thank you so much for your attention and help.
>
> Regards,
> Dila
>
>         [[alternative HTML version deleted]]
>
> ______________________________________________
> 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

(650) 467-7374



More information about the R-help mailing list