Displaying 1 result from an estimated 1 matches for "year_dat".
Did you mean:
learndat
2011 Feb 23
2
copy values from one dataframes into another
Hello everyone,
I have the following problem, I have a dataframes that looks like this:
fire$Year fire$Size
1 1981 1738.0
2 1984 2228.1
3 1985 38963.3
4 1986 2223.4
5 1987 3594.6
6 1988 1520.0
...
What I would like to do is copy the values from the fire$Size colum and put
it into a new df but with "0" for the years that are missing. The