search for: file_003f

Displaying 4 results from an estimated 4 matches for "file_003f".

2010 Jan 27
1
Problem with xyplot when creating a .png graphic
Hello, I have the following problem. I have created a couple of scripts to create .png graphic files from data plots, using the xyplot (lattice) command. When I refere to the script with source(""), the script will be red but there is no output file. The scripts work well with the regular plot command and produce a nice PNG file. On the other hand if I entre the single commands
2008 Jul 15
4
Iterations
I have a command that reads in some data: x <- read.csv("Sales2007.dat", header=TRUE) Then I try to organize the data: sc <- split(x, list(x$Category, x$SubCategory), drop=TRUE) Then I want to iterate through the data. I was able to get the following to run on the R console: for(i in 1:length(sc)) { sum(sc[[i]]$Quantity) } But notiing is primted on the console. I find
2007 Nov 27
4
if condition and for cycles
I have two questions about R: 1) Does anyone knows why I get the plots but not the summary results of the linear fitting when I run this code? When I run it outside the if condition it works fine. if (op==4) { t=1:length(time(SeaIce)) fitlinear=lm(SeaIce~t) windows() plot.ts(SeaIce) lines(ts(fitlinear$fitted.values,start=1979,frequency=12)) summary(fitlinear)
2006 Jul 17
6
Output and Word
Hi I have just started to have a look at R. I have used most stats software packages and can use perl, visual basic etc. I am interested in how well it handles lots of output e.g. tables or charts. How would you get lots of output most easily and quickly into a Word document? Sharon Snowdon ------------------------------------------------------------------------ - FIGHT BACK AGAINST SPAM!