Displaying 12 results from an estimated 12 matches for "fcomb".
Did you mean:
comb
2005 Oct 12
2
subsetting with by() or other function??
I think I must be missing something obvious, but I'm having trouble
getting a data transformation to work on groupings of data within a data
frame (csss3) as defined by 2 factors (population, locid). The data are
sorted by year within locid within population and I want to lag another
variable (dbc), i.e, shift them down by 1 row replacing the first row with
NA, within groups defined by
2005 Sep 09
3
how to do something like " subset(mat, ("col1">4 & "col2">4)) "
Dear all,
I have a problem with the "subset()" function. I spent all day yesterday
with a collegue to solve it and we did not find a satisfying solution (even
in the archived mails), so I ask for your help.
Let's say (for a simple example) a matrix mat:
R> mat
cola colb colc
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
My goal is to select the lines of the matrix on the basis of the
2005 Oct 28
1
multiple graphs in the same ps file ? -- with ref.
Sorry I put there the ref. :
I am using R Version 2.0.1 on a Debian.
Florence.
---------- Forwarded message ----------
From: Florence Combes <fcombes@gmail.com>
Date: Oct 28, 2005 2:48 PM
Subject: multiple graphs in the same ps file ?
To: r-help@stat.math.ethz.ch
Dear all,
I would like to be able to store multiple graphs in one ps or pdf file, but
I cannot achieve this only if I don't shut the "postscript" device between
the...
2005 Nov 09
2
read.table error with R 2.2.0
Dear all,
I just upgraded version of R to R 2.2.0, and I have a problem with a script
that did not happen with my previous version.
Here is the error :
-----------------------------------------
> param<-read.table(file="param.dat",sep ="\t",header=TRUE,fill=TRUE,
na.strings="NA")
Erreur dans read.table.default(file = "param.dat", sep =
2005 Sep 15
1
how to do sthg like "mat[!=(ind),]"
Hi
I want to do something which seems straightforward, but I couldn't find the
way to do this.
I have a matrix called m for example, and a vector of values (let's call ind
this vector) which are indices of lines I don't want to keep.
for example I have:
> m
v1 v2 v3
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
[4,] 10 11 12
> ind
[1] 2 4
I would like to obtain this:
> m2
v1 v2
2005 Sep 16
2
fusion of rows (as in merge()) but from only 1 matrix
Dear all,
Once again I need your help ; I fond a way to do what I want but I am sure
there is a better way.. maybe you can help me.
I have a matrix, for example mat.tot :
> mat.tot
ID Desc M1 M2
1 1 gene1 0.5 0.2
2 2 gene2 -0.4 -0.1
3 3 gene3 1.0 1.2
4 4 gene1 0.6 0.3
5 5 gene2 -0.3 0.0
and I want to merge line 1 with line 4, and line 2 with line 5 because this
is the same gene.
I can
2005 Dec 01
1
maImage() and layout()
Dear all,
Trying to produce 4 maImage plots (marray package) on the same device (2 on
the top and 2 on the bottom) with the layout() function or the split.screen()
function, we are facing the following problem:
it seems that maImage() does nt care about any of these 2 functions, and
plots only one image at a time.
Maybe this is inherent to this maImage() function, but we did not find
anything
2005 Oct 28
1
multiple graphs in the same ps file ?
Dear all,
I would like to be able to store multiple graphs in one ps or pdf file, but
I cannot achieve this only if I don't shut the "postscript" device between
the graphs.
here is what I managed to do :
> postscript(file="test_graph.eps", onefile=TRUE)
> plot(1:10)
> plot(1:20)
>
> dev.off()
2012 Feb 22
0
package igraph function neighbors() pb with indices
Dear all,
I am using the package igraph and try to use the neighbors() function. I am
a bit confused, see the following :
Given a graph g with 18 vertices. Names of the vertices are indicated by :
> V(irt.graph)$name
[1] "AT2G41240" "AT3G13610" "AT3G02470" "AT3G30775" "AT3G18290"
"AT4G13770" "AT1G01580"
2005 Nov 17
2
dev.copy legend problem
Dear all,
We are facing this problem for long, and so ask for your help.
We are plotting 2 graphs in a postscript device (left part -layout
function-), and the common legend for these graphs on the right part.
The legend in the postscript device looks ok: this is color lines with
numbers on the right (6 columns) , see the code below:
> nblock<-c(1:48)
> leg<-paste(c(1:npin),"
2005 May 19
1
R from Perl -- RSPerl and lines function.
Dear R-helpers,
I am running well Perl and R on my Debian Linux, and I tried RSPerl.
Installation is ok and all simple functions run well. But I have a
problem to call the "lines" function.
I would like to draw an histogram with the density curve on. Is is OK
in R with the command:
>x<-rnorm(1000)
>hist(x,prob=T)
>lines(density(x))
for example.
Now, I have a Perl script
2005 Oct 06
2
factor : how does it work ?
Dear all,
I try for long to understand exactly what is the factor type and especially
how it works, but it seems too difficult for me....
I read paragraphs about it, and I understand quite well what it is (I think)
but I still can't figure how to deal with.
Especially these 2 mysteries (for me) :
1st when I make a dataframe (with the as.data.frame() or the data.frame()
commands) from