Dear list,
I would like to extract from a matrix all those rows, that are unique.
By unique, I don't mean the unique that is accomplished by the function
unique(), though...
Consider the following example:
h
[,1] [,2]
[1,]44
[2,]14
[3,]41
Now unique(h) returns
Hi,
I am sorry for this simple question, but... How do I extract something
from a data.frame?
The following is my Problem:
I have got a dataframe a with various columns. One of those columns
is called V3 and contains elements of the following levels:
levels(a$V3)
[1] C CA CB CD CD1 CD2
Hi again,
thanks a lot for the quick answer. I just forgot the comma, always
these stupid mistakes...
Anyways, as I said before, I have two data.frames containing about 1000
rows and I would like to avoid looping through all of them...
In each data.frame are coordinates (x,y,z), so every row
Dear list,
I ran into a strange behaviour of the pnbinom function - or maybe I
just made a stupid mistake.
First thing is that pnbinom seems to be very slow. The other - more
interesting one - is that I get two different curves when I plot the
estimated density and the density given by pnbinom.
23:32 schrieb Peter Dalgaard:
dax42 [EMAIL PROTECTED] writes:
Dear list,
I ran into a strange behaviour of the pnbinom function - or maybe I
just made a stupid mistake.
First thing is that pnbinom seems to be very slow. The other - more
interesting one - is that I get two different curves when I plot
Dear list,
I have got an array with observational values t and I would like to fit
a geometric distribution to it.
As I understand the geometric distribution, there is only one
parameter, the probability p. I estimated it by 1/mean(t).
Now I plotted the estimated density function by
Hello,
I have got the following problem:
given is a large string sequence consisting of the four letters A C
G and T (as before). Additionally, I have got a second string
sequence of the same length giving a label for each character. The
labels are + and -.
Now I would like to create an 8x8
This mailing list truly is amazing.
Thank you so much for all the help!
I feel a little strange asking something that simple again, but I
wasn't able to find it in the help...
Is there a way to tell R how to display numbers (double)? How many
numbers after the decimal point, etc...
Thanks
Dear all,
I am trying to calculate a score for a string sequence consisting of
the following four letters: ACGT.
I have got a matrix giving the scores for each pair of letters.
So for example the string ACCT has got the pairs: AC, CC and CT.
The matrix has got the following form:
Hi,
it's true, simply adding the parenthesis does the trick.
Anyways, I am trying to do it without the loop now.
Thanks for helping out!
Cheers, Dax
Am 29.12.2004 um 14:45 schrieb (Ted Harding):
On 29-Dec-04 dax42 wrote:
I am now trying to sum up all the scores with the following code:
score-0
10 matches
Mail list logo