Consider the following data file:
column_name
foo
foo
bar
baz
baz
bar
foo
baz
How I can plot a histogram with using the lattice package, and sorting by a custom order (not alphabetic), e.g.: c('baz', 'foo', 'bar')?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Or perhaps:
Or even better put everything in a dataframe and then do:
(Lattice functions generally expect to have the main data arguments come from a dataframe.)