Displaying 2 results from an estimated 2 matches for "diffdato1".
2009 Feb 26
1
Incorporating cumsum in for loop
Hello
Hello i have this DF:
> c
CHR_NR
diffdato1 x
1022 10395 1994-05-30 11.0 39 0 1994 1 1
0 0 24 1 1 24
29100 11377 2003-05-22 17.0 24 0 2003 1 1
0 0 15 1 1 29
29409 11377 2003-06-06 18.8 15...
2009 Feb 13
0
Making plot with "sub"-X values
...3-09-01 4.3 59
11377 2004-02-24 5.1 78
where the variable 'diffdatoperiode' is the period in days and represents
the x-value and 'CHR_NR' is the herd number.
These periods corresponds to a sum of periods in the variable 'diffdato1',
and each of these periods have an y-value represented by the variable
'SALMO_INDEX':
CHR_NR DATO_TEST SALMO_INDEX diffdato diffdato1
11377 2003-05-22 17.0 14 15
11377 2003-06...