Displaying 1 result from an estimated 1 matches for "triali".
Did you mean:
trial
2009 Apr 27
1
For Loop Syntax
...w
variable. Please see code below.
This code works outside of a loop so I am just trying to code so I don't
have to repeat numerous times.
Many thanks in advance,
Bronagh
A2 = split(A1,A1$count)
for(i in 1:10){
trial[i] <- data.frame(A2$`i`)
trial[i]$BLD[i] <- triali$BLD
trial[i]$count <- triali$BLD <- NULL
}
[[alternative HTML version deleted]]