Re: [R] Assignment Week 1

2014-01-14 Thread vikram ranga
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 wrote: > Hi,May be this helps: > set.seed(26)

Re: [R] Assignment Week 1

2014-01-14 Thread arun
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 Nduat

Re: [R] Assignment Week 1

2014-01-14 Thread Koushik Saha
show us some of your effort? what have you tried? did u went through the video lectures in the site? On Wed, Jan 15, 2014 at 3:11 AM, Dorcas Nduati wrote: > Hi, > > I don't want to cheat for Assignment Week 1 I calculated the answers using > microsoft excel. > > Please help me with extracting d

[R] Assignment Week 1

2014-01-14 Thread Dorcas Nduati
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 Skyp