Displaying 20 results from an estimated 10000 matches similar to: "Finding pairs"
2010 Aug 25
1
Odp: Finding pairs
Dear Mr Petr Pikal
I am extremely sorry for the manner I have raised the query. Actually that was my first post to this R forum and in fact even I was also bit confused while drafting the query, for which I really owe sorry to all for consuming the precious time. Perhaps I will try to redraft my query in a better way as follows.
I have two datasets "A" and "B" containing the
2005 Jul 19
2
Installation
Hi there ,
I am a new user of Asterisk. When I downloaded it and was trying to compile it, i got the following error message after it run for a while. This error came after I run make.
__________________________________________
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686
2013 Jan 03
2
Sas by function in R
Hello,
It's an alternative to use SAS by function in R?
I want to plot d histograms by plot.from example bellow:
Thank you!
plot d
1 1 16.3
2 1 25.0
3 1 57.8
4 1 17.0
5 2 10.8
13 2 96.4
17 3 76.0
18 3 32.0
19 3 11.0
20 3 11.0
24 3 106.0
25 3 12.5
21 4 19.3
22 4 12.0
26 4 15.0
27 5 99.3
32 7 11.0
36
2010 Aug 17
2
Matrix
How do I completely remove the first column?
(x <- matrix(c(1, 44, 124, 80, 254, 70, 190, 0, 2, 35, 110, 70, 240, 73, 216, 0, 3, 41, 114, 80, 279, 68, 178, 0, 4, 31, 100, 80, 284, 68, 149, 0, 5, 61, 190, 110, 315, 68, 182, 1, 6, 61, 130, 88, 250, 70, 185, 0, 7, 44, 130, 94, 298, 68, 161, 0, 8, 58, 110, 74, 384, 67, 175, 0, 9, 52, 120, 80, 310, 66, 144, 0, 10, 52, 120, 80, 337, 67, 130, 0, 11,
2010 Feb 24
1
Remove missing observations
Hi everyone
I have the following problem: My dataframe has 3 variables: ID, Year and
and an outcome variable. The dataframe contains repeated measurements
because the subjects filled out a questionnaire every year. The time span
covers 2 years.
Now I want to check if there is a significant change in the outcome over
the 2 years with a paired wilcox.test. The problem: Not every subject
2013 Nov 26
7
[PATCH RESEND 0/1] libxl: introduce an option for disabling the non-O_DIRECT
I think I posted this patch before, but it looks like it was in
December 2012 (!).
1/1 libxl: introduce an option for disabling the non-O_DIRECT workaround
Ideally it would go into 4.4, at least. Provided the corresponding
qemu part has gone into qemu-xen, which I think it has. Can anyone
confirm ?
2012 Mar 22
2
Randomly select elements based on criteria
Hi,
I want to randomly pick 2 fish born the same day but I need those
individuals to be from different families. My table includes 1787 fish
distributed in 948 families. An example of a subset of fish born in one
specific day would look like:
>fish
fam born spawn
25 46 43
25 46 56
26 46 50
43 46 43
131 46 43
133 46 64
136 46 43
136 46 42
136 46 50
136 46 85
137 46 64
142 46 85
144 46 56
2009 Apr 14
4
cbind
I have a list of numbers with NAs as below:
> A[,1]
[1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[19] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[37] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[55] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[73] NA NA NA 62 78 98
2017 Mar 23
2
ayuda
Etimados
Necesito llevar estos valores a un csv, pero exclyendo los numeros de
orden que aparecen (como ejemplo 1 2 3 4 5
6 7... 146 147 148 149 )
?cual es el procedimiento en R?
saludos
José
adjunto el archivo
1 2 3 4 5 6 7 8
9 10
398.25016 314.53157
2011 Nov 18
3
Permutations
Hi all,
why factorial(150) shows the error out of range in 'gammafn'?
I have to calculate the number of subset formed by 150 samples taking 10 at
a time. How is this possible?
best
[[alternative HTML version deleted]]
2007 Mar 28
5
Large matrix into a vector
Hi,
I have a matrix HR(9x27). I would like to make a
single vector with elements: t(HR[,1]) followed by
t(HR[,2]) and then t(HR[,3] ... etc. Is there any neat
way of converting this matrix into a vector rather
doing something like c(t(HR[,1]), t(HR[,2]), t(HR[,3])
..)?
Thanks in Advance.
Kind regards,
Ezhil
____________________________________________________________________________________
2010 Apr 12
1
Local R Training
Hello List,
I am new to R and statistics in general.
My two colleges and I would like to get some training in the proper
usage of R.
A quick internet search provided no results for the region of Basel in
Switzerland.
Does some one on this list knows of any trainers or schools in the
region in question or where to look next?
Regards,
Dominik Riva
Universitätsspital Basel
Med.
2009 Oct 20
2
descriptive statistics qn
This is day one on R for me, I am trying to figure out how to do simple
computations. For example I have a data set with 200 observations. I am
trying to compute the mean and variance in r for 1:25 (first 25
observations); 1:50 (first 50 obs) ; 1:100th observation etc. Here is the
dataset:
Id value
1 2.2338
2 3.13597
3 1.98685
4 4.35593
5 2.43963
6 4.20262
7 3.12131
8 4.79583
9 3.13937
10
2002 Sep 10
4
ext3 performance mystery
Help solving a performance mystery would be welcome.
I have two test programs:
* one totally CPU bound (it just infinitely loops)
* the other I/O bound (it loops, each time doing
* a write,
* an fsync or fdatasync (I get similar behavior with either),
* an lseek to back up to the same position again
Under ext2, if I run these two together, they each run nearly as fast
as
2006 Oct 11
1
Question about error of "non-numeric argument to binary operator"
Hi,
I have the following data and there is no binary operator contained,
however, I still receive the error message when running unitrootTest
function, could someone give me a guidance on it??
>readClipboard()
[1] "245" "246" "261.5" "275.5" "307" "284.5" "289" "313.5"
"323.75"
2008 Jun 18
4
Editor for Mac OSX
Dear R-list
I am (forced) to change from Linux to Mac and am now looking for a new editor for R. I would like one that features a split window (console + editor) as well as syntax highlighting. Can anyone help? Especially the split-window feature does not seem to be easily available in the editors desribed on the R-help site, except Emacs, which I am reluctant to start using. I am on a MacBook Air
2012 Mar 26
4
reading header in txt file and making histogram
Dear all
I am a BEGINNER and have R on my Mac. I saved my excel file as .txt file, I
have just one column with first row as the column name. My file when read by
R looks like this. After reading the table I try to make a histogram by
hist(dbh), it says object dbh not found. What am I doing wrong? thanks
dbh
1 11.53
2 16.05
3 7.36
4 16.05
5 8.66
6 12.74
7 22.93
8 7.55
9
2006 Jun 14
4
write data from function into external table
Dear list,
My apologies if a solution / explanation to this already exists on the list,
but it is difficult to assign it to a certain keyword.
test<-c(1:3)
testfct <- function(x) {test[1]<-100}
test
[1] 1 2 3
testfct(1)
[1] 1 2 3
Basically, I would like to write data into an external table that the function
does not know. Why is this not working / what alternatives exist?
Thanks,
2010 Jan 28
2
Conditional editing of rows in a data frame
Dear R users,
I have a dataframe (main.table) with ~30,000 rows and 6 columns, of
which here are a few rows:
id chr window gene xp.norm xp.top
129 1_32 1 32 TAS1R1 1.28882115 FALSE
130 1_32 1 32 ZBTB48 1.28882115 FALSE
131 1_32 1 32 KLHL21 1.28882115 FALSE
132 1_32 1 32 PHF13 1.28882115 FALSE
133 1_33 1
2008 Jan 07
4
is there something like or() ?
hi, this may be trivial, but we can't seem to find anything adequate,
(although there is a work around with match() ). We are looking for something
along the lines of
plot(table1[table1$var2==or("a","b","c","d"),"var1"])
would be handy, with the potential or() function leading to what
plot(table1[table1$var2=="a" |