[R] Assignment Week 1

vikram ranga babuawara at gmail.com
Wed Jan 15 08:48:36 CET 2014


Hi Dorcas Nduati,

Better place to discuss and ask for help about home work is discussion
forum of that site.


It is one of recommendations is that: you should not post your
homework on Rhelp or stackOverflow.

On Wed, Jan 15, 2014 at 12:56 PM, arun <smartpink111 at yahoo.com> wrote:
> Hi,May be this helps:
>  set.seed(26)
>  dat1 <- data.frame(Col1= sample(c(NA,1:10),25,replace=TRUE),Col2=rnorm(25))
> subset(dat1,!is.na(Col1)) #subset based on non-missing values of first column
> sum(is.na(dat1[,1]))#count missing values.
> A.K.
>
>
>
>
>
>
>
>
> On Wednesday, January 15, 2014 2:14 AM, Dorcas Nduati <dnduati at gmail.com> wrote:
> Hi,
>
> I don't want to cheat for Assignment Week 1 I calculated the answers using
> microsoft excel.
>
> Please help me with extracting data, counting missing values in R software
> will really be grateful. Don't want to be a liar.
>
> --
> Dorcas Nduati
> PHPT Dept.
> Room 111
> UoN
>
> Office:0202453621 Ext 27107
> Skype:dorcas.waithira.nduati
>
>     [[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.
>
>
> ______________________________________________
> 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.




More information about the R-help mailing list