search for: tab3

Displaying 11 results from an estimated 11 matches for "tab3".

Did you mean: tab
2005 Oct 27
1
data.frame-question]
...ng style, could you please be more specific about where the error occurs as without this it is very difficult to identify what the problem is. Now concerning your problem. When I tried the code I posted yesterday I thought it worked fine. I've tried it again now and found that the data.frame TAB3 actually only has one column and the names "A", "B" etc are actually interpreted as the row names. Since there is only one column the 'colnames(TAB3) <-' fails when you give it a vector with two components. I think that if you display it without renaming the columns...
2012 Oct 12
2
Problem to read non-standard csv file
Hi all, I have a problem to read csv file with comma as decimal. The numbers were readed as strings. I used the following string in R, but I do not understand why it does not work. tab <- read.csv2("Specimen_RawData_1.csv", header = TRUE, sep = ";", dec = ",", nrows = -1) In addition, I copy/past into the post the link to the csv file generated by my instrument.
2008 Feb 13
2
apply on large arrays
...table, approximately of size 60*2*500*500, and I need to count the number of cells containing a count of 1 for each of the factors values defining the first dimension. Here is my attempt: tab1<-with(pisa1,table(CNT,GENDER,ISCOF,ISCOM)) tab2<-apply(tab1,1:4,function(x)ifelse(sum(x)==1,1,0)) tab3<-apply(tab2,1,sum) Computing tab2 is very slow. Is there a faster and/or more elegant way of doing this? -- Erich Neuwirth, University of Vienna Faculty of Computer Science Computer Supported Didactics Working Group Visit our SunSITE at http://sunsite.univie.ac.at Phone: +43-1-4277-39464 Fax:...
2013 Jan 08
0
bagging SVM Ensemble
...predict(modelopoly,newdata=testset, decision.values=F) prediction3<- predict(modelorad,newdata=testset, decision.values=F) prediction4<- predict(modelotan,newdata=testset, decision.values=F) tab1 <- table(pred = prediction1,testset$class) tab2 <- table(pred = prediction2,testset$class) tab3 <- table(pred = prediction3,testset$class) tab4 <- table(pred = prediction4,testset$class) ecr1<-(tab1[2,1]+tab1[1,2])/sum(tab1) ecr2<-(tab2[2,1]+tab2[1,2])/sum(tab2) ecr3<-(tab3[2,1]+tab3[1,2])/sum(tab3) ecr4<-(tab4[2,1]+tab4[1,2])/sum(tab4) classAgreement(tab) #Bagging EnSVM...
2005 Oct 25
2
data.frame-question
...e_singular<-as.character (Name_singular) TAB2<-data.frame (Name_singular) # it looks like this: Name_singular A B C D E -My result should be a data-frame, where the first column is Name_singular and the second column should be the sum of the numbers where Name ==Name_singular.- For example: TAB3: Name_singular Sum A 11 B 27 佲仸 - I tried it with for-loops, but I think there must be an easier way.- I would be very grateful for your help, Michael Graber
2006 Oct 27
3
How to best divide table by table
Hi all, how can I divide two tables of the same dimension so that all names are preserved, ie do not become NA? I have "tab1" and "tab2", each having names in the first column. I want "tab3" with the same names and values "tab1/tab2". Thanks, Serguei
2013 Apr 10
6
means in tables
...13.16 2.36 2.67 18.6 101 14.37 1.95 2.50 16.8 113 13.24 2.59 2.87 21.0 118 tab2: V1 V2 V3 V4 V5 1.23 1.1 2.3 1.6 17 1.20 1.8 2.4 1.2 10 1.16 2.6 2.7 1.6 11 1.37 1.5 2.0 1.8 13 1.24 2.9 2.7 2.0 18 I need generate a table of averages, the elements in the same position in both tables, like: tab3: (14.23 + 1.23)/2 (1.71+1.1)/2 (127+17)/2 and so on I tried the program: M?dias = matrix(NA, nrow(tab1), ncol(tab1)) for(i in 1:nrow(tab1)){ for(j in 1:ncol(tab1)){ for(k in 1:nrow(tab2)){ for(l in 1:ncol(tab2)){ M?dias = tab1$i[j] }}}} M?dias but it does't wo...
2003 Dec 26
3
loop and read.table
Hi, I would like to open several tables with a loop, using something like : ----------------- $ ls 1.txt 2.txt 3.txt 4.txt $ R > for (i in 1:4) tabi<-read.table("i.txt") Error in file(file, "r") : unable to open connection In addition: Warning message: cannot open file `i.txt' ------------------ thanks for any help Tristan Lefebure
2003 Apr 08
2
OpenSSH 3.6.1p1 on NCR MP-RAS v4.3, several weird terminal problems
...read -clocal -loblk -parext -ignbrk brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc ixon -ixany -ixoff -imaxbel isig icanon -xcase echo echoe echok -echonl -noflsh -tostop echoctl -echoprt echoke -defecho -flusho -pendin iexten opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3 I have confirmed that these same problems occur when the client is OpenSSH v3.1p1 on a Linux machine, so it is not related to the SecureCRT client - it is definitely the way the OpenSSH code compiles/runs on the NCR MP-RAS server. Ideas and previous experience in getting OpenSSH to work correc...
2006 Jan 05
18
ctrl-c doesn''t work in domU consoles
Hey, I''ve installed Xen 3.0 on a freshly installed Debian Sarge. dom0 is working nicely (kernel 2.6.12.6-xen0). Then I created a domU, again with Debian Sarge, booting Xen''s vmlinuz-2.6.12-xenU. Unfortunately ctrl-c does not work in the domU''s console, neither if I create the domU with "xm create -c ..." nor if I attach to it later. It doesn''t matter
2013 Jan 23
132
[PATCH 00/45] initial arm v8 (64-bit) support
First off, Apologies for the massive patch series... This series boots a 32-bit dom0 kernel to a command prompt on an ARMv8 (AArch64) model. The kernel is the same one as I am currently using with the 32 bit hypervisor I haven''t yet tried starting a guest or anything super advanced like that ;-). Also there is not real support for 64-bit domains at all, although in one or two places I