[R] S-Plus resample package and associated functions

2007-09-10 Thread Robert A. LaBudde
Are there any packages in R that reproduce the package resample of S-Plus? The sample() function in R doesn't provide equivalent flexibility of bootstrap() and bootstrap2(). Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL

Re: [R] stacking data frames with different variables

2007-09-09 Thread Muenchen, Robert A (Bob)
Perfect. Thanks Hadley! -Original Message- From: hadley wickham [mailto:[EMAIL PROTECTED] Sent: Sunday, September 09, 2007 10:11 AM To: Muenchen, Robert A (Bob) Cc: r-help@stat.math.ethz.ch Subject: Re: [R] stacking data frames with different variables Have a look at rbind.fill

Re: [R] NAs in indices

2007-09-04 Thread Muenchen, Robert A (Bob)
,F)] might make it obvious which were wanted. I'm surprised I didn't get caught by that long ago. Cheers, Bob -Original Message- From: Charles C. Berry [mailto:[EMAIL PROTECTED] Sent: Sunday, September 02, 2007 2:33 PM To: Muenchen, Robert A (Bob) Cc: r-help@stat.math.ethz.ch

Re: [R] Comparing transform to with

2007-09-04 Thread Muenchen, Robert A (Bob)
! Cheers, Bob -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Sunday, September 02, 2007 10:47 AM To: Muenchen, Robert A (Bob) Cc: r-help@stat.math.ethz.ch Subject: Re: [R] Comparing transform to with Try this version of transform. In the first test we

[R] NAs in indices

2007-09-02 Thread Muenchen, Robert A (Bob)
Hi All, I'm fiddling with an program to read a text file containing periods that SAS uses for missing values. I know that if I had the original SAS data set instead of a text file, R would handle this conversion for me. Data frames do not allow missing values in their indices but vectors do.

[R] Comparing transform to with

2007-09-01 Thread Muenchen, Robert A (Bob)
Hi All, I've been successfully using the with function for analyses and the transform function for multiple transformations. Then I thought, why not use with for both? I ran into problems couldn't figure them out from help files or books. So I created a simplified version of what I'm doing: rm(

Re: [R] Excel

2007-08-28 Thread Robert A LaBudde
At 01:21 AM 8/28/2007, David wrote: On Tue, 28 Aug 2007, Robert A LaBudde wrote: If you format the column as Text, you won't have this problem. By leaving the cells as General, you leave it up to Excel to guess at the correct interpretation. Not true actually. I had converted the column to Text

Re: [R] subset using noncontiguous variables by name (not index)

2007-08-27 Thread Muenchen, Robert A (Bob)
or SPSS less confusing. Is R still being extended in such basic ways, or does that muck up existing programs too much? Thanks, Bob -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Sunday, August 26, 2007 8:52 PM To: Muenchen, Robert A (Bob) Cc: r-help

[R] FW: subset using noncontiguous variables by name (not index)

2007-08-27 Thread Muenchen, Robert A (Bob)
27, 2007 10:25 AM To: Muenchen, Robert A (Bob) Cc: r-help@stat.math.ethz.ch Subject: Re: [R] subset using noncontiguous variables by name (not index) On Mon, 27 Aug 2007, Muenchen, Robert A (Bob) wrote: Gabor, That works great! I think this would be a very helpful addition

Re: [R] subset using noncontiguous variables by name (not index)

2007-08-27 Thread Muenchen, Robert A (Bob)
Thanks for helping me see why R doesn't have the obvious! -Bob -Original Message- From: Thomas Lumley [mailto:[EMAIL PROTECTED] Sent: Monday, August 27, 2007 2:12 PM To: Muenchen, Robert A (Bob) Subject: RE: [R] subset using noncontiguous variables by name (not index) On Mon, 27

Re: [R] Excel

2007-08-27 Thread Robert A LaBudde
. Clicking on that entry it showed 1/08/2699. In a column of character data, Excel had interpreted AUG2699 as a date. The .csv did not actually have a date in that cell, but if I had saved the .csv file it would have. David Scott Robert

[R] subset using noncontiguous variables by name (not index)

2007-08-26 Thread Muenchen, Robert A (Bob)
Hi All, I'm using the subset function to select a list of variables, some of which are contiguous in the data frame, and others of which are not. It works fine when I use the form: subset(mydata,select=c(x1,x3:x5,x7) ) In reality, my list is far more complex. So I would like to store it in a

Re: [R] subset using noncontiguous variables by name (not index)

2007-08-26 Thread Muenchen, Robert A (Bob)
: http://oit.utk.edu/scc, News: http://listserv.utk.edu/archives/statnews.html = -Original Message- From: Bert Gunter [mailto:[EMAIL PROTECTED] Sent: Sunday, August 26, 2007 6:50 PM To: 'Gabor Grothendieck'; Muenchen, Robert

[R] Saving results from Linux command line

2007-08-24 Thread Muenchen, Robert A (Bob)
Hi All, I'm used to running R on Windows learning Linux. I know ESS is the way to go in the long run, but I'm trying now to just understand the command line. I can interactively enter commands, see the results on the screen and save input output to myresults.txt with this approach: $script

Re: [R] Saving results from Linux command line

2007-08-24 Thread Muenchen, Robert A (Bob)
, August 24, 2007 10:01 AM To: Muenchen, Robert A (Bob); r-help@stat.math.ethz.ch Subject: Re: [R] Saving results from Linux command line Go for the best and do it with ESS. ESS understands the file extension myfile.rt (not myfile.txt, which is generic) as an R transcript and therefore font

Re: [R] Saving results from Linux command line

2007-08-24 Thread Muenchen, Robert A (Bob)
I looked long and hard for that information. Thank you VERY much! -Bob -Original Message- From: Richard M. Heiberger [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 1:52 PM To: Muenchen, Robert A (Bob); r-help@stat.math.ethz.ch Subject: Re: [R] Saving results from Linux

Re: [R] Saving results from Linux command line

2007-08-24 Thread Muenchen, Robert A (Bob)
As the help files says, ...like the Unix program tee. I thought sink only diverted to a file. Thanks! -Bob -Original Message- From: Thomas Lumley [mailto:[EMAIL PROTECTED] Sent: Friday, August 24, 2007 2:17 PM To: Muenchen, Robert A (Bob) Cc: r-help@stat.math.ethz.ch Subject: Re: [R

Re: [R] chi-square statistics

2007-08-23 Thread Robert A LaBudde
the corresponding pvalues for each values in x. ? pchisq E.g. pchisq(x, df, lower.tail=FALSE) Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824

Re: [R] Changing font in boxplots

2007-08-08 Thread Robert Baer
Hi John, Thanks so much for such a quick reply. I have tried to set all to Times font running par(font.lab=6) (not 4, maybe this is a local setting on my machine?) but now the boxplot shown has the x and y labels in Times New Roman and the x and y axis still in Arial. Any idea why R is

[R] Conditional logistic regression on n:m matched cohort data

2007-07-22 Thread Robert A. LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

[R] Conditional logistic regression on n:m matched cohort data [Corrected]

2007-07-22 Thread Robert A. LaBudde
? Thanks. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239

Re: [R] Effect size, interactions, and main effects (Stats Question) [ffmanova]

2007-07-21 Thread Robert A LaBudde
the main question is fair, are there general guidlines concerning the relationship between level of significance and effect size for interaction terms. Thank you in advance for your help, Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e

Re: [R] Flow Cytometry Standard, fcs format in R.

2007-07-13 Thread Robert Gentleman
do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- Robert Gentleman, PhD Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2

Re: [R] No convergence using ADAPT

2007-07-07 Thread Robert A LaBudde
guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http

[R] A really simple data manipulation example

2007-06-26 Thread Robert Wilkins
In response to those who asked for a better explanation of what the Vilno software does, here's a simple example that gives some idea of what it does. LABRESULTS is a dataset with multiple rows per patient , with lab sodium measurements. It has columns: PATIENT_ID, VISIT_NUM, and SODIUM. DEMO is

[R] Has anyone tryed out my software?

2007-06-25 Thread Robert Wilkins
Hello all, Has anyone ( who uses a Linux desktop ) tryed out my stuff I mentioned a few weeks ago? Perhaps installed it and run a couple of example programs? If you have, tell me what you think. Robert ( it's the tarball in the download section at http://code.google.com/p/vilno , discussed

[R] compiler cannot create executables

2007-06-20 Thread Robert Dunne
Hi List, I get an error message compiler cannot create executables when I try to install a package. Searching the list archives reveals many messages with the same error message. The advice is generally to install g++ and development libraries. However, I have g++ installed and can compile

Re: [R] Speed up R

2007-06-20 Thread Robert McFadden
-Original Message- From: Prof Brian Ripley [mailto:[EMAIL PROTECTED] The advantage of dual processors is that you can use the machine for several things at once, including multiple R jobs. For example, when I am doing package checking I am typically checking 4 packages at once

Re: [R] outlying

2007-06-19 Thread Robert A LaBudde
Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

[R] Speed up R

2007-06-19 Thread Robert McFadden
Dear R Users, I hope that there is someone who has an experience with a problem that I describe below and will help me. I must buy new desktop computer and I'm wondering which processor to choose if my only aim is to speed up R. I would like to reduce a simulation time - sometimes it takes days.

Re: [R] Optimization

2007-06-18 Thread Robert A LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

Re: [R] Iterative Solver [Converting Matlab's solve()]

2007-06-18 Thread Robert A LaBudde
place a ) after y). 3. To find numerical roots, see uniroot(). 4. If you want more help, you'll have to specify domains or values for x and y. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations

Re: [R] [Not R question]: Better fit for order probit model

2007-06-17 Thread Robert A LaBudde
At 01:29 PM 6/17/2007, adschai wrote: Thank you so much Robert. Please find the information below. The scale 1-10 are subjective physical condition ratings scored by inspection engineers at the site. 1-5 are in very bad conditions (bridge close down to seriously deteriorated). The rest from 6

Re: [R] [Not R question]: Better fit for order probit model

2007-06-16 Thread Robert A LaBudde
At 03:17 AM 6/16/2007, adschai wrote: Thank you so much Robert. I haven't thought about the idea of clumping categories together. One of the reason is because these categories are bridge condition rating scores. They indeed represent different meaning and serviceability conditions. They vary

[R] interpretation of F-statistics in GAMs

2007-06-15 Thread robert . ptacnik
append two summaries below. Thanks in advance, Robert ### example 1 ### Family: gaussian Link function: identity Formula: dep[sel, i] ~ s(date, k = 3) + s(depth, k = kn) + s(temp, k = kn) + s(light, k = kn) + s(PO4, k = kn) + s(DIN, k = kn) + s(prop.agpla, k = kn) Parametric coefficients

Re: [R] [Not R question]: Better fit for order probit model

2007-06-15 Thread Robert A LaBudde
utilized. And don't use so many categories. People have trouble even selecting responses on a 5-level scale. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com

Re: [R] Tools For Preparing Data For Analysis

2007-06-14 Thread Robert Wilkins
[ Arrggh, not reply , but reply to all , cross my fingers again , sorry Peter! ] Hmm, I don't think you need a retain statement. if first.patientID ; or if last.patientID ; ought to do it. It's actually better than the Vilno version, I must admit, a bit more concise: if ( not

[R] Difficulties With Posting To Ongoing Threads on the R Mailing List

2007-06-13 Thread Robert Wilkins
A number of people are having the same problem as me, when you post as a response to an ongoing thread, in place of your message, the following message appears: An embedded charset-unspecified text was scrubbed ... and a link is given that leads to the desired message. It's better than nothing

[R] Where to Find Data Transformation Software

2007-06-13 Thread Robert Wilkins
Hello All, Here is the requested information. Most of it was on the original post for the Tools For Preparing Data For Analysis thread from last week, but it got overlooked. They are all given under an open source license. Check 'em out! ***

Re: [R] Appropriate regression model for categorical variables

2007-06-12 Thread Robert A LaBudde
. Consider a change to white, nonwhite. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia

[R] Awk and Vilno

2007-06-12 Thread Robert Wilkins
In clinical trial data preparation and many other data situations, the statistical programmer needs to merge and re-merge multiple input files countless times. A syntax for merging files that is clear and concise is very important for the statistical programmer's productivity. Here is how Vilno

Re: [R] pretty report

2007-06-12 Thread Robert A LaBudde
snip Note that files with a .csv extension are also associated with Excel and can opened with a double-click. Comma-separated-value files also can be unambiguously loaded by Excel without parsing. Robert A. LaBudde, PhD, PAS, Dpl

Re: [R] p-value from GEE why factor 2*pnorm?

2007-06-11 Thread Robert A LaBudde
Wald confidence interval, which obviously assumes a normal distribution applies. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive

Re: [R] Windows vista's early terminate Rgui execution

2007-06-10 Thread Robert A LaBudde
with. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947

Re: [R] What ECDF function?

2007-06-09 Thread Robert A LaBudde
are not very accurate, so the differences between these formulae are difficult to justify in practice. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824

Re: [R] Tools For Preparing Data For Analysis

2007-06-09 Thread Robert Wilkins
, that would be optimal for some of us. I would like to learn a tad more, if it were not too much effort for someone else to point me in the right direction? Cheers, Hank On Jun 8, 2007, at 8:47 AM, Douglas Bates wrote: On 6/7/07, Robert Wilkins [EMAIL PROTECTED] wrote: As noted on the R-project

Re: [R] What ECDF function?

2007-06-09 Thread Robert A LaBudde
At 06:36 PM 6/9/2007, Marco wrote: On 6/9/07, Robert A LaBudde [EMAIL PROTECTED] wrote: At 12:57 PM 6/9/2007, Marco wrote: snip snip Hmmm I'm a bit confused, but very interested! So you don't use the R ecdf, do you? Only when an i/n edf is needed (some tests, such as ks.test() are based

Re: [R] pnorm how to decide lower-tail true or false

2007-06-08 Thread Robert A LaBudde
should use pnorm(z, lower.tail=FALSE) instead of 1-pnorm(z) because the former returns a more accurate answer for large z. This is really simple issue, and has no inherent complexity associated with it. Robert A. LaBudde, PhD, PAS, Dpl

[R] glm() for log link and Weibull family

2007-06-08 Thread Robert A. LaBudde
(link='log')) but this doesn't quite do the trick. The standardized deviance residuals are still curved away from normal at the tails. Thanks for any info you can give on this nonstandard model. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS

[R] How do you do an e-mail post that is within an ongoing thread?

2007-06-08 Thread Robert Wilkins
That may sound like a stupid question, but if it confuses me, I'm sure it confuses others as well. I've tried to find that information on the R mail-group info pages, can't seem to find it. Is it something obvious? To begin a brand new discussion, you do your post as an e-mail sent to

[R] Tools For Preparing Data For Analysis

2007-06-07 Thread Robert Wilkins
(desparately) looking for employment. But once I've found new employment and living quarters and settled in, I will continue to enhance Vilno in my spare time. The founder: that would be me, Robert Wilkins Find it at: code.google.com/p/vilno ( GNU GPL ) ( In particular, the tarball

Re: [R] Tools For Preparing Data For Analysis

2007-06-07 Thread Robert Duval
An additional option for Windows users is Micro Osiris http://www.microsiris.com/ best robert On 6/7/07, Robert Wilkins [EMAIL PROTECTED] wrote: As noted on the R-project web site itself ( www.r-project.org - Manuals - R Data Import/Export ), it can be cumbersome to prepare messy and dirty

[R] Why is the R mailing list so hard to figure out?

2007-06-04 Thread Robert Wilkins
on ). What's the best way to view and read discussions in this group for recent days? Can I view the postings for the current day via Google Groups? I hope I'm posting correctly. What does ethz and ch stand for? Is ch for Switzerland? Robert __ R-help

Re: [R] Finding density curve peak

2007-06-02 Thread Robert A LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

[R] How to reference or sort rownames in a data frame

2007-05-27 Thread Robert A. LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

Re: [R] How to reference or sort rownames in a data frame

2007-05-27 Thread Robert A LaBudde
in R. At 10:29 PM 5/27/2007, Gabor wrote: On 5/27/07, Robert A. LaBudde [EMAIL PROTECTED] wrote: As I was working through elementary examples, I was using dataset plasma of package HSAUR. In performing a logistic regression of the data, and making the diagnostic plots (R-2.5.0) data(plasma

[R] Curve crosses back to origin in plot

2007-05-27 Thread Robert A. LaBudde
to be determined by inspection. Thanks again for answering these simple questions that seem to be the hardest to find answers for. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL

[R] File path expansion

2007-05-25 Thread McGehee, Robert
solution of converting ~ to its full path expansion. Thanks, Robert __ 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

[R] The paper also presents a very brief introduction to the entire flow of video compression.

2007-05-24 Thread Robert Castillo
T2Y.F IST 300% GESTIEGEN. ES WIRD 500% KURSSPRUNG ERWARTET. TYCHE ENERGY KURZEL: T2Y.F HANDELSPLATZ: FRANKFURT 5-TAGE ZIEL: 1 EURO T2Y.F RALLYE IST GESTARTET. SEIEN SIE DABEI! KAUFEN WAEHREND ES NOCH BILLIG IST. LASSEN SIE SICH DIESE CHANCE NICHT ENTGEHEN! For any assistance for creating . time

[R] sequentially process a list

2007-05-21 Thread Robert
Hi dear R users, I'm a R beginner and I have a basic question about sequential treatments of lists. I have a time based (i.e. events are consecutive) list of values of a biological property. Like : time value 15 210 3 7 4 10 5 19 6 21 7 20 8

[R] length, mean, na.rm, na.omit...

2007-05-18 Thread Muenchen, Robert A (Bob)
Hi All, Can anyone tell me why the length function does not use na.rm? I know how to work around it, I'm just curious to know why such a useful option was left out. I'm also interested in the logic of setting na.rm=TRUE as the default on mean, sd, etc. This is the opposite of the many other stat

Re: [R] Vignettes menu

2007-05-09 Thread Robert Gentleman
, it seems to me to be entirely an R question, if someone wants to know how to remove a menu item from the windows version, that seems to be a pretty general question about manipulating R, and has nothing to do with any specific package. Robert Prof Brian Ripley wrote: Please ask questions about

Re: [R] Log-likelihood function

2007-05-02 Thread Robert A LaBudde
sure you are performing the same fit in both cases. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757

Re: [R] upgrade to 2.5

2007-05-02 Thread Robert A LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757

Re: [R] Is R's fast fourier transform function different from fft2 in Matlab?

2007-05-02 Thread Robert A LaBudde
= 6.7500-4.2500 -5.2500 3.7500 I also tried mvfft with inverse but can't get same result with ifft2. Does any function work? Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations

Re: [R] Survival statistics--displaying multiple plots

2007-05-02 Thread Robert A LaBudde
. I am unsure about how to go about this. Any suggestions would be appreciated. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive

Re: [R] Survival statistics--displaying multiple plots

2007-05-02 Thread Robert A LaBudde
:09 AM 5/3/2007, Greg wrote: Thanks for replying Robert. Forgive me, it might be the hour or my limitations, but I am a little unclear on how to implement your suggestion. In my original example, plot(survfit(Surv(days,status==1),subset(tips,meld10)) A plot of the fraction of patients surviving

Re: [R] bivariate normal distribution in likelihood

2007-04-30 Thread Robert A LaBudde
. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive Tel: 757-467-0954 Virginia Beach, VA 23464-3239Fax: 757-467-2947 Vere scire est per causas scire

[R] Limit on vector evaluation

2007-04-27 Thread Robert Barber
Dear R Experts, Why I try to run this expression: x-sapply(rnorm(rep(10,10),mean=9,sd=1.5),mean) it evaluates the first 1 values and then stops, but does not return to the command prompt. My cpu keeps running at 100%. When I exit the expression with CTL-C, I then see that x holds

Re: [R] How to solve difficult equations?

2007-04-25 Thread Robert A LaBudde
this numerically? Is it a single instance of a larger, more general problem? Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824 Timberlake Drive

[R] understanding round() behavior

2007-04-24 Thread Robert Duval
anybody help me understand what I'm missing here? Thanks again for your help. Robert __ 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

Re: [R] How to write a function?

2007-04-24 Thread Robert Duval
Hi Keti Before reinventing the wheel from scratch you might want to take a look at the survey package http://faculty.washington.edu/tlumley/survey/ best robert On 4/24/07, Keti Cuko [EMAIL PROTECTED] wrote: Hi, My name is Katie and I was wondering if you could help me with my problem. I am

[R] Use of Lexis function to convert survival data to counting format

2007-04-24 Thread Robert A. LaBudde
something to do with 'start' and 'stop', of which arguments I am apparently clueless as to the meaning. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least Cost Formulations, Ltd.URL: http://lcfltd.com/ 824

Re: [R] summary and min max

2007-04-23 Thread Robert Duval
but this is not elegant and unpractical when one doesn't know in advance the magnitude of a number) robert On 4/23/07, Mike Prager [EMAIL PROTECTED] wrote: Sebastian P. Luque [EMAIL PROTECTED] wrote: I came across a case where there's a discrepancy between minimum and maximum values

Re: [R] Using R to create pdf's from each file in a directory

2007-04-20 Thread Robert A LaBudde
will amplify gecko951's question to include How you you concatenate two strings in R?. I.e., x-abc y-def What operator or function returns abcdef as a result? Thanks. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least

Re: [R] Using R to create pdf's from each file in a directory

2007-04-20 Thread Robert A LaBudde
. Replace pdf(/tmp/graph/x.pdf) with pdf(paste(paste('/tmp/graph/',x,sep=''),'.pdf',sep='')) and the program should now work for the different file names. Robert A. LaBudde, PhD, PAS, Dpl. ACAFS e-mail: [EMAIL PROTECTED] Least

Re: [R] Gentleman and Ihaka , 2000 paper question

2007-04-18 Thread Robert Gentleman
still works, as written some unbelievably long time ago) Robert Mark This is not an offer (or solicitation of an offer) to buy/se...{{dropped}} __ R-help@stat.math.ethz.ch mailing

Re: [R] help comparing two median with R

2007-04-17 Thread Robert McFadden
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Lemon Sent: Tuesday, April 17, 2007 12:37 PM To: Pedro A Reche Cc: r-help@stat.math.ethz.ch Subject: Re: [R] help comparing two median with R Pedro A Reche wrote: Dear R users, I am new

[R] software comparison

2007-04-15 Thread Robert McFadden
Dear R Users, May be you are interested in an article that compares 9 statistical softwares (including R). Any comments are appreciate. Article: Keeling, Kellie B.; Pavur, Robert J.A comparative study of the reliability of nine statistical software packages Computational Statistics and Data

[R] graphs superimposed on pictures?

2007-04-11 Thread Robert Biddle
to put a background picture on a plot window, but I have not found anything. Advice, anyone? Cheers Robert Biddle __ 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

Re: [R] graphs superimposed on pictures?

2007-04-11 Thread Robert Biddle
uses the term image for something different. I was also imagining it would be some kind of background parameter, and it wasn't. :-( Anyway, thanks again: I now have what I need. Robt David Forrest wrote: On Wed, 11 Apr 2007, Robert Biddle wrote: Hi: I am doing some work that involves plotting

Re: [R] Reasons to Use R

2007-04-11 Thread Robert Duval
to come? robert On 4/11/07, Marc Schwartz [EMAIL PROTECTED] wrote: On Wed, 2007-04-11 at 11:26 -0500, Marc Schwartz wrote: On Wed, 2007-04-11 at 17:56 +0200, Bi-Info (http://members.home.nl/bi-info) wrote: I certainly have that idea too. SPSS functions in a way the same, although

[R] do.call vs. lapply for lists

2007-04-09 Thread Muenchen, Robert A (Bob)
Hi All, I'm trying to understand the difference between do.call and lapply for applying a function to a list. Below is one of the variations of programs (by Marc Schwartz) discussed here recently to select the first and last n observations per group. I've looked in several books, the R FAQ and

Re: [R] do.call vs. lapply for lists

2007-04-09 Thread Muenchen, Robert A (Bob)
= -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Monday, April 09, 2007 1:06 PM To: Muenchen, Robert A (Bob) Cc: R-help@stat.math.ethz.ch Subject: Re: do.call vs. lapply for lists On Mon, 2007-04-09 at 12:45 -0400, Muenchen, Robert A (Bob) wrote: Hi All

[R] clear console

2007-04-05 Thread Robert McFadden
Hi R Users, In Windows I can clear console using CTRL-L, but can I do this by certain command in my programs? e.g for (i in 1:10){ something clear console } Best, Rob [[alternative HTML version deleted]] __

Re: [R] clear console

2007-04-05 Thread Robert McFadden
Gabor thank you very much. It works wonderful. Rob -Original Message- From: Gabor Grothendieck [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 1:39 PM To: Robert McFadden Cc: r-help@stat.math.ethz.ch Subject: Re: [R] clear console Check out: http

Re: [R] Device drivers - png()/jpeg()

2007-04-02 Thread Robert McFadden
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Schmitt, Corinna Sent: Monday, April 02, 2007 2:58 PM To: r-help@stat.math.ethz.ch Subject: [R] Device drivers - png()/jpeg() Hallo R-experts, I produced a R graphic with the help of the

Re: [R] Keep R packages in the R installation

2007-04-01 Thread Robert Duval
posting guide best robert On 4/1/07, Tong Wang [EMAIL PROTECTED] wrote: Hi, I just got a quick question here, when I install a new version of R , is there an easy to keep the installed R packages ? Thanks a lot for any help. tong __ R

Re: [R] how to get lsmeans?

2007-03-23 Thread Muenchen, Robert A (Bob)
, Robert A (Bob) Cc: R-help@stat.math.ethz.ch Subject: RE: [R] how to get lsmeans? From: Douglas Bates On 3/22/07, Muenchen, Robert A (Bob) [EMAIL PROTECTED] wrote: Perhaps I'm stating the obvious, but to increase the use of R in places where SAS SPSS dominate, it's important to make

Re: [R] how to get lsmeans?

2007-03-22 Thread Muenchen, Robert A (Bob)
Hi All, Perhaps I'm stating the obvious, but to increase the use of R in places where SAS SPSS dominate, it's important to make getting the same answers as easy as possible. That includes things like lsmeans and type III sums of squares. I've read lots of discussions here on sums of squares I'm

Re: [R] Select the last two rows by id group

2007-03-21 Thread Muenchen, Robert A (Bob)
= -Original Message- From: Marc Schwartz [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 20, 2007 8:58 PM To: Muenchen, Robert A (Bob) Cc: R-help@stat.math.ethz.ch Subject: Re: [R] Select the last two rows by id group On Tue, 2007-03-20

[R] Snow Package and SPRNG: Will it solve my problem?

2007-03-21 Thread robert . robinson
Hello and thanks in advance for your time. I currently have a simulation running on my cluster with the help of snow that relies on global variables being changes regularly to random values. It uses these values, lets call them x1 x2 and x3, in custom functions for logliklyhood and

Re: [R] Select the last two rows by id group

2007-03-20 Thread Muenchen, Robert A (Bob)
Very nice! This is almost duplicates the SAS first.var and last.var ability to choose the first and last observations by group(s). Substituting the head function in where Marc has the tail function below will adapt it to the first n. It is more flexible than the SAS approach because it can do the

[R] dataframe layout

2007-03-14 Thread Robert Baer
Can someone remind me how to change the columns in df.a into a two column df.b that contains one column of data and another column of the original column headings as levels. Example: a=1:3 b=4:6 c=7:9 df.a=data.frame(a,b,c) Should become in df.b: dat lev 1 a 2 a 3 a 4 b 5

[R] aic for lrm

2007-03-13 Thread Robert Rodick
I cannot seem to get the aic or extractaic call to work with multinomial logistic regression models. Here is what I am doing: library('Design') lrm1-lrm(r1~p1) #where p1 is multinomial and r1 is binomial library('MASS') aic(lrm1) Error in if (fam %in% c(gaussian, Gamma, inverse.gaussian)) p - p

Re: [R] R for copying and pasting selected image files?

2007-03-12 Thread Robert Baer
You don't tell us your OS, but the system() command should let you use your OS to copy/move files on most OSs. see ?system Other commands that might be helpful for this job are: ?setwd ?getwd ?dir - Original Message - From: Kim Milferstedt [EMAIL PROTECTED] To:

Re: [R] R code for Statistical Models in S ?

2007-03-01 Thread Robert Duval
You might want to start looking at the FAQ's http://cran.r-project.org/faqs.html in particular http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-and-S robert On 3/1/07, Charilaos Skiadas [EMAIL PROTECTED] wrote: I just acquired a copy of Statistical Models in S, I guess most commonly known

Re: [R] R in linux

2007-02-28 Thread Robert Lischke
hi, there are a couple of alternatives, i'm sure someone is going to bring up vi/emacs ;) i'd suggest you take a look at rkward (http://rkward.sourceforge.net/) and eclipse with the statet-plugin (http://www.eclipse.org/, http://www.walware.de/goto/statet). depending on which desktop your

Re: [R] Examples on how to READ/WRITE to database using R-Project

2007-02-21 Thread Robert Baer
We are working on a project on forecast modeling and would like to know if there are any examples on how to READ/WRITE to a database (e.g. PostgreSQL) using R-Project. I do have a sample R Script which takes input as files from a directory and writes back output files to a directory. I

Re: [R] simpleR or usingR package by Verzani

2007-02-15 Thread Robert Baer
I think the name of what you want is simple.freqpoly() Try: library(UsingR) ?simple.freqpoly HTH, Rob Baer I am a new R user and so I thought I could start with Using R for Introductory statistics by Verzani. In order to use some of the functions and datasets I have to install the simpleR

  1   2   3   4   5   >