Re: [R] Summary tables of large datasets including character and numerical variables

2011-12-27 Thread John Kane
A function like the one below will give you the class and number of valid entries for a dataset.  At sample data set would help determine if it works. It works on a simple data set I created and one from the ggplot2 package but it is not really tested. With your data set as df1 something like xx

Re: [R] Summary tables of large datasets including character and numerical variables

2011-12-26 Thread David Winsemius
On Dec 26, 2011, at 5:44 AM, sparandekar wrote: Hello ! I am attempting to switch from being a long time SAS user to R, and would really appreciate a bit of help ! The first thing I do in getting a large dataset (thousands of obervations and hundreds of variables) is to run a SAS command

Re: [R] Summary tables of large datasets including character and numerical variables

2011-12-26 Thread Duncan Murdoch
On 11-12-26 5:44 AM, sparandekar wrote: Hello ! I am attempting to switch from being a long time SAS user to R, and would really appreciate a bit of help ! The first thing I do in getting a large dataset (thousands of obervations and hundreds of variables) is to run a SAS command PROC CONTENTS V

Re: [R] Summary tables of large datasets including character and numerical variables

2011-12-26 Thread John Kane
It would be  very helpful to have an actual sample of your data. As usual in R there are probably several different ways to approach the problem but a small sample of the data or a mock-up would be most helpful. Probably the easiest way to supply some data would be something like df1 <- mydata[