Displaying 7 results from an estimated 7 matches for "r_intro".
2008 Jan 29
1
remove similar values
hello!!
say that i have the values of x1 and x2. my x1 has longer length than x2. how am i going to remove the similar values of x1 and x2. Any suggestion?? Thanks in advance!!
Cheers,
Anisah
e f
[1,] 17358865 17906353
[2,] 17966995 21295547
[3,] 21306539 27880531
[4,] 27880531 34118702
[5,] 34166504 35395488
[6,] 36111044 36132622
[7,]
2011 Jan 10
0
how to create and manage a matrix with vector of different length
...an call a function element-wise
The problem, I want to restrict the cumulative population of each circle within 50% of the total population, which will make every row-vector have different length. e.g. the first row-vector have a length of 123, but the second maybe have a length of 141. I checked R_intro, it seems ragged array can do it, but I can't find any material to learn.
1.Can anyone teach me how to creat and manage a matrix with vector of different length?
2.Can anyone teach me 2 or 3 matrices call a function element wise by vectorization? e.g. for (i in 1:10) A[i]^B[i]/C[i]
Thank yo...
2001 Mar 06
0
R Introductory Slides...
...ting systems (yes I have FreeBSD and Windows ME both running on my PC, I admit that using R on FreeBSD is much more stable...). As a result I have produced 2 versions of pdf files from the PowerPoint file. All of them can be found from http://www.stat.auckland.ac.nz/~kwan022/pub/R/Introduction/. R_Intro.ppt file is obviously the PowerPoint file. R_Intro_1up_Colour.pdf is for those of you who think the slides are worth of putting in front of students, can do so on OHP. R_Intro_6up_BW.pdf is for black/white handouts printing.
For those who have Windows but do not have PowerPoint in the Office sui...
2008 Feb 14
2
R equivalent of linux "cut", "paste", and "grep" ?
Hi,
What functions should I use in order to perform the following steps:
1) Load a particular column (e.g., column 5) from a csv file
2) Append the column 5 to another csv file
3) select those rows that match specific keywords in column 5
[[alternative HTML version deleted]]
2008 Feb 12
3
filter data from data frame
Hi,
I have a data frame Y with the following information,
ORF spectra
1 YAL001C 2
2 YAL005C 21
3 YAL007C 2
4 YAL012W 8
5 YAL016W 24
6 YAL019W 3
7 YAL020C 2
8 YAL021C 7
9 YAL022C 3
10 YAL023C 6
11 YAL026C 2
12 YAL029C 1
13 YAL031C 1
14 YAL035W 48
15 YAL038W 173
16 YAL041W 4
17 YAL042W 4
18
2008 Feb 13
4
rolling sum (like in Rmetrics package)
Hello, I'm new to R and would like to know how to create a vector of "rolling
sums". (I have seen the Rmetrics package and the rollMean function and I
would like to do the same thing except Sum instead of Mean.) I imagine
someone has done this, I just can't find it anywhere.
Example:
x <- somevector #where x is 'n' entries long
#what I would like to do is:
x1
2002 Aug 12
5
programming in R
I have a probably basic problem concerning the R language.
I will write some small R programs but don't really know how to start. Do I have
to create my files in some editor like emacs or can I write my code in the R
prompt? How to compile the code?
I haven't found any good manual parts about this subject.
regards
A.P