Displaying 20 results from an estimated 30000 matches similar to: "Removing rows from a data frame"
2008 Feb 13
6
Creating a data.frame
OK...newbie question here.
Either I'm reading the docs wrong, or I'm totally confused.
Given the following:
x<-c("aaa","bbb","ccc")
y<-rep(0,3)
z<-rep(0,3)
is.character(x)
[1] TRUE
is.numeric(y)
[1] TRUE
Now...I want to create a data frame, but keep the data types.
In reading the docs, I assume you do it this way:
2008 Apr 19
3
R question for Stata users
Hi...
In Stata, there is the ability to display scatter plots with data
points at the same (x,y)
location, using the 'jitter' command of the twoway scatter stata
command.
Anyone know of a way that I can do the equivalent thing in R?
For non-Stata readers, if jitter is enabled in stata, and n-points
would be at
the same (x,y) location, the points are offset a bit (according to
2006 May 22
2
[vpim] Some small rrule.rb changes
Quoting cosmin at speakeasy.net, on Sat, May 20, 2006 at 11:40:06AM -0700:
> I did some changes to the rrule.rb. I needed some getters/setters for
> each of the attributes from RRULE. Attached is the diff. If it makes
> sense to you to be included in the lib, please do so. If you think
> it''s worth to be included, I can add more validation to the setters.
I
2008 Sep 04
3
table and colnames
I have a table statement that returns the following:
[10.839,10.841] (10.841,10.843] (10.843,10.846] (10.846,10.848]
(10.848,10.85]
0 0 0 0
1
(10.85,10.852] (10.852,10.854] (10.854,10.857] (10.857,10.859]
(10.859,10.861]
0 0 0 0
0
What I want to do is get the upper bound
2008 Dec 10
2
2-Y-axes on same plot
Hi...
Is this possible in R?
I have 2-sets of data, that were collected simultaneously using 2-
different data acquisition schemes.
The x-values are the same for both.
The y-values have different ranges (16.4-37.5 using one method,
557-634 using another).
In theory, if you plot both plots on top of each other, the graphs
should overlap. The problem I'm having is trying to have to
2008 Jan 20
2
Newbie question on subsets
Hi...
I'm working through the book, A Handbook of Statistical Analyses
using R by Everitt, and I'm trying to do the following (p. 19 of his
book):
boxplot(log(marketvalue)~country,
data = subset(Forbes2000,
country %in% c("United
Kingdom","Germany","India","Turkey")),
ylab="log(marketvalue",
2016 Apr 01
1
(no subject)
dear sir/madam,
while i am trying to convert the data into timeseries
using xts command.i am getting this error. please help me to resolve this
issue
xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
+ xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
Error: unexpected symbol in:
"xts(mydata$MCP, as.Date(rdate, format='%d-%m-%Y')
xts"
2019 Apr 01
2
API for checking whether the encoder is in DTX (PR #107)
Hi everyone,
Some time ago, I sent a pull request <https://github.com/xiph/opus/pull/107>
to the Opus github page. Jean-Marc asked me to post it to the mailing list
so everyone can have a look at it.
You can find the description and code changes below. Please let me know if
you have any questions or concerns.
Best regards
Gustaf Ullberg
In WebRTC, we would like to be able to
2019 Apr 08
3
API for checking whether the encoder is in DTX (PR #107)
Thank you Mark.
I agree and have now updated the pull request with a new commit, addressing
your comments.
Please take a look.
/Gustaf
On Fri, 5 Apr 2019 at 11:41, Mark Harris <mark.hsj at gmail.com> wrote:
> On 2019-04-01 3:37, Gustaf Ullberg wrote:
> > Hi everyone,
> >
> > Some time ago, I sent a pull request
> > <https://github.com/xiph/opus/pull/107>
2004 Aug 06
2
--dtx alone does nothing?
I'm running a:
for band in n w u
do
for quality in 0 1 2 3 4 5 6 7 8 9 10
do
for complexity in 3
do
for vad in "" "--vad"
do
for dtx in "" "--dtx"
do
echo speexenc -${band} --quality ${quality} --comp ${complexity} ${vad} ${dtx} input.${band}.wav
2010 Sep 04
1
Possible malformed G729B - SID (VAD/DTX) frames from carrier endpoint ?
Hello,
We are in the process of debugging a voice quality issue for a client of
ours that is a VoIP services provider. The client uses a softphone that
runs on a pjsip stack.
When placing a call using the softphone, it negotiates the use of G729
codec with the remote endpoint (ptime = 20ms). The endpoint transmits RTP
packets with encoded G729 payload. VAD/DTX is enabled. We see that the
last
2006 Jul 18
1
SpeexEncoder requires 320 samples to process a Frame, not 160
Hi guys
I have tried compiling this attached code, I made all the buffers 320, there is no trace of a 160 buffer, but I get a "
SpeexEncoder requires 320 samples to process a Frame, not 160" error.
Maybe there's something I'm missing, here's my code:
import java.io.IOException;
import java.io.FileOutputStream;
import java.io.File;
import
2010 Feb 01
3
Convert a column of numbers to a column of strings
Hello,
Please excuse me if this question has been asked before. I'm new to R, and
have been trying to google the answers without any success.
I would like to convert a set of date and time into R date-time class. Right
now, the dates and times are in integer format, so I first need to convert
them into string, and then to R date-time using strptime. However, I have a
problem converting them
2017 Jul 06
1
Suggested patch, opus_encoder.c, decide_dtx_mode()
While porting opus 1.2.1 to esp32, my compiler had a grumble (error) about
possible use of uninitialized variables in decide_dtx_mode()
Existing code:
--------SNIP---------
/* Decides if DTX should be turned on (=1) or off (=0) */
static int decide_dtx_mode(float activity_probability, /* probability
that current frame contains speech/music */
int
2010 Feb 26
2
Decoding multiple frames
Hi all,
I'm using speex through my own python wrapper based on ctypes. In my application I'm forced to process relatively large chunks of audio data (250ms). I was able to supply sufficiently large buffer to the SpeexBits structure and then encode using (code snippet)
_speex.speex_bits_reset(byref(self.bits))
for i in range(0, len - self.frameSize, self.frameSize):
2004 Aug 06
1
Frozen upper spectrum in WB VBR CNG
Jean-Marc Valin (jean-marc.valin@hermes.usherb.ca) wrote:
>
> > I've been using Speex in my voice-over-IP program on Win32, in
> > wideband (16kHz) mode. I just starting using VBR recently and
> > have run into something that might be a problem within Speex:
>
> Are you turning on DTX in addition to VBR? Also, what version are you
> using. As of 1.0, DTX is
2014 May 19
3
Opus DTX issue report
Hello:
We noticed that opus reconstructed noise is pulsing with a 400ms pattern when dtx is enabled in silk mode. This is independent of the background noise level and is found with speech + non-speech period test files as well as variable level noise-only test files. This issue can be reproduced with opus v1.1 using this command:
./opus_demo voip 16000 1 25000 -dtx input.bin
2019 Apr 10
2
API for checking whether the encoder is in DTX (PR #107)
Yes, good point. I added the checking of prev_mode for Silk DTX to avoid
using stale data from the Silk state.
The PR is updated, and I'm attaching an updated patch.
/Gustaf
On Tue, 9 Apr 2019 at 12:42, Mark Harris <mark.hsj at gmail.com> wrote:
> On 2019-04-08 4:55, Gustaf Ullberg wrote:
> > Thank you Mark.
> >
> > I agree and have now updated the pull request
2016 May 04
1
Need to set OPUS_SIGNAL_VOICE for DTX ?
I'm working on an opus codec for the asterisk voip app. Googling DTX found:
https://bugs.chromium.org/p/webrtc/issues/detail?id=4559
To paraphrase, if there's silence long enough, opus enters Celt-only mode,
which has no DTX.
Is this still correct ? And is the suggested work-around effective?
sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2016 Oct 04
2
encoder with FEC+DTX enabled but not detecting noise
Hi,
When we pass around 9K samples of only ambient noise (no voice), the
encoder which is enabled FEC+DTX is detecting only some 140 frames as
non-voice (returning only TOC, no frame content). We were expecting all or
more to be identified as non-voice.
Our idea was to check how the decoder re-generates the original ambient
noise during the silence duration (when we feed NULL to decoder) when