Skip to content
Prev 275211 / 398506 Next

R for loop stops after 4 iterations

On 11-10-22 7:33 PM, Philip Robinson wrote:
That doesn't look like 3 columns, it looks like 4.
The length of a dataframe is the number of columns.  Use nrow(e) for the 
number of rows.

Duncan Murdoch