Re: [R] Combining multiple datasets

2008-08-22 Thread bogdan romocea
Here's a function that does what you asked, you may need to adjust the column names of your data frames before using it. If all your data frames are similar (same number of rows, same years) then try do.call('cbind', yourList). #This function takes a list of data frames and merges them into one

[R] job ad: Marketing Statistician, Cleveland OH

2008-01-30 Thread bogdan romocea
AmTrust Bank headquartered in Cleveland OH (founded in 1889, one of the 50 largest banks in the US, with more than $18 billion in assets) has an opening for a Marketing Statistician in the Business Intelligence group. ===Essential Job Duties: - Apply various data analysis techniques to address b

Re: [R] I need arguments pro-S-PLUS and against SAS...

2008-01-08 Thread bogdan romocea
> John Sorkin wrote: > The difference is not so much the language > as the end users. > S-Plus, R, SAS, etc. are all similar in that > they are all tools to an end and not an end > in themselves. Try to find one user who: 1. is familiar with both SAS and R/S-Plus; 2. has to do real data analys

Re: [R] A function for random test based on longest run (UNCLASSIFIED)

2007-12-27 Thread bogdan romocea
> require(tseries) > ?runs.test Also, take a look at dieharder, it implements a large number of randomness tests: http://www.phy.duke.edu/~rgb/General/dieharder.php > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Park, > Kyong H Mr ECBC > Sent:

Re: [R] Scatterplot Showing All Points

2007-12-18 Thread bogdan romocea
Another approach which I'm pleased with but was not suggested so far is jitter + kde2d from MASS: plot(jitter(x), jitter(y)) if (!exists("kde2d")) require(MASS) kdesamp <- 2 #depending on your RAM forkde <- if (kdesamp < length(x)) sample(1:length(x), kdesamp, replace=FALSE) else 1:length(x)

Re: [R] calculating the number of days from dates

2007-12-18 Thread bogdan romocea
> Sorry for using library instead package, but > library() is one command for using packages. ... which is why all efforts to make folks say "package" instead of >> "library" << are doomed to fail, IMHO. Besides, in English, "library" also means "a collection of software or data usually reflecting

Re: [R] Checking for adequate disk space

2007-10-03 Thread bogdan romocea
Run df from R; here's an example (run on Interix): $ df /dev/fs/C/WINDOWS Filesystem 512-blocks Used Available Capacity Type Mounted on //HarddiskVolume2 77706400 34632424 4307397645% ntfs /dev/fs/C See man df for details. > -Original Message- > From: [EMAIL