[R] convert factor p000345 to numeric

2006-11-08 Thread Marco Boks
Dear All, I am lost about the following. I have got a large dataframe (largeset) with in the first column identification numbers as factors largeset$ID p000345 p000356 p000569 etc -- in order to use them to merge with another dataframe with numerical values (000345, 000356) I

[R] main= bquote(paste(Results for , beta, 3, ==.(b1)))) doesn't work.

2006-07-30 Thread Marco Boks
Hi, I need to plot the beta as the symbol, followed by the index 3 as the title of a graph. This code works main= bquote(paste(Results for , beta ==.(b1)) but I also need the index 3. I tried (simplified): plot(x,y, main= bquote(paste(Results for , beta, 3, ==.(b1 and a few other

[R] Main title of plot

2006-07-26 Thread Marco Boks
I am a newbie, and I am afraid this may be a rather trivial question. However I could not find the answer anywhere. I am plotting a series of plots with different values for p. In the main title of a plot I have used the following code: plot(a,b,type=l,ylim=c(0,1),