Hello,
I am migrating to R from Stata. However, I am having much trouble producing a simple, clean table of descriptive statistics. In Stata, I can type:
summarize v1 v2 v3
and get a table with variable names in the first column followed by the number of observations, means, sds, and min/max statistics for each variable. I have tried many different things, but I have so far failed to produce something of similar simplicity in R.
Is there a way print simple descriptive statistics like this in R?
I know that this is a very basic question, and I appreciate any help I receive.
I am migrating to R from Stata. However, I am having much trouble producing a simple, clean table of descriptive statistics. In Stata, I can type:
summarize v1 v2 v3
and get a table with variable names in the first column followed by the number of observations, means, sds, and min/max statistics for each variable. I have tried many different things, but I have so far failed to produce something of similar simplicity in R.
Is there a way print simple descriptive statistics like this in R?
I know that this is a very basic question, and I appreciate any help I receive.