search for: cdistamce

Displaying 1 result from an estimated 1 matches for "cdistamce".

Did you mean: _distance
2012 Nov 28
2
data frame: adding columns from data and file title
...7 328 1 7 328 3 7 328 6 7 328 I was thinking a function like this for cDistance (if I can get it to work) cdistamce <-funtion(x){ i = 1 j=nrow(temp1.df) while(i<=j,ifelse(i=1,"Distance[i]",Sum("Distance")) i=i+1 } But hit a brick wall and I have no idea about adding columns from the name. Am I on the right track with the first one and any ideas, coz I can't brain to...