Re: [R] teaching R

2009-08-26 Thread Robert W. Baer, Ph.D.
Hello all, I am going to be running a small statistics workshop using R sometime in November. I am restricted to R because of the specific libraries I will be using - a good thing in my book - however the attendees are unfamiliar with R. I plan on giving as little R information as possible - ju

Re: [R] Rcmdr GUI goes into loop via alt+backspace under Windows OS

2009-07-22 Thread Robert W. Baer, Ph.D.
It just produces the "bell" sound on my 32-bit windows XP machine runing R 2.9.1 Is this really a "standard" combination? I know a lot of programs that use ctrl-Z, but I've never come across this shortcut key combination for undo. - Original Message - From: "tradenet" To: Sent:

[R] Windowing issue with diagram package & R 9.1

2009-06-30 Thread Robert W. Baer, Ph.D.
,1]<-1 ;M[4,2]<-2;M[3,4]<-3;M[1,3]<-4 Col <- M Col[] <- "black" Col[4,2] <- "darkred" pp<-plotmat(M,pos=c(1,2,1),curve=0.2,name=names,lwd=1,box.lwd=2,cex.txt=0.8, arr.type="triangle",box.size=0.1,box.type="hexa",box.prop=0.25, arr.co

Re: [R] renaming column names

2009-06-01 Thread Robert W. Baer, Ph.D.
First, data is an R function so it is better to avoid it as a name for another object. For example, use dat instead. Try this: data(iris) dat=iris colnames(iris) [1] "Sepal.Length" "Sepal.Width" "Petal.Length" "Petal.Width" "Species" colnames(dat) [1] "Sepal.Length" "Sepal.Width" "Petal.Le

Re: [R] Zoo or TS

2009-02-22 Thread Robert W. Baer, Ph.D.
You have not really made it clear what you are trying to do, and I don't see the zoo vs ts involvement in your question. Also, your test data and code snippet you give are not quite consistent. Thus, my advice is really a long-shot guess. Assume your data looks like: Time Date Rank Topic Titl

Re: [R] 2-Y-axes on same plot

2008-12-11 Thread Robert W. Baer, Ph.D.
Joe Trubisz wrote: Hi... Is this possible in R? I have 2-sets of data, that were collected simultaneously using 2-different data acquisition schemes. The x-values are the same for both. The y-values have different ranges (16.4-37.5 using one method, 557-634 using another). In theory, if yo

Re: [R] read SAS file

2008-11-13 Thread Robert W. Baer, Ph.D.
You need to load the foreign package first. library(foreign) - Original Message - From: "b g" <[EMAIL PROTECTED]> To: Sent: Monday, November 10, 2008 12:28 PM Subject: [R] read SAS file Looked at a lot of documentation and listserv postings and still can't solve this problem. I ne

Re: [R] Fw: Logistic regresion - Interpreting (SENS) and (SPEC)

2008-10-13 Thread Robert W. Baer, Ph.D.
- Original Message - From: "Frank E Harrell Jr" <[EMAIL PROTECTED]> To: "John Sorkin" <[EMAIL PROTECTED]> Cc: ; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, October 13, 2008 2:09 PM Subject: Re: [R] Fw: Logistic regresion - Interpreting (SENS) and (SPEC) John Sorkin wrote

Re: [R] Sampling

2008-10-10 Thread Robert W. Baer, Ph.D.
How about: T2=rnorm(1000) temp=list(NULL) for(i in 1:5){temp[[i]]<-sample(T2,40,replace=F)};show(temp) - Original Message - From: "Rolf Turner" <[EMAIL PROTECTED]> To: "Alex99" <[EMAIL PROTECTED]> Cc: Sent: Friday, October 10, 2008 3:36 PM Subject: Re: [R] Sampling On 11/10/2008