I am having trouble understanding the output from dplyr\'s top_n function. Can anybody help?
n=10 df = data.frame(ref=sample(letters,n),score=rnorm(n)) req
My misunderstanding and expectation was due to my reading of the documentation linked to in the question and described in the comments. Despite some documentation claims, top_n does not generated output ordered by wt.
top_n
wt