Simply use mutate() instead of summarise()
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.
Simply use mutate() instead of summarise()
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.