Re: [R] Table of basic descriptive statistics like SPSS

2008-03-19 Thread Jim Lemon
Just to forestall confusion amongst those who would like to use one of the functions called "describe"... Hmisc package - describe numeric name count of observations count of missing values count of unique values mean seven quantiles five lowest and highest values discrete (factor o

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread ukoenig
Dear all, thank you very much for the provided support and all the hints, which were very helpful! Now I know how to continue. >See ?pdf >Please, note first search commands: >apropos("pdf") >RSiteSearch("latex") >Using these, you would have found by yourself the various corresponding >functions. P

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread John Kane
I don't think the OP was using Hmisc::describe. I think it was psych::describe. --- Frank E Harrell Jr <[EMAIL PROTECTED]> wrote: > John Kane wrote: > > #How Can I create a text file with the output of > > "describe"? > > sink('my.txt') > describe( ) > sink() > > If you use LaTeX you'll get mo

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread Frank E Harrell Jr
William Revelle wrote: > At 7:05 PM +0100 3/17/08, [EMAIL PROTECTED] wrote: >> Dear list readers, >> I want to: >> >> 1. Get a table of basic descriptive statistics for my variables >> with the variable names one below the other >> like SPSS descriptive statistics: >> >> Varname N Min Max Mean SD >

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread William Revelle
At 7:05 PM +0100 3/17/08, [EMAIL PROTECTED] wrote: >Dear list readers, >I want to: > >1. Get a table of basic descriptive statistics for my variables >with the variable names one below the other >like SPSS descriptive statistics: > >Varname N Min Max Mean SD >x x xx x >xxx x x

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread Philippe Grosjean
Jim Lemon wrote: > [EMAIL PROTECTED] wrote: >> Dear list readers, >> I want to: >> >> 1. Get a table of basic descriptive statistics for my variables >> with the variable names one below the other >> like SPSS descriptive statistics: >> >> Varname N Min Max Mean SD >> x x xx x >> xx

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-18 Thread Jim Lemon
[EMAIL PROTECTED] wrote: > Dear list readers, > I want to: > > 1. Get a table of basic descriptive statistics for my variables > with the variable names one below the other > like SPSS descriptive statistics: > > Varname N Min Max Mean SD > x x xx x > xxx x x xx x > ..

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread Frank E Harrell Jr
John Kane wrote: > #How Can I create a text file with the output of > "describe"? sink('my.txt') describe( ) sink() If you use LaTeX you'll get more (and better) output including tiny high-resolution histograms of continuous variables. Frank > > ?sink > ?write.table > ?write.csv > > #delete

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread Liviu Andronic
On Mon, Mar 17, 2008 at 7:05 PM, <[EMAIL PROTECTED]> wrote: > 1. Get a table of basic descriptive statistics for my variables > with the variable names one below the other > like SPSS descriptive statistics: [trimmed] > 2. Delete some variables from a data frame or exclude variables > from be

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread John Kane
#How Can I create a text file with the output of "describe"? ?sink ?write.table ?write.csv #delete some variables. ?Extract df[,-(10:12)] df[, 1:9] --- [EMAIL PROTECTED] wrote: > Dear list readers, > I want to: > > 1. Get a table of basic descriptive statistics for > my variables > with the

Re: [R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread Hank Stevens
Hi Udo, See the Hmisc and Design libraries by Frank Harrell, and some associated PDF docs by Alzola and Harrell describing data management and display. Hank On Mar 17, 2008, at 2:05 PM, [EMAIL PROTECTED] wrote: > Dear list readers, > I want to: > > 1. Get a table of basic descriptive statistic

[R] Table of basic descriptive statistics like SPSS

2008-03-17 Thread ukoenig
Dear list readers, I want to: 1. Get a table of basic descriptive statistics for my variables with the variable names one below the other like SPSS descriptive statistics: Varname N Min Max Mean SD x x xx x xxx x x xx x 2. Delete some variables from a data frame