Re: [R] summary.formula()

2015-03-18 Thread Tom Wright
First you need to make the data pbc available, perhaps by: data(pbc, package="survival") Then the line: sf2<-summary(... looks wrong, usually you would use the summary() function to look at the output from a function, seems to me you are missing the function here. I have no idea what this functi

[R] summary.formula()

2015-03-04 Thread Hua Liang
I try to use t.test instead of Wilcox.test in summary.formula() , a very decent function developed by Frank, as follows. But I got error messages. Can someone help me out? Dick uT<-function(a,b){ j<-t.test(a) p<-list(P=j$p.value,stat=j$statistic, df=j$parameter,

[R] Summary.formula question

2012-02-02 Thread justin bem
Dear all, Before my question, I wish  to all of you my very best wishes for 2012. I'm using summary.formula to make table. I have something like this : s1<-summary(fdh~cup5+cup6+schef+cpro1+stratify(id2),data=dat,na.include=F) the output give the marginal row named overall, but is it possible to

Re: [R] Summary.Formula: prmsd and test statistic

2011-05-15 Thread Eli Kamara
I tried the modification but no luck. Here is exactly what I'm seeing. The command works fine, but when I add prmsd=TRUE the numbers disappear. > print(summary.formula(S~Kyph+Vert, data=radio, method="reverse", overall=T, > continuous=5, add=TRUE, test=T)) Descriptive Statistics by S ++---

Re: [R] Summary.Formula: prmsd and test statistic

2011-05-15 Thread David Winsemius
On May 14, 2011, at 11:23 AM, Eli Kamara wrote: Hello, I'm a new user to R so apologies if this is a basic question, but after scouring the web on information for summary.formula, I still am searching for an answer. I made a function to analyze my data - I have a categorical variable a

[R] Summary.Formula: prmsd and test statistic

2011-05-15 Thread Eli Kamara
Hello, I'm a new user to R so apologies if this is a basic question, but after scouring the web on information for summary.formula, I still am searching for an answer. I made a function to analyze my data - I have a categorical variable and three continuous variables. I am analyzing my continu

Re: [R] summary.formula and continuous variables

2010-03-22 Thread Frank E Harrell Jr
Erik Iverson wrote: Hello, I am using the summary.formula function in the Hmisc package to produce tables. With the "method" argument set to "response", the help says, "Continuous independent variables (see the ‘continuous’ parameter below) are automatically stratified into ‘g’ (see below)

[R] summary.formula and continuous variables

2010-03-22 Thread Erik Iverson
Hello, I am using the summary.formula function in the Hmisc package to produce tables. With the "method" argument set to "response", the help says, "Continuous independent variables (see the ‘continuous’ parameter below) are automatically stratified into ‘g’ (see below) quantile groups". B