Displaying 1 result from an estimated 1 matches for "invtyp".
Did you mean:
invtype
2011 Mar 03
0
'merge' function creating duplicate columns names in the output
The "merge" command is creating duplicate column names in a dataframe
that is the result of the merge. The following is the 'merge'
command:
x <- merge(invType
, allocSlots
, by.x = 'index'
, by.y = 'indx'
, all.x = TRUE
)
The 'invType' dataframe was the result of a previous merge and has the
following column names that are probably causing the problem:
height.x
height.y
height
> str(invType)
'data.fra...