Skip to content
Snippets Groups Projects
Commit a637ca8d authored by Holger Brandl's avatar Holger Brandl
Browse files

fixed dplyr conversion

parent 8e2099dd
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
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