Displaying 20 results from an estimated 700 matches similar to: "error msg using na.approx "x and index must have the same length""
2018 Feb 23
0
opus 1.2.1 regression with --enable-float-approx and --0fast
Hi Stepan,
I would need more information to be able to investigate further. It's
legal for the decoder to output -32768, so it would be good if you could
explain how this is unexpected. Ideally an audio file with details on
how to reproduce the problem would help.
Optionally, if you could bisect the git repo to see where the problem
started.
Cheers,
Jean-Marc
On 02/22/2018 07:15 PM,
2018 Feb 23
0
opus 1.2.1 regression with --enable-float-approx and --0fast
On 02/22/2018 09:34 PM, Stepan Salenikovich wrote:
> Its unexpected because the decoder continues to output all samples
> of -32768 even when the microphone input is silence or near silence, so
> I would expect the decoded values to be at or near 0.
Oh, if the output is stuck at -32768, then it's likely some NaNs crept
in. The first thing to check is whether the problem is on the
2003 Oct 29
1
approx. what size should samba compile to?
Hi, I just downloaded samba 3.0 and configured, make, make installed it
It turned out to take up about 2 Gb of disk space.
Is this a normal size for the installation?
Just checking.
(installed on Solaris 8)
thanks for any opinions...
-peter.
************************************************************
Opinions contained in this e-mail do not necessarily reflect
the opinions of the
2004 Apr 21
2
segfault in approx() (PR#6809)
This is R1.9.0, windows XP
I run across the following:
It is admittedly silly, but it shouldn't segfault:
test <- list(y=1:100, x=rep(NaN, 100))
approx(test, xout=rep(NaN, 10))
Bombs!
Kjetil Halvorsen
2004 Aug 13
2
bus error /segmentation fault from 'approx' (PR#7166)
Full_Name: joerg van den hoff
Version: 1.9.0 and 1.7.1
OS: MacOS (1.9.0), SunOS (1.7.1)
Submission from: (NULL) (149.220.4.88)
something like (sure not the originally intended input, but something like this
can happen...):
approx(c(1,2),c(NA,NA),1.5)
crashes R (bus error under MacOS, segmentation fault under SunOS).
search of the bug archive did not work. I hope this bug was not reported
2004 Feb 19
1
efficient matrix approx
Hello,
I am looking for a highly efficient matrix version of linear
interpolation (like approx). As an example I have data like follows:
x<-data.frame(time=1:20, x=(1:20)/10, y=runif(20))
t <- seq(1.5, 15.5 ,by=0.5)
# and I found the following solution:
nam <- names(x)
app <- lapply(x[2:3],approx,x=x$time, xout=t)
r <- c(1, 2*(1:(ncol(x)-1)))
x.new <-
2010 Apr 06
1
approx function wierd result
Dear R-list members,
I am calculating the linear extrapolation for a data set, using the function
found in Hmisc.
x=c(0.0265,-0.0003,0.0142,0.0263,0.0634,0.1145,0.2504)
y=c(58,107,152,239,362,512,724)
x1=0.0393216
approxExtrap(x,y,x1, method="linear")
approx(x,y,x1)
#to see what is happening:
plot(x, y, typ="o")
abline(v=x1, col=8)
Which gives x=0.03 and y=163, instead of
2010 Nov 29
1
Filling in missing time samples with na.approx
Hi Everyone,
I have a some data from a sports gps device like the following:
time latitude longitude altitude distance heartrate
1 1277648884 0.304048 -0.793819 260 0.000000 94
2 1277648885 0.304056 -0.793772 262 4.307615 95
3 1277648888 0.304060 -0.793696 263 11.262347 97
4 1277648894 0.304075 -0.793544 263 25.237911 103
5 1277648898
2011 Oct 20
0
Apply approx() to an array and eventually a list of arrays
Hello all,
I'm struggling to grasp how I might use lapply() instead of looping to
run approx() on a list consisting of multiple arrays - each of equal
dimension.
But simpler than that, I haven't been able to successfully apply
approx() to an array, unless I loop through the third dimension and
extract the matrix. See example code below...
Any suggestions will be gratefully received.
Thanks
2012 Aug 01
0
how to use function of rle approx ifelse etc. in data frame
Hello R help,
I have this data frame M2[160000,5] with NAs, a simple example would be:
set.seed(1234)
M2<-expand.grid(ID=182:183, year=2012, month=1:3, day=1:3,
KEEP.OUT.ATTRS=FALSE)
M2 <- M2[with(M2, order(ID, year, month, day)),] #sort the data
M2$value <- sample(c(NA, rnorm(100)), nrow(M2),
prob=c(0.5, rep(0.5/100, 100)), replace=TRUE)
M2:
ID year month day
2013 Jan 16
1
function approx interpolation of time series data sets
Readers,
Am trying to use the function 'approx' to interpolate time series data sets:
data1:
01:23:40 5
01:23:45 10
01:23:50 12
01:23:55 7
data2:
01:23:42
01:23:47
01:23:51
01:23:54
The objective is to obtain interpolated values of 'data1' column 2 (5,
10, 12, 7) for the times shown in data2. Tried the following command
but received the error shown:
2018 Mar 02
0
opus 1.2.1 regression with --enable-float-approx and --0fast
Any luck reproducing the problem with opus_demo or opus-tools?
Jean-Marc
On 02/22/2018 10:14 PM, Stepan Salenikovich wrote:
>
>
> On Thu, Feb 22, 2018 at 9:53 PM, Jean-Marc Valin <jmvalin at jmvalin.ca
> <mailto:jmvalin at jmvalin.ca>> wrote:
>
> On 02/22/2018 09:34 PM, Stepan Salenikovich wrote:
> > Its unexpected because the decoder continues to
2006 Nov 20
4
for help about logistic regression model
I have a dataset like this:
p aa
index x y z sdx sdy sdz delta as
ms cur sc
1 821p MET 1 -5.09688 32.8830 -5.857620 1.478200 1.73998 0.825778
13.7883 126.91 92.37 -0.1320180 111.0990
2 821p THR 2 -4.07357 28.6881 -4.838430 0.597674 1.37860 1.165780
13.7207 64.09 50.72 -0.0977129 98.5319
3 821p GLU 3 -5.86733 30.4759
2023 Dec 09
1
Linear model and approx function
Dear all;
I have a dataframe with several columns. The columns are the elevation,
volume and the area of the cells (which were placed inside a polygon). I
have extracted them from DEM raster to calculate the volume under polygon
and the elevation for a specific volume of the reservoir.
> head(x6,2)
Elevation Vol Area V_sum A_sum
1 2145 13990.38 85.83053 13990.38
2004 Oct 15
1
2d approx
Hi,
I am looking for a function that generalizes 'approx' to two (or more)
dimensions. The references on the approx help page point toward splines,
but a) splines is what I am trying to avoid in the first place and b)
splines (except for mgcv splines) seem to be one dimensional.
Here is a more detailed account. Using mgcv:gam I fit an additive model
xy.gam according to the formula y ~
2007 May 27
1
na.approx and columns with NA's
Hi,
I have a object 'zoo':
dim(zz)
[1] 720 5551
where some columns only have NA's values (representing land data in a
sea surface temperature dataset) I find straightforward the use of
'na.approx' for individual columns from the zz matrix, but when applied
to the whole matrix:
zz.approx<-na.approx(zz)
Erro en approx(along[!na], y[!na], along[na], ...) :
need
2009 Jul 21
1
bug in approx crashes R
Dear R-devel,
The following line crashes R
> approx(1, 1, 0, method='const', rule=2, f=0, yleft=NULL, ties='ordered')$y
Process R:2 exited abnormally with code 5 at Tue Jul 21 14:18:09 2009
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 9.1
year
2018 Feb 23
2
opus 1.2.1 regression with --enable-float-approx and --0fast
Hi,
I work on a webRTC application and recently tried updating from opus 1.1.5
to 1.2.1
Afterwards I noticed occasionally weird audio glitches. I finally tracked
down the issue to the opus decoder in my application outputting samples
with the value of -32768.
This behaviour stopped when reverting to opus 1.1.5 or compiling opus 1.2.1
without configuring --enable-float-aprox and --0fast.
The
2010 Jun 22
1
Generalised Estimating Equations on approx normal outcome with limited range
Dear R users
I am analysing data from a group of twins and their siblings. The measures
that we are interested in are all correlated within families, with the
correlations being stronger between twins than between non-twin siblings.
The measures are all calculated from survey answers and by definition have
limited ranges (e.g. -5 to +5), though within the range they are
approximately normally
2004 Aug 16
3
bus error /segmentation fault from 'approx' (PR#7177)
Full_Name: joerg van den hoff
Version: 1.9.1
OS: MacOS and SunOS
Submission from: (NULL) (149.220.4.88)
follow up to ID 7166. something like
approx(c(1,2),c(NA,NA),1.5,rule=2)
crashes 1.9.1 on both systems (MacOS 10.3.5.: bus error, SunOS 5.9:
segmentation fault) even if xout is within given x range (as in example above)
where rule=2 seems not be relevant anyway.