Re: [R] Creating an instance of R from MS Access?

2007-07-30 Thread D L McArthur
Felipe Carrillo  yahoo.com> writes:
> Hi all:
> Does anyone know if it's at all possible to create a
> connection to R from MS access? ...
>   
See function "odbcConnectAccess" in package RODBC.  
--D L McArthur  ucla.edu

__
R-help@stat.math.ethz.ch 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.


Re: [R] OT(slightly) - Tracking extended projects

2007-07-24 Thread D L McArthur
James MacDonald  med.umich.edu> writes:

> 
> Hi all,
> 
> Most of the analyses I do are short little once-and-done type things that are 
easily encapsulated in a .Rnw
> file. However, I sometimes end up with projects that take an extended amount 
of time. Usually these
> projects are not easily encapsulated in an .Rnw file, so I have been using a 
single .R file with lots of comments.
> 
> The problem with this approach is keeping track of what you have done and 
what the results were. Once the .R
> file gets to be a certain size, the comments aren't as useful, and I find it 
easy to get lost. I have to assume
> that others have encountered this problem and hopefully have come up with 
something more elegant.
> 
> Any suggestions?
> 
> Best,
> 
> Jim
> 
One possible choice is the intuitively structured approach of "Projects" in 
Tinn-R (see http://www.sciviews.org/Tinn-R/).
 -- D L McArthur   ucla.edu>

__
R-help@stat.math.ethz.ch 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.


Re: [R] summarizing dataframe at variable/factor levels

2007-07-05 Thread D L McArthur
Afshartous, David  exchange.sba.miami.edu> writes:

> All,
> Is there an efficient way to apply say "mean" or "median" to a dataframe
> according to say all combinations of two variables in the dataframe?
> ..[snip]..
> 
See function summaryBy in package doBy

__
R-help@stat.math.ethz.ch 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.


Re: [R] Packages in R for least median squares regression a nd computing outliers (thompson tau technique etc. )

2007-02-28 Thread D L McArthur
lalitha viswanath  yahoo.com> writes:
> 
> Hi
> I am looking for suitable packages in R that do
> regression analyses using least median squares method
> (or better). Additionally, I am also looking for
> packages that implement algorithms/methods for
> detecting outliers that can be discarded before doing
> the regression analyses
> 
Function lmsreg in package MASS provides least median of 
squares regression estimator.  See RR Wilcox, Introduction 
to Robust Estimation and Hypothesis Testing, Elsevier 2005 
and a wealth of corresponding R functions for robust data
analyses available at 
http://psychology.usc.edu/faculty_homepage.php?id=43

__
R-help@stat.math.ethz.ch 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.