Combining two data frames : <p>I have two data frames from a study, datlighton and datlightoff, They both have roughly the same data since what separates the observations is that off takes place before midnight and on takes place after. I need to combine them into a single data frame called datlight but I'm not sure how to do it. I've tried using cbind and merge but I'm new to R and I don't quite understand how to make it do exactly what I want. When I try <code>merge(datlighton,datlightoff)</code> it gives me a data frame with all the column names but none of the rows. This is <a href="http://file:///Users/brittabergren/Desktop/Ecology/Term%20Paper/Term%20Paper%20Work/datlighton.html" rel="nofollow">datlighton</a> and <a href="http://file:///Users/brittabergren/Desktop/Ecology/Term%20Paper/Term%20Paper%20Work/datlightoff.html" rel="nofollow">datlightoff</a>, I converted it to an html since I don't know to upload them as dataframes from R. Basically I just need to put all the rows from one frame into the other and have them match up with the appropriate column name.</p>
