@chain df begin
@mutate(across(startswith("β"), x -> τ*x))
end
where τ is another column in df, but it complains that it can’t find it in the Main module. Is there a way to indicate that I want the variable name to be taken from the dataframe in quesiton? Doing var"df.τ" or the backtick notation results in the same error.
(I tried _.τ but got the even more cryptic error that "This function should only be called inside of TidierData.jl macros.")