[R] How to Package Extra Results to summary.lm

2008-03-21 Thread Matthew Dubins
ngth (arg 1) All I want is to have the extra Std.Estimate and Tolerance columns without changing anything else in the regression output. Any help is appreciated! Thanks, Matthew Dubins __ R-help@r-project.org mai

[R] Plotting numbers at a specified decimal length on a plot()

2007-09-23 Thread Matthew Dubins
nges to the precision! Thanks, Matthew Dubins __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

[R] Getting group-wise standard scores of a vector

2007-09-26 Thread Matthew Dubins
me. Is there anyway to apply this sort of calculation without splitting the original vector up? I tried a really complex ifelse statement but it didn't seem to work. Thanks in advance, Matthew Dubins __ R-help@r-project.org mailing list https

Re: [R] Getting group-wise standard scores of a vector

2007-09-26 Thread Matthew Dubins
Hi, Thanks so much! I got what I needed: z scores, according to group membership, in one vector. Matthew Dubins Erik Iverson wrote: > Hello - > > First, I doubt you really want to cbind() those two vectors within the > data.frame() function call. > > test.data <- dat

[R] R routines vs. MATLAB/SPSS Routines

2007-10-02 Thread Matthew Dubins
ve me (or rather, the inquiring student). Cheers, Matthew Dubins __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, mi

[R] Looped t.test results according to a subset variable

2007-10-22 Thread Matthew Dubins
int(t.test(formula, data = subset(data, sub == i), ...)) } } Is there already a similar function in some package? Thanks, Matthew Dubins __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the post

Re: [R] Looped t.test results according to a subset variable

2007-10-22 Thread Matthew Dubins
ote: > See by() > > Matthew Dubins wrote: >> Hi all, >> >> I wrote a simple function that gives me multiple t.test results >> according to a subset variable and am wondering whether or not I >> reinvented the wheel. Observe: >> >> t.test.sub &l

Re: [R] Looped t.test results according to a subset variable

2007-10-22 Thread Matthew Dubins
and 3). So far it seems like my method is more straightforward! Julian Burgos wrote: > Could you post some of your data and your initial test, and explain > why it didn't worked? It is difficult to figure out what is the > problem with your call to by(). > > Julian >

Re: [R] Looped t.test results according to a subset variable

2007-10-22 Thread Matthew Dubins
ample t-test > > data: percent by group > t = -0.1541, df = 3.506, p-value = 0.886 > alternative hypothesis: true difference in means is not equal to 0 > 95 percent confidence interval: > -66.87207 60.20541 > sample estimates: > mean in group High mean in group Low >