R/append_df.R

Defines functions append_df

# from tidyr
append_df <-
function(x, 
         values, 
         after = length(x)) 
{
  y <- append(x, values, after = after)
  class(y) <- class(x)
  attr(y, "row.names") <- attr(x, "row.names")
  y
}

Try the lplyr package in your browser

Any scripts or data that you put into this service are public.

lplyr documentation built on Nov. 17, 2017, 7:34 a.m.