> I added "patientinformation1" variable and then I gave the command for > "tapply" but its giving me the following error: > > Error in tapply(pat1, format(dos, "%Y%m"), function(x) sum(x == 0)) : > arguments must have same length
seems like you added patientinformation1, but still use pat1 in the tapply call. Bart -- View this message in context: http://www.nabble.com/Plotting-graph-for-Missing-values-tp21659322p21666790.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.