search for: fededa

Displaying 13 results from an estimated 13 matches for "fededa".

Did you mean: fede
2008 Jan 17
1
Res: vector generation
...;-NULL for (i in 1:(length(z)-1)) { for (j in i:length(z)) { v1<-rbind(v1,z[i]) v2<-rbind(v2,z[j]) } } df<-data.frame(cbind(v1=v1,v2=v2)) names(df)<-c("v1","v2") df$ratio<-df$v1/df$v2 Kind regards, Miltinho Brazil ----- Mensagem original ---- De: Juan Pablo Fededa <jpfededa@gmail.com> Para: r-help@stat.math.ethz.ch Enviadas: Quinta-feira, 17 de Janeiro de 2008 13:24:33 Assunto: [R] vector generation Dear Contributors: I have the next vector: "Z" 526 723 110 1110 34 778 614 249 14 I want to generate a vector containing the ratios of all t...
2008 Jan 24
4
two histograms in the same graph
Dear Contributors: I have two vectors x and z, and I want to display the histograms of both vectors in the same graph, x in red bars, z in blue bars. If you have any clue on how to do that, I will be very glad to hear it!!!!!! Thanks in advance again, Juan Pablo Fededa [[alternative HTML version deleted]]
2008 Jan 17
3
vector generation
...14 249 14 I want to generate a vector containing the ratios of all the values versus all the values of the z vector. I mean a vector containing the values of 526/723, 526/110, and so on, 723/723, 723/110, and so on, and so on. Is this doable in a simple way?? Thanks in advance again, Juan Pablo Fededa
2007 Feb 27
4
ordered matrix question
Hi all, Is there an easy way to generate an object wich will be the same matrix, but ordered by de cfp value? The data frame consists of numeric columns: "Block" "X" "Y" "cfp" "yfp" "ID" 0 524 244 213.41795 7.18482109 1 0 556 270 65.383904 9.568372661 2 0 528 316 40.789474
2009 Apr 07
1
matrix filtering and reordering
...0 650 f 60 100 g 70 127 i.e. to add in the third column of blue the [,2] values of red corresponding to the file with same [x,1] value of blue, adding a cero in the case that there is no [x,1] corresponding value in the red matrixes (case for row 2 of blue). Thanks in advance, juan Juan Pablo Fededa [[alternative HTML version deleted]]
2007 Jul 05
3
help with vector construction
Hi all, I want to make a vector with the third column of a matrix, but only for the 2+3n rows of the matrix, with n being an entire number from 0 to a million. How can I do that in an easy way? Thanks in advance, Juan Pablo [[alternative HTML version deleted]]
2007 Nov 22
4
more outrageous plotting
Dear Contributors: I have the next matrix: "X" "Y" "Z" 1 2 526 2 5 723 3 10 110 4 7 1110 5 9 34 6 8 778 7 1 614 8 4 876 9 6 249 10 3 14 I want to order the matrix from bigest Z (1110) to lower Z (14). Then I want to asign a color scale vector from blue ( bigest Z) to orange
2009 Apr 14
2
matrix merge problem
Dear r-help contributors, I have two questions: first: I have a matrix A and a vector B. I want to make a new matrix C, which is made of the rows of A having a value included in B. Second: I have two matrixes A and B, of different dimensions. B has unique values in column 2 and A has not unique values on column 2. I want to merge this two matrixes by the values in the columns 2 of B and 2 of
2009 Feb 22
2
filtering a simple matrix
Hi all, I have the next matrix: a b c 1 2 23 2 3 42 3 0 54 4 5 23 5 0 22 6 7 21 7 1 20 8 9 19 I want to filter the rows with the values of b higher than 1 in a way that leaves me the next matrix: a b c 1 2 23 2 3 42 4
2007 Nov 22
1
axis invertion
Hi all, I want to invert the y axis of a plot, how can I do that in an easy way? Thanks in advance, Juan Pablo
2008 May 15
1
value transformations in a vector
Dear contributors: I have vector A composed of numbers wich have values equal to 1 and different to 1. I want to transform de components with a value=1 to a component of value=0, and those with a value different to1, to a value=1. Then I want to take out the components=0. Thanks in advance, Juan Pablo [[alternative HTML version deleted]]
2010 Oct 11
2
compare histograms
Hello How to compare  two statistical histograms? How i can know if these histograms are equivalent or not??   Regards [[alternative HTML version deleted]]
2010 Oct 15
0
nomianl response model
...dicine E mailto:cberry at tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901 ------------------------------ Message: 122 Date: Thu, 14 Oct 2010 12:15:37 +1100 From: Michael Bedward <michael.bedward at gmail.com> To: Juan Pablo Fededa <jpfededa at gmail.com>, Rhelp <r-help at r-project.org> Subject: Re: [R] compare histograms Message-ID: <AANLkTi=oLNVM2Thy6w2YUdk6uxS5FB0+8ph6mkxPKRpo at mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Hi Juan, Yes, you can use EMD to quantify the difference betw...