Displaying 20 results from an estimated 1000 matches similar to: "How to get pixel position of a plot"
2003 Jun 25
2
Markov chain simulation
Hi,
Does anybody know a function to simulate a Markov chain given a
probability transition matrix and an initial state ?
Thanks.
Philippe
--
--------------------------------------------------
Philippe Hup?
Institut Curie - Equipe Bioinformatique
26, rue d'Ulm - 75005 PARIS France
+33 (0)1 42 34 65 29
Philippe.Hupe at curie.fr <mailto:Philippe.Hupe at curie.fr>
2003 Sep 11
4
how to insert a double quote with the paste function?
Hello,
I would like to write in a variable the following string :
Hello "World"
If I do cat("Hello ","\"World\""), I have the good result on the screen
but it can not be affected to a variable. If I do the same thing with
paste paste("Hello ","\"World\"") it does not work since \" seems to be
not recognized. So what
2003 Jun 30
1
symbol size on a plot
Hi,
I would like to get from a plot the size of the symbols plotted.
Imagine I have the following plot function :
plot(1:2,1:2, pch=15, cex=4)
I would like the get the values SIZE1 and SIZE2 so that if I plot the
following rectangle :
rect(1.5,1.5, 1.5+SIZE1, 1.5+SIZE2) then the size of this square is
exactely the same as the one of the symbols that have been plotted.
Thanks for any idea.
--
2004 Dec 21
1
aggregate and median
I am trying to use the function aggregate with the median function but I
get the following error:
Error in FUN(X[[1]], ...) : Argument "INDEX"
When I replace median by mean, it works perfectly
Can someone tell me where the problem comes from?
Thx
I am running R 2.0.0 on SunOS 5.9
--
Philippe Hup??
UMR 144 - Service Bioinformatique
Institut Curie
Laboratoire de Transfert (4??me
2006 Apr 26
0
Generalized SVD
Hi,
I need to computed the GSVD of two matrices. For doing so I used in my C
code the lapack routine dggsvd. But when I source my file gsvd.R I have
the following error:
Error in eval.with.vis(expr, envir, enclos) :
BLAS/LAPACK routine 'DGGSVD' gave error code -1
Is there a problem with the parameters passed through the gsvd.R script?
Is there a problem within the C script?
2005 Jan 19
1
* creating vignettes ... ERROR
Hi,
I have the following error when building a package
* creating vignettes ... ERROR
Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Error in buildVignettes(dir = ".") : Error: chunk 3
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
Execution halted
I use R-2.0.1 under debian linux 2.6.9
2005 Jan 21
2
* creating vignettes ... ERROR
Dear R developers,
I had some problem when building package: for exemple when building the
package e1071 available from CRAN, I get the following message error:
* checking for file 'e1071/DESCRIPTION' ... OK
* preparing 'e1071':
* cleaning src
* running cleanup
* creating vignettes ... ERROR
/usr/lib/R/bin/texi2dvi: pdflatex exited with bad status, quitting.
2010 Apr 08
2
general linear hypothesis testing for manova model
Hello,
I have a MANOVA model and I want to test the following hypothesis: LBM =
0 where B is the parameter estimates.
Is there any function to do this in R?
Cheers,
Philippe
--
Philippe Hup?
Institut Curie, CNRS UMR 144, INSERM U900
26 rue d'Ulm
75005 Paris - France
Email : Philippe.Hupe at curie.fr
T?l : +33 (0)1 56 24 69 91
Fax: +33 (0)1 56 24 69 11
website :
2009 May 18
0
R 2.9.0 slower than R 2.8.1 for the data.frame function
Dear developers,
I have noticed difference in computation time for the data.frame
function between R2.9.0 and R2.8.1. The older release is more efficient:
typically, R2.9.0 spends three more time in the data.frame function.
Therefore, when many calls of this kind is done inside a function, the
additional time spent with R2.9.0 may be several minutes.
Looking at the profiling results (see file
2005 Jan 20
1
ROracle error
I am running R 2.0.0 on a SunOs 5.9 machine and using Oracle 8i.1.7.0.0 (enterprise edition)
and when I try to load ROracle I receive the following error:
"require(ROracle)
Loading required package: ROracle
Loading required package: DBI
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2004 Apr 30
1
R plot to HTML image map
Hi,
I automatically create some R matplots and now I would like to
automatically create HMTL image maps and make the plots clickable.
Do you have any suggestions how to do this?
regards, R. Alberts
2005 May 04
1
error with the function GOHyperG from GOstats package
I am running R 2.0.0, GOstats 1.1.1 and GO 1.7.0,
and when I use the function GOHyperG, I have the following error:
w1<-as.list(hgu95av2LOCUSID)
w2<-unique(unlist(w1))
set.seed(123)
myLL<-sample(w2,100)
xx <- GOHyperG(myLL)
Error in mget(x, env = GOTERM, ifnotfound = NA) :
recursive default argument reference
In fact first I tried this function with my locusId ' list (with
2014 Feb 24
3
Error gdata and gplots packages
Hi, I just installed Ubuntu 12.04.4. I installed R by following
instructions from CRAN after modification into my /etc/apt/sources.list file
sudo apt-get update
sudo apt-get install r-base
sudo apt-get install r-base-dev
When I try to load library(gdata) ou library(gplots), I have error
message :
library(gdata)
gdata: read.xls support for 'XLS' (Excel 97-2004) files
2010 Feb 07
2
convert R plots into annotated web-graphics
Dear all,
I would like to make a large scatter plot created with R available as an interactive web graphic, in combination with additional text-annotations for each data point in the plot. The idea is to present the text-annotations in an HTML-table and inter-link the data points in the plot with their corresponding entries in the table, i.e. when clicking on a data point in the plot, the
2008 May 16
1
creating a 2d plan graphic and projecting points in it
Hello;
I want to create a 2 D plan with (123 values) for axis1 and 7 values for
axis 2.
I then want to make a projection of points with their coordonates in that
plan!
is that possible and how to proceed?
Thanks
[[alternative HTML version deleted]]
2003 Jun 27
1
R-help Digest, Vol 4, Issue 27 ( -Reply)
Hi,
I am out of town and will get back to you on the 13th of July.
Leo
>>> "r-help at stat.math.ethz.ch" 06/27/03 00:32 >>>
Send R-help mailing list submissions to
r-help at stat.math.ethz.ch
To subscribe or unsubscribe via the World Wide Web, visit
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
or, via email, send a message with subject or body
2015 Jun 15
0
Add on argument in seq()
Regardless of the value of the other arguments, the first element in
the output of seq() is _always_ `from`.
Hadley
On Mon, Jun 15, 2015 at 9:56 AM, Millot Gael <Gael.Millot at curie.fr> wrote:
> Thanks for your answer.
>
> The rational behind my proposal is why taking "from" when length.out=1, more than "to" or "NA", or " integer(0) " ?
2009 Jul 25
2
labelling points plotted in a 2D plan
I created a 2 D plan:
> plot(range(-2.5,0.95),range(0.00,1.00),type="n",axes=TRUE)
I made a projection of points with their coordonates (X,Y) in that plan
> fullpoints=read.csv2("fullpoints.csv",h=T)
> plot(fullpoints)
The points are listed in that .csv file it is organized this way:
0,48875 0,142857143
0,409 0,142857143
0,45611 0,25
0,49833 0,222222222
0,61158
2015 Jun 15
2
Add on argument in seq()
Hi.
I have a problem with the default behavior of seq(), which gives the argument "from" when the argument length.out = 1.
This behavior is annoying when the number of value determine in length.out is not predictable.
Would it be possible to add an argument that propose the median/mean, i.e. (from + to) / 2 when length.out = 1 ? Examples:
> seq(from = 1, to = 11, length.out=1) #
2015 Jun 15
0
Add on argument in seq()
Millot,
I think the problem with that is that what you propose isn't a sequence
starting at from in any meaningful way, and thus does not satisfy the
contract of the seq function.
Best,
~G
On Jun 15, 2015 7:12 AM, "Millot Gael" <Gael.Millot at curie.fr> wrote:
> Hi.
>
> I have a problem with the default behavior of seq(), which gives the
> argument