I am using the pander function to make my tables in R markdown, but having some troubles with cells being ordered in an illogical way. here is a screenshot of my r Markdown As you can see, it is ordering based on the first digit as opposed to the value of the whole number. here is my script:
income.frequency.table <- xtabs(~income, data=iceland)
pander(income.frequency.table)
any help would be really appreciated. I am very new to R and coding in general so apologies if I've missed something very obvious! Thanks in advance.