how to append element at last position in array dynamically
'append' returns a value that you have assign back to the object you want, in this case 'h' h <- append(h, 9)
On Tue, Feb 28, 2012 at 7:15 AM, sagarnikam123 <sagarnikam123 at gmail.com> wrote:
h<-array() h
[1] NA
append(h,9)
[1] NA ?9 but what it append.........
h
[1] NA -- View this message in context: http://r.789695.n4.nabble.com/how-to-append-element-at-last-position-in-array-dynamically-tp4427893p4427893.html Sent from the R help mailing list archive at Nabble.com.
______________________________________________ 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.
Jim Holtman Data Munger Guru What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it.