search for: pa1

Displaying 20 results from an estimated 21 matches for "pa1".

Did you mean: pa
2011 Jan 31
4
Select rows with distinct values in a column and other conditions
My data frame looks like: SightingID PA1 PA2 PlotID InOverlap Area1 2001 1 -99 392 Y 0.22 2002 1 -99 388 Y 0.253 2008 1 NA 104 N 0.344 2010 1 NA 71 N 0.185 2012 1 NA 61 N 0.166 2013 1 NA...
2011 Jan 20
4
How to reshape wide format data.frame to long format?
Dear list, I need to convert this data.frame > names(codesM) [1] "key" "AMR.pa1.M" "AMR.pa2.M" "AMR.pa3.M" "AMR.pa4.M" [6] "AMR.pa5.M" "AMR.pa6.M" "AMR.pa7.M" "AMR.pa8.M" "AMR.pa9.M" [11] "AMR.pa10.M" "AMR.ta1.M" "AMR.ta2.M" "AMR.ta3.M" "...
2015 Feb 19
0
snom devices specifically PA1
I have a snom PA1, works fine. I am trying to get it work with multicast and asterisk 11.16 my other devices are accepting multicast. When I enable multicast on the browser interface and enter the IP: port it works. However - when I enter that data on the TFTP config file - it is not present. I used the setting t...
2010 Mar 19
1
Sweave and " object of type 'closure' is not subsettable" error
Hello folks: I have a data frame which includes two numeric vectors: "Pa1" and "Ingr" (which represents income).  I run the following code on the R console: ingreso <- factor(ifelse(Ingr<=3000,"bajo","alto")) tapply(Pa1,ingreso,summary) boxplot(Pa1~ingreso) and it works fine.  However, when I "Sweave" through an rnw fi...
2008 May 21
2
Search a string and modify it in a .txt file
Hi there, I use R and I would like to be able to modify a file .txt "init_file" like this one : # ---------------------------------------------------------------------------- # # Parameters A # ---------------------------------------------------------------------------- # # Parameter 1 PA1 = 15 # Parameter 2 PA2 = 3 # Parameter 3 PA3 = 2 # ---------------------------------------------------------------------------- # # ---------------------------------------------------------------------------- # # Parameters B # ------------------------------------------------------------------...
2009 Apr 15
2
How to extract p-value into a table from a groups of t test
Hi, I have run a groups of t test and obtained a list of the t-test results (about 30). How do I extract p-values from the 30 t-test results and make a table output? Thanks Jun Example t-test output: ============================ $Lambda_z Welch Two Sample t-test data: x[PA1.BS.DN$Onecode == 2] and x[PA1.BS.DN$Onecode == 3] t = -0.1128, df = 33.635, p-value = 0.9109 alternative hypothesis: true difference in means is not equal to 0 95 percent confidence interval: -0.001918987 0.001717230 sample estimates: mean of x mean of y 0.004893264 0.004994143 ...... -- J...
2012 Dec 07
1
how to add a column from another dataset with "merge"
...want to add a shorter column to my dataset with the function "merge", > it > should be filled with NAs wo be as long as the other colums, like this: > > id age > 9 46 > 8 56 > 6 52 > 5 NA > 4 NA > 3 NA > 1 NA > > i did this: > pa1 <- merge(pa1, an1, by="mergeid") > > and it says "'by' must specify uniquely valid column(s)" how about ... #Data d1<-data.frame(id=c(9,8,6,4,4,3,1)) d2<-data.frame(id=c(9,8,6),age=c(46,56,52)) # Left Merge d<-merge(d1,d2,all.x=TRUE) # Reorder d[or...
2009 Aug 01
2
Add columns in a dataframe and fill them from another table according to a criteria
...ch is given below:- This table gives the probabilities of the changes in the swap curve depending on the state of the swap curve. I want to put these probabilities in my dataframe mydata(given after the prob table). Prob of States Changes State1 State2 State3 State4 a Pa1 Pa2 Pa3 Pa4 b Pb1 Pb2 Pb3 Pb4 c Pc1 Pc2 Pc3 Pc4 d Pd1 Pd2 Pd3 Pd4 and I have a dataframe(with 93 rows) called mydata part of which(6 rows) is given below where I want to fill in the last four columns with proba...
2009 Apr 29
1
R Macro Question
...ata2)) # create A matrix by recoding for (i in 1:ncol(responsedata2)){     optiona[,i]<-recode(responsedata2[,i],"'A'=1;NA=NA;else=0") } # compute mean for A matrix pa<-rep(0,ncol(optiona)) for (i in 1:ncol(optiona)){     pa[i]<-round(mean(optiona[,i],na.rm=TRUE),2) } pa1<-as.data.frame(pa)   I can repeat the codes for other options such as "B", "C" and "D", but I am wondering if I can do it  in a macro way--subsituting "A" "a" in the codes with "B" "b", etc. In SAS it can be done easily, but ...
2010 Nov 15
7
Door Contacts via Asterisk?
Hi all, I have had (what I consider) an odd request. The installation I'm working on now is an office on a multi-floor building. They 're looking for some kind of solution with the phone system to provide door control. We are a non-profit so of course I'm looking for something VERY inexpensive. I'm sure /someone/ has done something like this. I'd appreciate any ideas. Cassius
2005 Nov 16
5
"Warning message: package '...' was built under R version 2.3.0"
Hi, While installing precompiled packages I often get warnings like the one in the subject. I usually ignore them, but I still do not understand why windows packages are build with unreleased versions of R. Is there some way to get packages build under R-2.2.0? What are potential problems that can result from that version mismatch? My system: winXP R version: 2.2.0 Jarek Tuszynski
2009 Jul 31
1
Fill dataframe from a table according to a criteria
Deare R users I am new to R. What I want to do is explained below;- I have table called States.Prob which is given below Prob of States Changes State1 State2 State3 State4 A Pa1 Pa2 Pa3 Pa4 B Pb1 Pb2 Pb3 Pb4 C Pc1 Pc2 Pc3 Pc4 D Pd1 Pd2 Pd3 Pd4 and I have a dataframe called mydata which is given below where I want to fill in the last four columns of probabilities taken from States.Prob...
2009 Jul 15
0
Fwd: DLLs
...obin Cowan Here is the simple Pascal code: Running on a Macintosh Intel, OS X 10.5, R 2.9.1 {$MODE DELPHI} library LearningLib; const num=75; type array1= array[1..2,1..num] of Double; array2=array[1..num,1..num] of longint; array3=array[1..num,1..num] of Double; array4=array[1..num] of longint; pA1=^array1; pA2=^array2; pA3=^array3; pA4=^array4; pD=^Double; procedure learning(loc1:pA1;adj1:pA2;alpha:pD); cdecl; var i1,i2,neighs:longint; sum1,sum2:double; newloc: array [1..2,1..num] of double; begin for i1:=1 to 2 do for i2:=1 to num do newloc[i1,i2]:=0; for i1:= 1 to num do begin neighs:=...
2009 Jul 23
1
ggplot2 : commands on one line vs two lines.
...de", "Area"), class = "data.frame", row.names = c(NA, -13L)) library(ggplot2) p <- ggplot(provs, aes(x = 0, xend = Area, y = Pcode, yend = Pcode)) # commmand below is on one line pa <- p + geom_point(aes(Area, Pcode)) + geom_segment() + xlab("Area") pa pa1 <- p + geom_point(aes(Area, Pcode)) + geom_segment() + xlab("Area") # Error in +xlab("Area") : invalid argument to unary operator # commmand below is on one line pb <- p + geom_point(aes(Area, Pcode)) + geom_segment() + labs(x="Area", y="Povs&qu...
2003 Dec 26
2
OC curve in "Quality Control"
Dear all, Can anyone please help me about any of the following questions: -------------------------------------------- 1. How can i find "factorial" of any number in R? I tried > prod(170:1) # to find factorial of 170 or 170! Is it the only procedure - or R has any better process / operational character to calculate factorial? Also, is it possible to calculate factorial of 500? Or
2019 Mar 21
2
Paging systems?
You need more than an ATA. You need something with an FSO and FXO. I've used Linksys/SPA3102-3.3.6 and been happy with it. From: asterisk-users <asterisk-users-bounces at lists.digium.com> On Behalf Of Sebastian Nielsen Sent: Thursday, March 21, 2019 3:01 PM To: 'Asterisk Users Mailing List - Non-Commercial Discussion' <asterisk-users at lists.digium.com> Subject: Re:
2013 Jan 07
5
Paging unit suggestions
We currently have an Asterisk system that is hooked up to our old paging speakers via sound card, plugged into two amps. Each amp drives up to 8 analog speakers in each warehouse (we have 2). Both warehouses are around 30k square feet. Both have a large number of printing presses. The computer system is that is running Asterisk is around 10 years old and starting to fail. I'm looking to
2011 Jun 15
1
Print the summary of a model to file
...-0.00833925944560227, 0.00724377249911614 c(3, 997) c(0.001587401493019, 3.32626693693668e-05, 0.412938194338572, 3.32626693693668e-05, 0.0441665508678859, 2.86654588531843, 0.412938194338572, 2.86654588531843, 473.324480704723) nls(formula = wcorr ~ (Y0 + a * exp(m1 * -dist/100)), start = pa1, control = list(maxiter = 1000, tol = 1e-05, minFactor = 0.0009765625, printEval = FALSE, warnOnly = TRUE), algorithm = "default", trace = FALSE) list(isConv = TRUE, finIter = 7, finTol = 4.21396379219722e-06, stopCode = 0, stopMessage = "converged") list(maxiter = 1000, war...
2019 Mar 21
9
Paging systems?
Does anyone have an (overhead) paging system that they like that works with SIP? We've got a client with an old paging system that (supposedly) just takes an rj11 POTS connection, but when we put an SPA Cisco adapter on it, it doesn't auto-answer the call, so paging never happens. [cid:image001.png at 01D4DFF6.9C1F1AA0] Michael J. Munger, dCAP, MCPS, MCNPS, MBSS Microsoft Certified
2010 Sep 03
2
RFC: Lazy syntax for paragraphs, blockquotes and lists
...ndentation syntax provides Markdown users with many chances to get some unexpected output... Additionally, since both lists and blockquotes support lazy indentation it is sometimes not clear what the outcome is when those two elements are combined. Here are some issues taken from the Markdown ML. PA1. First example: * this is list item > * this item is in a block quote more block quoting? PA2. Second example: * > list item with quoting more text here * > list item with quoting more text here * another list item PA3. Third example: >...