Skip to content
Prev 301054 / 398503 Next

How to do the same thing for all levels of a column?

First thing is to supply the data in a useable format.  As is it is essenatially unreadable.  All R-beginners do this. :)

Have a look at the dput function  (?dput) for a good way to supply sample data in an email.

If you have a large dataset probably a few dozen lines of data would be fine.

Something like dput(head(mydata)) should be fine.  Just copy and paste the output into your email.

Welcome to R.  I think you will like it.

John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!