Displaying 1 result from an estimated 1 matches for "nam_ltraj".
2011 Aug 23
0
How to assign vector value as object name
...heck it
manually length(date) is equal to nrow(xy.1). So it seems to me that I have
problems with extracting the right information, that is that when I want to
extract xy.1 in the last for-loop, it doesn't automatically give the data
frame of x-y- coordinates that I assigned to it earlier.:
nam_ltraj <- paste("tr1.",1,sep="") # set up
vector of names for ltraj objects
for (i in 2:20) {
nam_ltraj[i] <- paste("tr1.",i,sep="") # extends
vector of names
}
for (k in 1:20) {
assign(na...