Commit 7f40a802 authored by Holger Brandl's avatar Holger Brandl

disabled as()

parent c2d005ab
......@@ -339,11 +339,11 @@ filter_count <- function(df, ...){
}
# Example: publications %>% count(journal) %>% as("num_pubs")
as = function(df, name){
warning("DEPRECATED use 'as_var' instead of 'as'")
names(df)[length(names(df))] = name
df
}
# as = function(df, name){
# warning("DEPRECATED use 'as_var' instead of 'as'")
# names(df)[length(names(df))] = name
# df
# }
n_as = function(df, name){
names(df)[length(names(df))] = name
......
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