similar to: Aggregate rows to see the number of occurences

Displaying 20 results from an estimated 2000 matches similar to: "Aggregate rows to see the number of occurences"

2004 Jun 03
1
Problem with par("usr")
Hi, I'm trying to use the "usr" argument but I see no effect of this option on my plots. For example: > par(usr=c(0,4,0,4)) > plot(1,1) This plots one point fine, but the coordinates of the plotting region are not those that I specified using par()... I can check this with > par("usr") [1] 0.568 1.432 0.568 1.432 What can I change in order to have this
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
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
3
Add-on argument in sample()
Hi. I have a problem with the default behavior of sample(), which performs sample(1:x) when x is a single value. This behavior is well explained in ?sample. However, this behavior is annoying when the number of value is not predictable. Would it be possible to add an argument that desactivates this and perform the sampling on a single value ? Examples: > sample(10, size = 1, replace = FALSE)
2003 Nov 26
1
Spearman correlation and missing observations
Hi, I am using R 1.8.1 on WinXP. I encounter a problem when trying to compute a Spearman correlation under certain conditions (at least I think there is a problem, but maybe this is the normal behavior). > X<-array(0,c(20,2)) > > X[,1]<-c(runif(10),rep(NA,10)) > X[,2]<-c(runif(10),rep(NA,10)) > > Y<-X[1:10,] > >
2015 Jun 15
2
Add on argument in seq()
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) " ? This question seems basic. But is is not in certain situations, like when length.out = unpredictable positive integer. And I haven't found in ?seq() the particular behavior of this function when length.out = 1.
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
2015 Jun 17
2
Add-on argument in sample()
On 6/16/2015 1:32 PM, Peter Meissner wrote: > Am .06.2015, 14:55 Uhr, schrieb Millot Gael <Gael.Millot at curie.fr>: > >> Hi. >> >> I have a problem with the default behavior of sample(), which performs >> sample(1:x) when x is a single value. >> This behavior is well explained in ?sample. >> However, this behavior is annoying when the number of
2015 Jun 15
1
Add on argument in seq()
Millot, On Mon, Jun 15, 2015 at 9:19 AM, Hadley Wickham <h.wickham at gmail.com> wrote: > Regardless of the value of the other arguments, the first element in > the output of seq() is _always_ `from`. > Indeed, as Hadley says, the output of seq must always start with* from*. It is a sequence starting at *from* and ending wherever the other arguments cause it to end. A sequence
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
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>
2000 Apr 18
4
R : 3D graphics
I am looking for a package that allow to plot 3D set of points (x, y, z) ? Can someone help me to find it ? thank for help anne -- Anne BADEL-CHAGNON Email:badel at urbb.jussieu.fr Equipe de Bioinformatique Mol?culaire, Universite Paris 7 Tour 53, 1er etage, case 7113 Tel : 01.44.27.77.14 75251 Paris cedex 05 Fax : 01.43.26.38.30 -------------- next part
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 :
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
2013 Nov 26
1
How to keep idmapping, when Samba servers becomes part of a Windows AD from a larger organisation.
Hi Since 2006, I used in my departement a Samba solutions based on NT4 style PDC, 2 BDCs and some files servers, desserving one hunderd persons. The backends for passwords and idd are a master and two slave openldap. Now i have to integrate a much larger organisation, an University Hospital, running with Windows AD. For political reasons, I should not maintain DCs anymore, but I will still
2003 May 15
2
AW: error-prone feature?
> Well, that is in all good texts on R, together with the > solution: drop=FALSE. See ?"[" for the on-line details. OK. Thank you a lot. Now patched cclust and clustIndex work fine for 1D case. BTW, why not to apply the "drop=F" to these functions? I guess other users need 1D case as well. kind regards, Valery A.Khamenya
2003 May 19
1
Line plots with different symbols on the same line
Hello, my data is an ordered list of observations where each observation is either of condition "efficient" (coded as 1) or "non-efficient" (0) as e.g. No. Obs Condition 1 1.1 0 2 1.2 1 3 1.4 1 4 1.5 0 5 2.5 1 etc. My goal is to plot a single line with lty='o' but different symbols for either condition whenever condition is 1 or 0, i.e. on the x-axis the
2006 Apr 27
3
ordered boxplots
Dear List-Members, I would like to produce a ordered boxplot in which the categories with the smallest median are plotted at the left end and the box with the largest median at the right. Thanks in advance for any advices Thomas H.
2010 Jul 20
1
blank pdf output when called in a loop
Hi, I'm hitting a strange problem where pdf plots that I'm trying to make are blank, only when produced from within a loop. The pdf contains 0 page. I've narrowed the problem to this minimal script that invariably produces an empty pdf with my setup: pdf("/local/scratch/1.pdf", width=8, height=8) for (k in 1) { wireframe(volcano) } dev.off() The odd thing is that