Skip to content
Snippets Groups Projects
Commit 0a2c4be4 authored by Christina Azodi's avatar Christina Azodi
Browse files

bug fix colnames to names

parent 20a20ca2
No related branches found
No related tags found
No related merge requests found
......@@ -25,7 +25,7 @@ logistic <- function(x, x0, k) {
#' @return data.frame containing rows from \code{df1} and \code{df2} but only
#' common columns.
rbindMatched <- function(df1, df2) {
common.names <- intersect(colnames(df1), colnames(df2))
common.names <- intersect(names(df1), names(df2))
if (length(common.names) < 2) {
stop("There must be at least two columns in common")
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment