search for: 4ql

Displaying 20 results from an estimated 187 matches for "4ql".

Did you mean: 4l
2009 Mar 25
2
"[.data.frame" and lapply
...the method "[.data.frame"? > args(`[.data.frame`) > function (x, i, j, drop = if (missing(i)) TRUE else length(cols) == > 1) > Many thanks, baptiste _____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
2009 Mar 25
2
"[.data.frame" and lapply
...the method "[.data.frame"? > args(`[.data.frame`) > function (x, i, j, drop = if (missing(i)) TRUE else length(cols) == > 1) > Many thanks, baptiste _____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
2008 Nov 09
1
[Rd] Re Bessel functions of complex argument
...s hosted on R-forge and i could take care of the documentation, etc. - Is there a package I've missed that already implements this? (one can dream) Many thanks, baptiste _____________________________ Baptiste AuguiƩ School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag ______________________________ [[alternative HTML version deleted]]
2008 Apr 03
1
data.frame or list
...)) Is this a sensible way to store and manipulate this sort of data? Is there anything more appropriate I've overlooked using data.frames only? Many thanks, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Feb 03
1
distances between points in R^3
...aside for the moment. - the double for loop over all the points cries out for a vectorized solution, but i can't really think of any. Many thanks in advance, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Jun 18
2
highest eigenvalues of a matrix
...t? Many thanks in advance for any piece of advice, Sincerely, Baptiste dummy example if needed: test <- matrix(c(1, 2, 0, 4, 5, 6, 1.00001, 2, 0), ncol=3) eigen(test) _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2009 Jun 25
3
grid.polygon() + color gradient
Hi, I wonder whether there is a way to generate a polygon (a triangle in my case) with color gradient using grid.polygon() in package grid? I tried something like library(grid) grid.polygon(x=c(0, 0.5, 1), y=c(0.5, 1, 0.5), gp=gpar(col=NA, fill=colorRampPalette(c("green", "lightgray"), space="Lab")(200))) But am only
2009 Apr 14
2
subset dataframe by rows using character vector?
Dear List, I'm stuck on what seems like a simple indexing problem, I'd be very grateful to anyone willing to help me out. I queried a dataframe which returns a character vector called "plot". I have another dataframe from which I want to subset or select only those rows that match "plot". I've tried subset, and also the "which" command. plot
2008 Feb 18
2
question on function arguments
...but it becomes intricate when several arguments have this option of being vector or scalar. Is there a way to use b$x that would work in both cases? Many thanks, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2009 Apr 16
3
segment between points on different plots
Hi, I need to draw a line segment between two points on different plots in the same multigraph.I've tried looking at the zoominplot function in plotrix but havent understood much.any help is appreciated ~Aks [[alternative HTML version deleted]]
2009 Mar 09
3
How to write a function that accepts unlimited number of input arguments?
Dear R-helpers: I am an R newbie and have a question related to writing functions that accept unlimited number of input arguments. (I tried to peek into functions such as paste and cbind, but failed, I cannot see their codes..) Can someone kindly show me through a summation example? Say, we have input scalar, 1 2 3 4 5 then the ideal function, say sum.test, can do
2008 Apr 12
1
lm() of one matrix against another
...m(y~x,data=list(x=data.x[,ii],y=data.y[,ii]) ) > lines(data.x[,ii],test$coefficients[1] + test$coefficients[2] * > data.x[,ii],lty=2,col=ii) > } Thanks, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Jul 03
1
ggplot2 legend for vertical lines
...1) + > scale_shape_manual(name="fact", values=1) # tried this, but useless > here Any tips on changing these settings would be welcome! Sincerely, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2009 May 21
1
size of point symbols
...ize of each symbol? (in other words, why is pch=21 a circle of radius given in inches, while pch=0 is a cross of arms' length specified in mm?) Best regards, baptiste _____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
2009 May 21
1
size of point symbols
...ize of each symbol? (in other words, why is pch=21 a circle of radius given in inches, while pch=0 is a cross of arms' length specified in mm?) Best regards, baptiste _____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
2008 Feb 14
1
write output in a custom format
...s at sink (), dump(), writeLines(), writeChar() all turn into really dirty solutions. I have this feeling I'm overlooking a simple solution. Any help welcome, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Aug 09
2
levels values of cut()
...the built-in cut function in the base library. I think getMethod should do it but I don't understand the arguments to pass. Any pointers appreciated, Thanks, baptiste _____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
2007 Dec 28
1
unit attribute to list elements
...y know how to deal with classes, though, and I'd like to keep the access to the constants' values as direct and generic as possible. Many thanks in advance, baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Mar 09
2
Bessel functions of complex argument
...ve never tried to use external C or Fortran code together with my R code, so I'm not sure where to go for a simple solution. Any advice welcome, Best regards baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto
2008 Mar 09
2
Bessel functions of complex argument
...ve never tried to use external C or Fortran code together with my R code, so I'm not sure where to go for a simple solution. Any advice welcome, Best regards baptiste _____________________________ Baptiste Augui? Physics Department University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag http://projects.ex.ac.uk/atto