0
Someone on SO asked how to fill in the NA's with row means. His example code was:
cancer1 <- read.table("cancer.txt", stringsAsFactors = FALSE, quote='', header=TRUE,sep='\t')
Since he didn't provide the data I think we can simulate it with
cancer1 <- data.frame(a=rep(c(1,2,3,NA),10),b=rep(...