I would like to use bind_rows()
to append two dataframes (by their column headers) but when I run the code I get the Error: Can't combine ..1$A
and ..2$A
<factor>.
I know I need to convert the factor to double but I don't know how to perform this operation on all columns.
I have approx 500 columns and thus cannot use as.double
One dataframe X is very large (500 columns and 5000 rows) and the other Y rather small (495 columns and only 1 row). The append should be done based on common column header. Basically I want to add the row of Y at the end of X.
Let me know if you need more information.
Thx