As usuall please provide a REPRoducible EXample (reprex) for your issue, we don't know from where summarize() function comes from or what the structure of RAO is.
The dplyr summarize function takes a data frame as its first argument, followed by "Name-value pairs of summary functions."
Have a look at the docs, there are a few examples in there of how to make use of summarize.
On Screenshots - This is a good example of when a screenshot isn't as good as a reprex or just copy-pasting your error message.
1 Like
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
