search for: 2_1

Displaying 8 results from an estimated 8 matches for "2_1".

Did you mean: 21
2008 Nov 27
1
Help processing large data
Dear all, I have one problem to handle a large dataset... It looks like: "read" "no" "length" 2 2 144 7 7 47490 9 9 310944 11 11 10089 14 14 13152 17 17 27363 and so on There are 130000 rows >From this table I need to make a table like 2_1 2 100 2_2 2 44 7_1 7 100 7_2 7 100 ... ... 7_474 7 100 7_475 7 90 9_1 9 100 9_2 9 100 and so on... In words: I want to divide the 3rd column by 100 to keep the length 100 and increasing no of rows needed, where no will be same for all increased rows, but the read will be changed like 2_1,2_2 and...
2007 Apr 04
2
selection of character
Hi all, I have a simple question: I have a character vector like this [1] "10_1" "1_1" "11_1" "2_1" "3_1" "4_1" "5_1" "6_1" "7_1" "8_1" [11] "9_1" "1_3" "2_3" "3_3" "4_3" "1_4" "2_4" "3_4" "4_4" "5_4" [21] "6_4&qu...
2013 Sep 25
1
Computing calculation among two vectors
...;,"/","-","+") res<-sapply(y,function(i) {x1<-expand.grid(x,x); unlist(lapply(paste0(x1[,1],i,x1[,2]),function(u) eval(parse(text=u))))}) row.names(res)<- as.character(interaction(expand.grid(x,x),sep="_")) head(res) #??? *?? /? - + #1_1 1 1.0? 0 2 #2_1 2 2.0? 1 3 #3_1 3 3.0? 2 4 #4_1 4 4.0? 3 5 #1_2 2 0.5 -1 3 #2_2 4 1.0? 0 4 A.K. I have two vectors one numeric and another with operand. Eg: x - 1,2,3,4 and y-"*", "/", "-", "+" I need to calculate all the possible two combinations in x with each of...
2008 Jan 15
1
help with reshaping data into long format (correct question)
...34 25 32 22 35 29 21 city NY LD NY SG NY LD VG SA LD SG sex 1 1 2 2 2 2 1 1 1 2 treat_a y y y y treat_b n n n n n n ques1_1 2 4 5 6 8 3 1 2 4 5 ques1_2 6 4 5 12 10 9 8 4 5 7 ques1_3 17 23 32 25 14 24 23 22 32 29 ques2_1 4 7 9 10 6 8 5 7 8 9 ques2_2 8 9 10 12 17 19 14 21 22 19 ques2_3 23 18 19 20 23 24 26 28 29 22 ques3_1 5 7 9 1 4 7 9 8 10 5 ques3_2 34 35 32 23 31 29 27 25 32 33 ques3_3 29 33 27 25 27 23 24 29 27 24 where the first row is the header row in a dataframe. First I want to...
2008 Jan 15
0
Help with reshape data into long format
...34 25 32 22 35 29 21 city NY LD NY SG NY LD VG SA LD SG sex 1 1 2 2 2 2 1 1 1 2 treat_a y y y y treat_b n n n n n n ques1_1 2 4 5 6 8 3 1 2 4 5 ques1_2 6 4 5 12 10 9 8 4 5 7 ques1_3 17 23 32 25 14 24 23 22 32 29 ques2_1 4 7 9 10 6 8 5 7 8 9 ques2_2 8 9 10 12 17 19 14 21 22 19 ques2_3 23 18 19 20 23 24 26 28 29 22 ques3_1 5 7 9 1 4 7 9 8 10 5 ques3_2 34 35 32 23 31 29 27 25 32 33 ques3_3 29 33 27 25 27 23 24 29 27 24 where the first row is the header row in a dataframe. First I want to...
2005 Jul 18
2
scriptaculous dragdrop.js empty list problem
Hi, I''ve just been having a look at the scriptaculous drag-n-drop library, which looks exceedingly good. I''m running across a show-stopper here, though - something that''s cropping up in both the online demos and my own test scripts. If I set up two lists so that I can drag items between them, then if either list becomes empty, I can''t drag elements back into
2012 Mar 09
1
Multiple Correspondence Analysis
You should send this to r-help@stat.math.ethz.ch. On 03/09/2012 09:21 AM, Andrea Sica wrote: > Hello everybody, I'm looking for someone who is able with MCA and > would like to gives some help. > > If what I'm doing is not wrong, according to the purpose I have, I > need to understand how to create a dependence matrix, where I can > analyze the > dependence between
2008 Nov 21
3
HELP
[This email is either empty or too large to be displayed at this time]