Commit a637ca8d authored by Holger Brandl's avatar Holger Brandl

fixed dplyr conversion

parent 8e2099dd
......@@ -107,6 +107,9 @@ rownames2column <- function(df, colname){
column2rownames<- function(df, colname){
#browser()
## force into df to avoid dplyr problems
df <- as.df(df)
rownames(df) <- ac(df[,colname])
df[colname] <- NULL
return(df)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment