search for: ag

Displaying 20 results from an estimated 3890 matches for "ag".

Did you mean: arg
2006 Jun 30
3
data extraction
Dear mailing list I have a data that have 20,000 rows and 20 columns. Io wonted to extract the 10th row only. Example the 10th, 20th, 30th 40th…..20000 th. can you please help me how do I do that.Than kyou. Example is below. Inpute: AG GG GG AG CC CC CC CC CT CC CT CT GG GG GG GG CC CC CC CC GG GG GG GG CC CC CC CC GG CG CG GG GG GG GG GG *CC CC CC CC* AA AG AG AA AA AA AA AA GG AG AG GG GG AG AG GG GG GG GG GG TT TT TT TT AA AG AG AA CT CC CT TT AG AA AG GG *AA AA AG AG* AA AA AA AA CC CC CC CG GG GG GG AG CT TT CT CT AT AA AT A...
2013 Jan 09
4
how to count "A","C","T","G" in each row in a big data.frame?
...;+", "+", "+", "+", "+", "+", "+", "+"), X2353 = c("AA", "TT", "TT", "CC", "TT", "CC", "CC", "TT", "CC", "GG", "AG", "AG", "AG", "TT", "CC", "AG", "CC", "AA", "GG", "GG"), X2409 = c("AA", "CT", "TT", "CC", "CT", "CC", "CC", "TT", &...
2005 Aug 03
0
Chan_bluetooth and AudioGateway phone [long]
...cription: Hands-Free voice gateway Service Provider: Motorola Service RecHandle: 0x10007 Service Class ID List: "Handfree Audio Gateway" (0x111f) "Generic Audio" (0x1203) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 7 Language Base Attr List: ... Profile Descriptor List: "Handsfree" (0x111e) Version: 0x0101 Maybe the channel 7? I have also the following channels available /etc/asterisk# sdptool browse 00:0a:28:83:a9:cf Browsing 00:0A:28:83:A9:CF ... Service RecHandle: 0x0 Service Class ID List: &qu...
2006 Oct 15
0
chan_bluetooth - one way audio
...e problem? Thanks for your time, Danko This is my bluetooth.conf [general] ; Channel we listen on as a HS (Headset) rfchannel_ag = 7 ; hci interface to use (number - e.g '0') interface = 0 ;; Some phone example [00:14:9A:F8:EB:E7] name = V3 ; The name of the phone channel = 3 ; The channel used by the HS audio gateway profi le autoconnect = yes ; Tells chan_bluetooth to est...
2010 Mar 09
0
error with adaboost: replacement has 186 rows, data has 62
...0 0 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 [40] 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 [1] "xlearn" rs2289472 rs1551398 rs7927894 X18 "CT" "AA" "CT" X19 "TT" "AA" "CC" X33 "TT" "AG" "TT" X35 "TT" "AA" "CT" X36 "CC" "AA" "CT" X41 "CT" "AA" "CT" X46 "TT" "AA" "CT" X65 "CT" "AG...
2008 Apr 24
1
truncate row names
Hi, I would like to truncate row names. Is that possible? I ran a regression with the covariates in a matrix, and in the results the coefficients have the matrix name concatenated with the variable name: > full.t.ag <- Icens(lfirst_well, llast_well, lfirst_ill, formula=~ t.ag.X, breaks=t.ag.int, data=t.ag) > full.t.ag$cov$coeff t.ag.Xnyearc t.ag.Xhorse t.ag.Xswine t.ag.Xpet t.ag.Xother t.ag.Xpoultry t.ag.Xyr.horse -0.29497437 0.77857817 -0.53315929 -1.02745065 -0.17775268...
2006 Jan 11
1
chan_bluetooth problems
...ke a call to my home through the channel my phone shows calling but my home phone never rings. I get this on screen: == Spawn extension (outgoing, 3234600, 2) exited non-zero on 'SIP/2299-9131' -- Executing Dial("SIP/2299-7743", "BLT/John/3541107") in new stack [AG] John < ATD3541107; -- Called John [AG] John > OK [AG] John > +CIEV: 3,2 [AG] John > +CIEV: 4,2 [AG] John > ERROR [AG] John > +CIEV: 1,0 [AG] John < ATH [AG] John < AT+CHUP == No one is available to answer at this...
2010 Mar 08
0
error when using svm routine: Error in if (any(co)) { : missing value where TRUE/FALSE needed
Hi, I met with this error message with the following data set. Do you know how to resolve it? Thanks. > data<-read.table("c://temp3//abc.csv", sep = ",", header=T) > classwt<-c( 0.5806452, 0.4193548) > y<-data[,1] > x<-data[,2:ncol(data)] > print(y) [1] 1 1 1 1 1 1 1 1 1 2 2 2 2 2...
2011 Dec 15
1
Am I misunderstanding loop variable assignment or how to use print()?
Given this interactive session: > an<-ls(pat="anova.ag.m2529") > an [1] "anova.ag.m2529.az" "anova.ag.m2529.can" "anova.ag.m2529.fl" > print(anova.ag.m2529.az) Analysis of Variance Table Response: year Df Sum Sq Mean Sq F value Pr(>F) time 1 14.823 14.8235 10.598 0.004...
2013 Apr 23
1
assigning cluster id in cluster package-reg.
Well, you don't give much of an example.... I'm replying CC to the R mailing list. Please ask questions there, rather than adressing individuals for basic help. Here is one; does it answer your question ? data(agriculture) ag.ag <- agnes(agriculture) class(ag.ag) pltree(ag.ag) # the dendrogram, if you want to see it ## cut the dendrogram -> get cluster assignments: (ck3 <- cutree(ag.ag, k = 3)) (ch6 <- cutree(as.hclust(ag.ag), h = 6)) stopifnot(identical(unname(ch6), ck3)) On Tue, Apr 23, 20...
2005 Feb 28
2
A problem about outer()
...#39;t understand. Just see the following example. The two NaNs are due to 0/0, but I can't figure out the cause of the last two errors. I wonder if some one can explain this for me. ___________________________________________________________________ > sx=rbinom(10,1,0.5);ot=rbinom(10,1,0.5);ag <- rbinom(10,100,0.3);ho <- rbinom(10,100,0.5) > dp <- function(s,a,h)sum((sx==s)&(ag==a)&(ho==h)&(ot==1))/sum((sx==s)&(ag==a)&(ho==h)) > (function(x,y)dp(1,x,y))(2,3) [1] NaN > (function(x,y)dp(0,x,y))(27,52) [1] NaN > dpm <- outer(ag,ho,function(x,y)dp(...
2006 Jan 27
1
chan_bluetooth: successful compile and outbound cell calls: Still tweaking inbound setup. WAS: Cannot compile chan_bluetooth on Asterisk 1.2.1
...t (C) 1999 - 2005 Digium. > > Written by Mark Spencer <markster@digium.com> > > ========================================================================= > > Connected to Asterisk 1.2.1 currently running on asterisk1 (pid = 3025) > > Verbosity is at least 3 > > [AG] T616 > +CIEV: 2,4 > > [AG] T616 > +CIEV: 2,3 > > [AG] T616 > RING > > [AG] T616 > +CLIP: "4255551212",161,,,"Landline" > > -- Executing Wait("BLT/T616", "1") in new stack > > -- Execu...
2013 Feb 13
5
spearman correlation and p-value as a matrix
...0 0.000000 0 0.000000 > Gi45Jun11 0.000000 0 0.000000 0 0.001513 0 0 0 0.000000 0 0 0 0 0 0.000000 0 0.000000 > Gi475Jun11 0.000000 0 0.000000 0 0.000000 0 0 0 0.000000 0 0 0 0 0 0.000000 0 0.000000 > Gi50Jun11 0.000000 0 0.000000 0 0.000000 0 0 0 0.000000 0 0 0 0 0 0.000000 0 0.000000 ag <- read.table (file.choose(), header=T, row.names) for (i in 1:(ncol(bg))) for (j in 1:(ncol(ag))) print(c(i,j)) final_matrix <- matrix(rep("0",ncol(bg)*ncol(ag)),ncol=ncol(bg),nrow=ncol(ag)) cor <- cor.test(as.vector(as.matrix(bg[,i])),as.vector(as.matrix(ag[,j])), method=&...
2005 Sep 27
2
Integration with NMS AG-E1/T1
I want to replace a custom PBX, that is infront on a IVR system based on OLD NMS AG-E1 Card. The Cards is configurated with CAS Digitalmode, someone can give me some info about Digim Cards CAS configuration i need a conversion Table? I wanto to don't touch configuration on winbox, i want only replace HWPBX box with asterisk. Diagram Telco E1 ===>Proprietary PBX=======...
2005 Oct 28
3
replacing a factor value in a data frame
Hi All, I have the following problem, that's driving me mad. I have a dataframe of factors, from a genetic scan of SNPs. I DO have NAs in the dataframe, which would look like: V4 V5 V6 V7 V8 V9 V10 1 TT GG TT AC AG AG TT 2 AT CC TT AA AA AA TT 3 AT CC TT AC AA <NA> TT 4 TT CC TT AA AA AA TT 5 AT CG TT CC AA AA TT 6 TT CC TT AA AA AA TT 7 AT CC TT CC <NA> <NA> TT 8 TT CC TT AC AG AG TT 9 AT CC TT CC AG <NA> TT 10 TT CC TT CC GG GG TT In...
2006 Jul 28
1
spliting
...data frame and each element in the matrix has two alphabets. I want to split those alphabets into two so each element will have one alphabet and the number of my columns will be doubled . So can some one help with the code? Example of what I want is to split them. Input (three column) GG AG AG CC CC CC CC CC CC AG AG AG GG GG GG TT TT CT Output (six column) G G A G A G C C C C C C C C C C C C A G A G A G G G G G G G T T T T C T thank you [[alternative HTML version deleted]]
2009 Feb 20
2
System of logistics Equations
...nd the subject score with 2 scale (not integer value is possible but rare): Val range -7 to 7 and other Car range 1 to 7. This a code to fake database of research Subj<-rep(1:20,each=60) Sti<-rep(c("G","S","P"),40) SP<-rep(c("S","P"),60) AG<-rep(c("A","P"),60) Mer<-rep(c("M","NM"),60) Car<-round(runif(120,1,7),0) Val<-round(runif(120,-7,7),0) base<-data.frame(Subj,Sti,SP,AG,Mer,Car,Val) In my hypothesis: logit(Sti=="G") ~ SP+AG+Mer+Car+Val+SP*Car+Mer*Val+AG*Val + error...
2006 Jun 22
2
*** Spam *** Don't use CDRTool From AG-projescts
...e of the real experts in this industry and he and his stuff does not deserve such a treatment. I would recommend that you change your attitude. It seems like you did not get what you want (for free) and you complain like a small child. An apology would be appropriate. CS > -----Original Message----- > From: asterisk-users-bounces@lists.digium.com > [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of > hgaillac-sip@yahoo.fr > Sent: Thursday, June 22, 2006 3:16 PM > To: Asterisk-users@lists.digium.com > Cc: serusers@lists.digium.com > Subject: *** Spam ***...
2010 May 11
3
Improving loop performance
R-users, I have the following piece of code which I am trying to run on a dataframe (aga2) with about a half million records.  While the code works, it is extremely slow.  I've read some of the help archives indicating that I should allocate space to the p1 and ags1 vectors, which I have done, but this doesn't seem to improve speed much.  Would anyone be able to provide me wit...
2009 Mar 20
1
reshape dataframe
Hi, I have a large dataset on which I would like to do the following: x<-data.frame(id=c(1,2,3), snp1=c("AA","GG", "AG"),snp2=c("GG","AG","GG"),snp3=c("GG","AG","AA")) > x id snp1 snp2 snp3 1 1 AA GG GG 2 2 GG AG AG 3 3 AG GG AA And then reshape the dataset in such a way that the individuals get 2...