Displaying 20 results from an estimated 10000 matches similar to: "Odp: Finding pairs"
2010 Aug 24
2
Finding pairs
Dear R Helpers,
I am a newbie and recently got introduced to R. I have a large database containing the names of bank branch offices along-with other details. I am into Operational Risk as envisaged by BASEL II Accord.
I am trying to express my problem and I am using only an indicative data which comes in coded format.
A (branch) B (controlled by)
144
2005 Aug 30
2
Manipulate CALLERIDNUM
Can someone tell me how to do this...Given the following line:
exten => *97,3,VoicemailMain(${CALLERIDNUM}@default)
Is it possible to add some logic to manipulate the CALLERIDNUM to send
back 801 even if the extension is 601 and 901 even if the extension is
701? I have 2 branch offices where users have both Office and Home SIP
phones. I want them to share a VM box.
Branch1 = 8XX , Home =
2008 Apr 03
3
Branchable migrations -- A plugin to let you organize your migrations
I just put a new plugin named branchable_migrations on Github.
Branchable migrations lets you separate your migrations into
"branches" (i.e., a director under db/migrate) that each have their
own version. Using the forthcoming UTC timestamped migrations and
this plugin, you can separate migrations by table or feature. Doing
so should alleviate many of the problems that seem to pike up
2005 Jul 19
2
Installation
Hi there ,
I am a new user of Asterisk. When I downloaded it and was trying to compile it, i got the following error message after it run for a while. This error came after I run make.
__________________________________________
gcc -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O6 -march=i686
2010 Aug 17
2
Matrix
How do I completely remove the first column?
(x <- matrix(c(1, 44, 124, 80, 254, 70, 190, 0, 2, 35, 110, 70, 240, 73, 216, 0, 3, 41, 114, 80, 279, 68, 178, 0, 4, 31, 100, 80, 284, 68, 149, 0, 5, 61, 190, 110, 315, 68, 182, 1, 6, 61, 130, 88, 250, 70, 185, 0, 7, 44, 130, 94, 298, 68, 161, 0, 8, 58, 110, 74, 384, 67, 175, 0, 9, 52, 120, 80, 310, 66, 144, 0, 10, 52, 120, 80, 337, 67, 130, 0, 11,
2013 Jan 03
2
Sas by function in R
Hello,
It's an alternative to use SAS by function in R?
I want to plot d histograms by plot.from example bellow:
Thank you!
plot d
1 1 16.3
2 1 25.0
3 1 57.8
4 1 17.0
5 2 10.8
13 2 96.4
17 3 76.0
18 3 32.0
19 3 11.0
20 3 11.0
24 3 106.0
25 3 12.5
21 4 19.3
22 4 12.0
26 4 15.0
27 5 99.3
32 7 11.0
36
2012 Mar 22
2
Randomly select elements based on criteria
Hi,
I want to randomly pick 2 fish born the same day but I need those
individuals to be from different families. My table includes 1787 fish
distributed in 948 families. An example of a subset of fish born in one
specific day would look like:
>fish
fam born spawn
25 46 43
25 46 56
26 46 50
43 46 43
131 46 43
133 46 64
136 46 43
136 46 42
136 46 50
136 46 85
137 46 64
142 46 85
144 46 56
2011 Jul 19
1
list.files recursively to find files in a specific way...
Hi, all:
My folders are organized in such a way:
root
----branch1
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt
-----------------------file2.txt
----branch2
---------------A
-----------------------file1.txt
-----------------------file2.txt
---------------B
-----------------------file1.txt
2009 Apr 14
4
cbind
I have a list of numbers with NAs as below:
> A[,1]
[1] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[19] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[37] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[55] NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA NA
NA
[73] NA NA NA 62 78 98
2006 Oct 11
1
Question about error of "non-numeric argument to binary operator"
Hi,
I have the following data and there is no binary operator contained,
however, I still receive the error message when running unitrootTest
function, could someone give me a guidance on it??
>readClipboard()
[1] "245" "246" "261.5" "275.5" "307" "284.5" "289" "313.5"
"323.75"
2011 Jan 07
0
Odp: Currency return calculations
My mistake sir. I was literally engrossed in my stupid logic, and while doing so, overlooked the simple and very effective solution you had offered. Sorry once again sir and will certainly try to be very careful in future.
Thanks again and have a great weekend sir.
Regards
Amelia
--- On Fri, 7/1/11, Petr PIKAL <petr.pikal@precheza.cz> wrote:
From: Petr PIKAL
2017 Mar 23
2
ayuda
Etimados
Necesito llevar estos valores a un csv, pero exclyendo los numeros de
orden que aparecen (como ejemplo 1 2 3 4 5
6 7... 146 147 148 149 )
?cual es el procedimiento en R?
saludos
José
adjunto el archivo
1 2 3 4 5 6 7 8
9 10
398.25016 314.53157
2002 Sep 10
4
ext3 performance mystery
Help solving a performance mystery would be welcome.
I have two test programs:
* one totally CPU bound (it just infinitely loops)
* the other I/O bound (it loops, each time doing
* a write,
* an fsync or fdatasync (I get similar behavior with either),
* an lseek to back up to the same position again
Under ext2, if I run these two together, they each run nearly as fast
as
2020 Oct 13
1
Please need help to finalize my code
Hm. Google tells me that kernel function is in stats package which comes with base installation and is invoked when you start R.
search()
[1] ".GlobalEnv" "package:stats" "package:graphics"
[4] "package:grDevices" "package:utils" "package:datasets"
[7] "package:methods" "Autoloads"
2007 Aug 10
0
Odp: having problems with factor()
You've spotted it!
table(df$area)
0 1 2 3 4 5 7
21 27 71 46 19 3 1
There are no values in area 6.
Thank you very much.
Jabez
----- Original Message ----
From: Petr PIKAL <petr.pikal@precheza.cz>
To: Jabez Wilson <jabezwuk@yahoo.co.uk>
Cc: R-Help <r-help@stat.math.ethz.ch>
Sent: Friday, 10 August, 2007 1:02:21 PM
Subject: Odp: [R] having problems with
2008 Oct 27
0
Odp: Request: Most repeated sequence considering combinations at each row
Dear Petr
Thanks for the response. Hope it will now help me to proceed.
best regards
M.Azam
________________________________
From: Petr PIKAL <petr.pikal@precheza.cz>
Cc: R Help <r-help@r-project.org>; r-help-bounces@r-project.org
Sent: Monday, October 27, 2008 8:43:27 AM
Subject: Odp: [R] Request: Most repeated sequence considering combinations at each row
Hi
not sure if this is
2007 Aug 13
0
Odp: Very new - beginners questions
>>> Petr PIKAL <petr.pikal at precheza.cz> 13/08/2007 14:10:40 >>>
>> How do I read one row of data so as to load site2 into a variable
>>called site2?
>
>?read.table and other read..... commands.
Don't forget scan(). But Petr is right, you probably do not need to read one row at a time.
>> Once I plot a graph using ordiplot how do I
2013 Nov 26
7
[PATCH RESEND 0/1] libxl: introduce an option for disabling the non-O_DIRECT
I think I posted this patch before, but it looks like it was in
December 2012 (!).
1/1 libxl: introduce an option for disabling the non-O_DIRECT workaround
Ideally it would go into 4.4, at least. Provided the corresponding
qemu part has gone into qemu-xen, which I think it has. Can anyone
confirm ?
2009 Oct 20
2
descriptive statistics qn
This is day one on R for me, I am trying to figure out how to do simple
computations. For example I have a data set with 200 observations. I am
trying to compute the mean and variance in r for 1:25 (first 25
observations); 1:50 (first 50 obs) ; 1:100th observation etc. Here is the
dataset:
Id value
1 2.2338
2 3.13597
3 1.98685
4 4.35593
5 2.43963
6 4.20262
7 3.12131
8 4.79583
9 3.13937
10
2007 Sep 11
0
Odp: storing text and decimal values in a matrix form
Hi
Gon?alo Ferraz <gferraz29 at gmail.com> napsal dne 11.09.2007 16:35:57:
> Thanks! What is the easiest way of declaring an empty data frame. Is
there
> anything similar to:
> matrix(0,x,y)
> In the help files, I am only finding longer commands that ask me to
specify
> each individual column.
You can either do
dat<-data.frame(x=rep(NA,10), y=rep(NA,10))
or to