Use the wt
parameter for top_n()
Function's documentation says it defaults to the last variable in the data frame.
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.
Use the wt
parameter for top_n()
Function's documentation says it defaults to the last variable in the data frame.
If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.