search for: df2col1

Displaying 1 result from an estimated 1 matches for "df2col1".

Did you mean: df2_col
2011 May 31
0
filling in a dataframe with another dataframe
...l of NA's I want to create a simple mathematical model utilizing the values in DF1$col2 to see the outcomes of every possible combination of objects in DF1$col1 The first step I wanted to do is to transfer values from DF1$col2 to DF2$col3 (values from DF2$col3 should be associated to values in DF2col1), but that's where I'm stuck. I currently have: for(j in 1:length(DF2$col1)) { # this part is to use the characters in DF2$col1 as an input to yield the output for DF2$col3 input=c(DF2$col1)[j] # This is supposed to use the values found in DF1$col2 to fill in DF2$col3 g=DF1[(DF1$co...