Displaying 1 result from an estimated 1 matches for "datjan".
Did you mean:
damjan
2010 Mar 14
3
for() loop
Hello
I'm working with R since a few month and have still many trivial
questions - I guess! Here is what I want:
I have this matrix:
> dim(datjan)
[1] 899 4
The first 10 rows looks as follows:
> datjan[1:10,]
V1 V2 V3 V4
1 1961 1 1 24
2 1961 1 2 24
3 1961 1 3 24
4 1961 1 4 24
5 1961 1 5 24
6 1961 1 6 27
7 1961 1 7 27
8 1961 1 8 27
9 1961 1 9 27
10 1961 1 10 27
I tried now to create a for() loop, which...