similar to: Superscript in y-axis of plot

Displaying 20 results from an estimated 3000 matches similar to: "Superscript in y-axis of plot"

2011 Apr 13
5
Clearing Console; of weeks of codes!
Dear All: I do see I have weeks of codes in my console when I check with my arrow up keys. I have been clearing them with Control L but it seems to clear it clear the screen temporally. I do see the previous codes again when I open R the next day, after quitting the session! Q: How do I clear this? Thanks; YA -- View this message in context:
2010 Aug 27
3
predict.loess and NA/NaN values
Hi! In a current project, I am fitting loess models to subsets of data in order to use the loess predicitons for normalization (similar to what is done in many microarray analyses). While working on this I ran into a problem when I tried to predict from the loess models and the data contained NAs or NaNs. I tracked down the problem to the fact that predict.loess will not return a value at all
2011 Mar 08
4
beamer overlays with Sweave?
This may be asking too much, but I'm wondering if anyone has a solution (even a hack) for creating multiple (overlay) plots in an Sweave file and post-processing the overlays in beamer appropriately. For example, suppose I have a series of figure blocks in my .Rnw file: <<plot1,fig=TRUE>>= [stuff] @ <<plot2,fig=TRUE>>= [stuff] @ <<plot3,fig=TRUE>>=
2011 Apr 08
3
xyplot, groups and colors
Dear ExpeRts, I am trying to plot a bunch of growth curves and would like to get some more control over groups and line colors than I seem to have. Example: # make some data dat <- Orange dat$group <- ifelse(dat$Tree%in%c('1','4','5'), 'A', 'B') # plot xyplot(circumference~age, dat, groups=group) # now use lines to make the growth curve more
2009 Jul 23
3
Counter
Hi everyone,   Is there any counter function in R for the following purpose: x <- matrix(c(1,1,0,2,1,0,0,2,0,1,2,1,2,1,0,1),nrow=4) As I would like to know how many zeros, ones, and twos in each row of x?   Many thank in advance, Amor     [[alternative HTML version deleted]]
2009 Jul 29
1
(no subject)
HiI am contacting you regarding a problem with downloading R. I cannot seen to manage because my computer language is in Norwegian. DO you know if there is R that can deal with Norwegian letters? Øistein Harsem _________________________________________________________________ Show them the way! Add maps and directions to your party invites. [[alternative HTML version deleted]]
2009 Sep 02
2
Help with sub-setting data.frame
Friends I have a data frame, df that I want to extract some rows from Here is a sample of the data > head(df) TDate Expiry Underlie Strike CSettle PSettle Futures ExDate TTE 1 20080102 200801 200803 0.840 0.0000 0 0.9207 20080104 0.005479452 2 20080102 200801 200803 0.850 0.0000 0 0.9207 20080104 0.005479452 Rate Disc 1 0.0457 0.9997496 2 0.0457
2009 Sep 04
1
generation of eps image
Hi, Except the function postscript ('file_name.eps'), are there functions to generate an image file in eps format? thanks Carol [[alternative HTML version deleted]]
2009 Sep 18
2
Suppressing script commands in R console when executing long program
Hi R users, I have a script composing of more than 1000 lines and would like suppress the R codes from the console when executing the script (to reduce the physical processing time) I have tried options(echo=T) but no luck.. *Q1. Are there any way of suppressing the commands in the R console?* Also, when importing spreadsheet consisting of numbers with 1,000 separator commas (i.e 10000 as
2010 Aug 05
6
64-bit R on 64-bit Windows box... Still not enough memory?!
I have a 64-bit windows box - Intel Xeon CPU E7340 @ 2.4GHz 31.9GB of RAM I have R 2.11.1 (64bit) running on it. My csv data is 3.6 GB (with about 15 million obs, 120 variables.) ------------------------------------------------ I have successfully imported the data above into R. No problem. Now I am trying to run 'rpart' on my data. But I got the following error : Error: cannot
2009 Jun 03
2
code for double sum
Hi R-users,   I wrote a code to evaluate double sum as follows:   ff2 <- function(bb,eta,z,k) { r <- length(z) for (i in 1:r) { sm1 <- sum((z[i]*bb/2)*(psigamma((0:k)+eta+1,deriv=0)/(factorial(0:k)*gamma((0:k)+eta+1))))  sm2 <- sum((besselI(z[i]*bb,eta)*log(z[i]*bb/2) - sm1)/besselI(z[i]*bb,eta))  sm2 } ff2(bb,eta,z,10)     but it gave me the following message:   >
2009 Sep 23
2
Stretch the x-axis for better alignment comparison
I have the following code that aligns the two graphs. Problem is that in .pdf it gives me it x-axis (0-100) is broken down into 0-20, 20-40..and so on. I wonder if there is for it to display the x-axis (and y-axis) in more detail than that. I'd appreciate your input -- pdf(file="VECTOR & ICA ALIGNMENT.pdf", height=5, width=5)
2009 Jul 28
2
xyplot, panel.abline, from, to
All, I'm trying to truncate some lines that are added to an xyplot via panel.abline to allow additional space for inserted text. According to ?panel.abline it seems like "from" and "to" will do the trick but it does not work for the sample code below. Any hints much appreciated. Cheers, David x = seq(1,8) y.1 = .6*x + 3.5 + rnorm(8, 0, .5); y.2 = .4*x + 1 + rnorm(8,0,
2009 Sep 18
4
Datetime conversion
I'm relatively new to R .I tried converting the datetime column with values like 01apr1985:00:00:00.000 using strptime(datetime,"%d%b%Y).Could anyone help me in this regard .Please reply ASAP i need . -- View this message in context: http://www.nabble.com/Datetime-conversion-tp25503138p25503138.html Sent from the R help mailing list archive at Nabble.com.
2009 Sep 07
2
Size of plots in pdf files#can it be smaller?
Hi all, I have to produce arrangements of 25 simple plots of the type plot(x,y,pch=".") where there are typically on the order of 20000 points. So, overall, I have about 500000 points. When I use the pdf device, I get file sizes (on a Windows machine) of about 10 MB. When I then zip the files, I'm down to about 0.5MB, so the original pdf files were created with a lot of
2009 Sep 17
3
latex code in R -> convert to pdf
hi, is it possible to convert latex code to pdf in R (like a latex-program would do it)? Is there a package that comes with this capabilities? My problem is that I want to generate tables automatically - and I can't use a latex editor at that computer ... Besides latex ... are there good ways to generate tables in R? thanks for any suggestions!
2011 Jul 05
3
problem in reading a sequence file
Dear all, I have a file with some sequence (seq.txt). I am writting following code and getting error! Can please help me? seqfile<-read.table(file="seq.txt") Warning message: In read.table(file = "seq.txt") : incomplete final line found by readTableHeader on 'seq.txt' Thanks in advance Albert -------------- next part -------------- NNNNNNNNNNATTAAAGGGC
2009 Jul 29
2
R Packages and Permanent Datasets creation
Our Query: Actually while opening R console and R commander we see some packages like car and datasets. In these packages we have default datasets. For example: "Women" and "Prestige" so on. Now we created a "Sales" dataset importing either from excel, xml or text file. Now we are trying to store that dataset permanently in any one of the packages mentioned above
2011 Apr 19
5
Simple Missing cases Function
Dear all I have written a function to perform a very simple but useful task which I do regularly. It is designed to show how many values are missing from each variable in a data.frame. In its current form it works but is slow because I have used several loops to achieve this simple task. Can anyone see a more efficient way to get the same results? Or is there existing function which does
2011 Mar 29
7
Using graphics straight from R into published articles
Hi, I have been working with R for the past couple of years; analyzing data and producing some graphics. I was just wondering if people use graphics from R straight into articles or are they always edited in some way; fonts, headers, axis, color etc? Using photoshop or some other programs? I would like to think it is possible, better and more profession to do it all in R. I tried google and