Skip to content
Prev 82386 / 398506 Next

concatenate data frame

Guillaume,

I assume that 'tab' is a data frame and that, for some
unspecified reason, you want to get two subsets of the last
column of tab, overlapping one case, and coercing the final
result to a data frame. If that is correct, then

as.data.frame(c(tab_tmp, tab_tmp1))

will give you a data frame. Alternatively, check out the
'drop =' argument to '[.data.frame' and then rbind your
pieces.

Peter Ehlers
herodote at oreka.com wrote: