Displaying 1 result from an estimated 1 matches for "lihgt".
Did you mean:
light
2012 Jul 15
4
Imposing more than one condition to if
Hi,
I have a dataset which contains several time records for a number of days, plus a variable (light) that allows to determine night time (lihgt= 0) and daytime (light> 0). I need to obtain get dusk time and dawn time for each day and place them in two columns.
This is the starting point (d):
day time light
1 1 20
1 12 10
1 11 6
1 9 0
1 6 0
1 12 0
...
30 8 0
30 3 ...