I have an R dataset as shown below
Lake Month.Day Parameter
1 A 01-2003 chloride
2 A 01-2003 conductivity
3 B 02-2004 chloride
4 C 09-2007 conductivity
5 D 12-2008 chloride
6 D 12-2008 conductivity
7 D 02-2011 conductivity
I want my new data set to only show the lakes that have both chloride and conductivity data for the same date. In this case, the new data frame would show:
Lake Month.Day Parameter
1 A 01-2003 chloride
2 A 01-2003 conductivity
5 D 12-2008 chloride
6 D 12-2008 conductivity
Is there a way to do this? Thanks in advance.