Displaying 20 results from an estimated 200 matches similar to: "Query about getting averages across a certain parameter in a table"
2007 Jan 24
1
Query about extracting subset of datafram
Hi
I have a table read from a mysql database which is of
the kind
clusterid clockrate
I obtained this table in R as
clockrates_table <-sqlQuery(channel,"select....");
I have a function within which I wish to extract the
clusterid for a given cluster.
Although I know that there is just one row per
clusterid in the data frame, I am using subset to
extract the clockrate.
clockrate =
2006 May 01
4
table of means/medians across bins used for a histogram
Hi
I am trying to get a table of means of parameter 1
across BINS of parameter 2.
I am working in proteomics and a sample of my data is
as follows
cluster-age clock-rate(evolutionary rate) scopclass
0.002 10 A
0.045 0.1 B
0.13 15 A
0.15 34 D
....
....
....
2007 Feb 28
3
Packages in R for least median squares regression and computing outliers (thompson tau technique etc.)
Hi
I am looking for suitable packages in R that do
regression analyses using least median squares method
(or better). Additionally, I am also looking for
packages that implement algorithms/methods for
detecting outliers that can be discarded before doing
the regression analyses.
Although some websites refer to "lms" method under
package "lps" in R, I am unable to find such a
2007 Apr 01
1
No Audio with Gtalk
I configured my * with the instructions found here
http://www.voip-info.org/wiki/view/Asterisk+Google+Talk
to work with gtalk. The Phone rings and connects - but no audio!
I am using a self-compiled asterisk 1.4.2 There is a lot of output on
the CLI but I can't make sense of it. Perhaps somebody can help?
Michael
Output from the CLI:
JABBER: gtalk_account OUTGOING: <iq
2006 Oct 26
2
Query about using table
Hi
I have data of the following form
ID age member_FLAG
1 25 Y
2 36.75 N
3 75.5 N
.........
.........
I want to get a histogram of this data showing
distribution of member_flag in each age-bin i.e. how
many values in each age bin have a member_flag of 'Y'
and how many have 'N'.
I was able to do the same using barplot2.
However I also need similar
2007 Jan 26
1
Package for phylogenetic tree analyses
Hi
I am looking for a package that
1. reads in a phylogenetic tree in NEXUS format
2. given two members/nodes on the tree, can return the
distance between the two using the tree.
I came across the following packages on CRAN
ouch, ape, apTreeShape, phylgr all of which seem to
provide extensive range of functions for reading in a
Nexus-format tree and performing phylogenetic
analyses, tree
2007 Mar 01
2
Query about data manipulation
Hi
Thanks much for the prompt response to my earlier
enquiry on packages for regression analyses.
Along the same topic(?), I have another question about
which I could use some input.
I am retreiving data from a MySQL database using
RODBC.
The table has many BLOB columns and each BLOB column
has data in the format
"id1 \t id2 \t measure \n id3 \t id4 \t measure...."
(i.e. multiple rows
2007 Jan 25
1
unique/subset problem
Hi
I am new to R programming and am using subset to
extract part of a data as follows
names(dataset) =
c("genome1","genome2","dist","score");
prunedrelatives <- subset(dataset, score < -5);
However when I use unique to find the number of unique
genomes now present in prunedrelatives I get results
identical to calling unique(dataset$genome1) although
2007 Jan 23
3
Query about extracting subsets from a table
Hi
I am trying to process tabular data as follows:
Data in the input file is of the form
genome1 genome2 tree-dist log10escore
Genome1 and genome2 are alphabetic.
Tree-dist and log10escore are numeric.
I wish to extract only those rows from this table
where the log10escore is less than -3.
data <-read.table(filename);
data$log10escore = data$log10escore[ data$log10escore
< -3];
I
2009 Jan 29
2
GTalk Channel
Hello all,
It used to work on calling my GTalk ID from another GTalk user. But
now that I tried calling it again, the caller hears only a ringtone
and disconnected after a few rings. The messages on my
Asterisk-1.4.21.2 are the following:
[Jan 29 10:37:51] ERROR[1303]: rtp.c:1945 ast_rtp_new_with_bindaddr:
Unexpected bind error: Cannot assign requested address
[Jan 29 10:37:51] WARNING[1303]:
2006 Nov 07
1
[resolved] asterisk 1,4 and google talk
hi,
it turns out that the iksemel library (which i installed using an rpm) was
returning 0 when the function iks_has_tls() was called. it should return 1
otherwise res_jabber.o thinks gnuTLS is not installed. i confirmed this by
running a test program i wrote, that calls iks_has_tls . it returned 0.
i downloaded iksemel source, compiled it and now the test program returned
1.
now,
2011 Apr 16
5
Google Voice receiving call problem
Hello,
I have a Google Voice phone number and want to connect it to my asterisk box
to have calls handled to my SIP account.
When I call the number I receive the correct INCOMING request on Jabber
portion of asterisk, but the call is not connected to the gtalk part.
JABBER: asterisk INCOMING: <iq from="+
17174695631 at voice.google.com/srvres-MTAuMTc2LjEwOC4xNjo5ODQ4" to="
2007 May 02
3
Query about finding correlations
Hi
I have a dataframe which has 3 columns of numeric data
A,B,C each of which has been obtained independent of
the other.
We are trying to find out, which of A or B cause C
i.e. We are hypothesising that C is the effect and
either A or B, not both is the cause.
i.e. A causes C and this cause-effect relationship
explains B.
The data for A contains more noise than that for B.
We are working with
2007 Jan 22
2
Query about using optimizers in R without causing program to crash
Hi
I am a newbie to R and am using the lm function to
fit my data.
This optimization is to be performed for around 45000
files not all of which lend themselves to
optimization. Some of these will and do crash.
However, How do I ensure that the program simply goes
to the next file in line without exiting the code with
the error
"Error in lm.fit(x, y, offset = offset, singular.ok =
2006 Mar 02
1
Failing to understand getrusage()
I'm failing to understand how getrusage() works, which is a bit perplexing,
because it doesn't seem like it would be terribly complicated.
I've attached the code. My aim is to verify that I can use getrusage() to
do (admittedly crude) instrumentation of which functions in my program are
allocating lots of memory[1]. So I figure I can call getrusage() at various
points and look at
2003 Sep 29
2
cisco AS5300 : problem configuration
I wouldn't expect you to be using RFC3389 if your using A-law, can you include your IOS version and IOS config file ...
I have not specified any allow's or disallow's in my * config for the codecs with my 5300, I also use Cisco 79xx phones and I use the option within the phones config file to select the preffered codec and when I change this to G.729/A-law/U-law all works perfectly
2011 Feb 10
2
Gtalk/Jabber Issue
OK, im pulling my hair out, everything looks configured right, deleted, and
started over, etc, etc. but can't seem to get this to work
Gtalk.conf
[general]
context=google-in
allowguest=yes
bindaddr=192.168.xxx.xxx
extenip=96.254.xxx.xxx
[guest]
context=google-in
disallow=all
allow=ulaw
allow=g729
connection=jp_jabber
jabber.conf
[general]
debug=yes
2007 Mar 12
2
Query about substituting characters in a df
Hi
I have a data frame with 40,000 rows and 4 columns,
one of which is "class".
For each row, the "class" column can be one of 10
possible NUMERIC values.
I wish to substitute these numeric values with
words/characters.
For example, I wish to substitute all occurences of
"5467" in the column "class" with "alpha", "7867" with
2009 Apr 30
3
need help on asterisk call forwarding
Hello,
I am trying to enable call forwarding feature on asterisk 1.6.0.9 with
asterisk-gui. Sure there is no menu for that on gui but, when i try to
write some example scripts to extensions.conf to make it work. I totally
failed.
I dont wanna install smthing like freepbx etc on the system so, i need
help to add unconditional etc call forwarding feature for 1.6
Thanks
2010 Oct 25
4
google voice + asterisk: calls made to GV# processed but weird
Dear all,
First off, I am very new to asterisk so forgive me if any of my
comments or questions seem trivial. Thanks to [this
post](http://blog.polybeacon.com/2010/10/17/asterisk-1-8-and-google-voice/)
and [this post](http://www.davidvossel.com/?p=28), I have GV set up on
asterisk through jabber.conf and gtalk.conf. I can successfully dial
out from asterisk.
I'm trying to set up an