search for: marcg

Displaying 13 results from an estimated 13 matches for "marcg".

Did you mean: march
2007 Oct 23
3
sum variable as long condition is true
Hello R For expierienced user, the following problem will be easy to solve: a<-c(0,1,0,1,0,2,3,4,3,2) b<-c(3,3,3,4,4,4,7,7,7,10) c<-data.frame(a,b) Data Frame c contains tow colums. I would like to sum up all values in a as long as b stays the same: sum(a[which(b==1)]) does this, but i have to manually put in b then i tryied st like this, but i canno't save it properly for (i
2007 Nov 21
2
Reconstruct array dataset
Hi there I have an interesting problem: My csv file is of array dimensions [12,50], but it was saved the wrong way: there should be only 11 colums. What happens now if I read it into R is that the whole data set is shifted ( in the first row, the last column contains already the first value of the supposed second row and so on...) how can I tell R to switch after 11 read values to the next row,
2007 Sep 27
3
different colors for two wireframes in same plot
Hello R, According to: g <- expand.grid(x = 1:10, y = 5:15, gr = 1:2) g$z <- log((g$x^g$g + g$y^2) * g$gr) wireframe(z ~ x * y, data = g, groups = gr, scales = list(arrows = FALSE), drape = TRUE, colorkey = TRUE, screen = list(z = 30, x = -60)) i have two wireframes in one plot. How could i change the color of the top - one to transparent (or only the grid).
2007 Sep 28
0
transparency of one layer in multiple wireframe plot
...- and what I'm actually looking for is making just the UPPER (toplayer) transparent. Thanks for further help marc -------- Original-Nachricht -------- > Datum: Thu, 27 Sep 2007 11:29:19 +0200 > Von: "Frede Aakmann T?gersen" <FredeA.Togersen at agrsci.dk> > An: "marcg" <mdgi at gmx.ch>, r-help at stat.math.ethz.ch > Betreff: SV: [R] different colors for two wireframes in same plot > You can obtain some transparency setting the alpha transparency. This is > device dependent though. Using the pdf device you can do this obtaining > transpare...
2007 Oct 02
2
zoo timeserie continuous? complete with NaN
dear r-list I have a zoo object with 2 objects and time: looks like: 2005-12-31 12:00:00 NA NaN 2005-12-31 13:00:00 NA NaN 2005-12-31 14:00:00 NA NaN 2005-12-31 15:00:00 NA NaN 2005-12-31 16:00:00 NA NaN 2005-12-31 18:00:00 NA NaN 2005-12-31 19:00:00 NA NaN 2005-12-31 20:00:00 NA NaN 2005-12-31 21:00:00 NA
2007 Sep 19
3
layout function for several plots
Dear all I try to print 9 plots on a page, arranged as the code shows below. nf <- layout(matrix(c(1,0,2,0,0,3,0,4,0,5,0,6,0,0,0,0,7,0,8,9), 10,2)) layout.show(nf) but when I try to plot, an error message Fehler in plot.new() : Grafikr?nder zu gro? appears to verify p.e. with plot(runif(10:1)) i tried with plot(runif(10:1), ann=F) to produce more space, but neither. The second
2007 Oct 11
1
strange: yaxis inversion with zoo not possible?
hej there I want to invert the yaxis as follows: x<-rnorm(1:50) plot(x^2, type="h", ylim=c(0,10)) plot(x^2, type="h", ylim=c(10,0)) then doing the following it won't work - kind of strange isn't it? x.zoo<-zoo(x^2) plot(x.zoo, type="h", ylim=c(10,0)) plot(x.zoo, type="h", ylim=c(0,10)) how can I invert the axis with zoo objects? Marc --
2007 Nov 01
1
Start plot really at baselines x=0, y=0
Dear R Plots without par arguments do start not at zero (means, the box around is somwhere outside the specified plotrange). How to start really from zero, pe. basline y=0? every standart par works like this: x<-seq(1,10,0.1) y<-sin(x) plot(sin(x)) Thanks for help Marc -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden:
2008 Jan 05
1
mfrow for levelplot?
hello could anyone tell my, why I do not suceed with mfrow? par(mfrow=c(4,4)) for (i in 5:17){ levelplot(maxwater[,i]~maxwater$V1*maxwater$V2, col.regions=whiteblue(5), xlab="", cuts=4) } Thanks Marc --
2007 Sep 26
1
add points to wireframe
Hello R-classicist won't like the following question due to there's no minimal reproducible example and the question was posted already. Anyway I'm not able understand this rather complicated version of "add points to wireframe". what I have is matrix 3x2000 with a dem<-(x,y,z, coordinates) (not provided). with follwing code I want to produce the wireframe and add some
2007 Nov 23
0
R users in Cyprus
...rbai) 17. Re: multiple comparison (glht) problem (Chuck Cleland) 18. Re: Logarithmic axis -- now in new version of 'sfsmisc' (Martin Maechler) 19. Re: R as server application (Henrik Bengtsson) 20. Re: R as server application (Henrik Bengtsson) 21. Reconstruct array dataset (marcg) 22. Re: biocep project (R for the Web and the Virtual R Workbench) (elw at stderr.org) 23. Packages - a great resource, but hard to find the right one. (John Sorkin) 24. Re: plotting coxph results using survfit() function (Terry Therneau) 25. Re: Packages - a great resour...
2007 Oct 15
1
Save variable with loop part
Hello does anyone know how to save in a variable with a loop part. Im reading several csv files with read.table and would like to save with a loop: for (i in 0:9){ } should give read0, read1, read2, read3, read4, read5, read6, read7, read8, read9 st. like read(i)<-read.table("myfile.csv".....) I tried with paste("read", i, sep"") or to save as a vector with
2008 Nov 20
1
Syslog question
I may be posting to the wrong list here, and in that case I apologize in advance, but is there a way to configure the standard Centos 5 syslog daemon to use more local facilities than local0 to local7? Thank you. -- m -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20081120/70541fd0/attachment-0003.html>