Displaying 20 results from an estimated 35 matches for "differeces".
Did you mean:
differences
2010 Aug 20
1
differecing a zoo series
A quick question
x <- as.yearmon(2000 + seq(0, 23)/12)
x
[1] "Jan 2000" "Feb 2000" "Mar 2000" "Apr 2000" "May 2000" "Jun 2000" "Jul
2000" "Aug 2000" "Sep 2000" "Oct 2000" "Nov 2000" "Dec 2000" "Jan 2001"
[14] "Feb 2001" "Mar 2001" "Apr
2019 Feb 19
4
code for sum function
The algorithm does make a differece. You can use Kahan's summation
algorithm (https://en.wikipedia.org/wiki/Kahan_summation_algorithm) to
reduce the error compared to the naive summation algorithm. E.g., in R
code:
naiveSum <-
function(x) {
s <- 0.0
for(xi in x) s <- s + xi
s
}
kahanSum <- function (x)
{
s <- 0.0
c <- 0.0 # running compensation for lost
2005 Apr 14
1
question about "R get vector from C"
Dear ALL-R helpers,
I want to let R get vector from c ,for example :numeric array ,vector .I saw
some exmple like this :
/* useCall3.c */
/* Getting an integer vector from C using .Call */
#include <R.h>
#include <Rdefines.h>
SEXP setInt() {
SEXP myint;
int *p_myint;
int len = 5;
PROTECT(myint = NEW_INTEGER(len)); // Allocating
2009 Feb 05
1
help regarding storing time difference values in same unit?
Dear R-Experts,
Seek your help.
In a List object e.g. Time_duration[[]], I am storing differece between two
time-stamps (start-time and end-time) for a certain event.
Time difference does not remain constant for, say, 10 observations.
Each time, the time difference is given in different time units: seconds /
hours / minutes.
Can you please tell me - how I can store the values of time
2013 Sep 15
1
syslinux.exe, 6.01: --update misunderstanding
syslinux 6.01, on XP cmd prompt:
With
syslinux.exe --update c:
At least one specified option not yet implemented for this installer.
it is clear which option is not yet implemented. However, before
trying just --update, I did try:
syslinux.exe --active --directory /downloadedPrograms/syslinux \
--update --mbr c:
(line was edited for presentation purposes) and got
2006 Jan 09
2
Question on Kernel boot options
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I have a project that uses syslinux to load the kernels from the CD to create
disk and/or partition images. The process works great, but as I have been
building newer kernel images with new disk and nic drivers, I have had users
run into problems.
Example: one users machine would fail at hotplug detection, creating a
kernel with this feature off
2006 Feb 07
11
date in domU
Hi all,
where can I set the date in domU.
''ntpdate -u ...'' works but dosn''t set the date.
date MMDDhhmm has also no effect.
What can I do?
--
cu
Roland Kruggel mailto: rk-liste@gmx.de
System: Intel 3.2Ghz, Debian etch, 2.6.15, KDE 3.4
_______________________________________________
Xen-users mailing list
Xen-users@lists.xensource.com
2006 Aug 24
1
how to constrast with factorial experiment
Hello, R users,
I have two factors (treat, section) anova design experiment where
there are 3 replicates. The objective of the experiment is to test if
there is significant difference of yield between top (section 9 to 11)
and bottom (section 9 to 11) of the fruit tree under treatment. I
found that there are interaction between two factors. I wonder if I
can contrast means from levels of
2004 Jan 13
0
nlminb(Splus) vs optim(R)
Dear, R experts.
I have two program codes, one is made by Splus and the other
is made by transferring from Splus code. Because "nlminb" function
in Splus is equivalent to "optim" in R, I expected to get exactly same
result. But, sometime there is too large differece (greater than 2%)
between two outputs. I looked two help files.
According to those, in Splus, quasi-Newton
2004 Sep 24
2
Intrduction of function
Hi all: I've written a function and saved the worksapce.When the workspace of my function is re-open,I want display some introduction or step by step guidance of the function for the users.How can I do it? Thanks a lot!
My best regards!
2003 Oct 27
0
Fwd: Re: Asterisk on FreeBSD
--- "Olle E. Johansson" <oej@edvina.net> wrote:
> From: "Olle E. Johansson" <oej@edvina.net>
> To: asterisk-users@lists.digium.com
> Subject: Re: [Asterisk-Users] Asterisk on FreeBSD
> Date: Mon, 27 Oct 2003 08:24:22 +0100
>
> Rich Adamson wrote:
>
> >>My Asterisk (fresh CVS) takes 98% of the system load on my FreeBSD
> server.
2008 Feb 11
0
Re: [xiph-commits] r14479 - trunk/vorbis-tools/ogg123
On 11-Feb-08, at 6:00 PM, Erik de Castro Lopo wrote:
> Personally, I think that change should be reverted and another
> cleaner solution found to address that problem.
Agreed, although it doesn't make that much differece; the code is
broken either way.
Ivo, if you don't want to do the alternate patch, you might ask the
original contributor?
-r
2009 Oct 15
1
.Call() function
Dear all,
What is the usage of the ".Call()"?
What is the meaning of the follows:
S=.Call("RS_fractal_spectral_density_function_direct",x,as.vector(taper.),as.logical(center),as.logical(recenter),TRUE,as.integer(npad),COPY=rep(FALSE,6),CLASSES=c(rep("matrix",2),rep("logical",3),"integer"),PACKAGE="ifultools")
And is a function
2002 Aug 30
4
Intercept in model formulae.
Hi,
I'm trying to create a linear model for a dataset that has a breakpoint e.g.
# dummy dataset
x <- 1:20
y <- c(1:10,seq(10.5,15,0.5))
plot(x,y)
I've modelled this using the following formula:
temp <- lm(y ~ x*(x<=10)+x*(x>10))
I want to be able to omit the intercept (i.e. force the line through
zero) from the first of these segments (x<=10) so that I'm only
2019 Feb 20
0
code for sum function
Dear Will,
This is exactly what I find.
My point is thus that the sum function in R is not a naive sum nor a
Kahansum (in all cases), but what algorithm is it using then?
Cheers, Rampal
On Tue, Feb 19, 2019, 19:08 William Dunlap <wdunlap at tibco.com wrote:
> The algorithm does make a differece. You can use Kahan's summation
> algorithm
2019 Feb 19
0
code for sum function
This SO question may be of interest:
https://stackoverflow.com/questions/38589705/difference-between-rs-sum-and-armadillos-accu/
which points out that sum() isn't doing anything fancy *except* using
extended-precision registers when available. (Using Kahan's algorithm
does come at a computational cost ...)
On 2019-02-19 2:08 p.m., William Dunlap via R-devel wrote:
> The algorithm
2019 Feb 20
0
code for sum function
Someone said it used a possibly platform-dependent
higher-than-double-precision type.
By the way, in my example involving rep(1/3, n) I neglected to include the
most precise
way to calculate the sum: n%/%3 + (n%%3)/3.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Feb 20, 2019 at 2:45 PM Rampal Etienne <rampaletienne at gmail.com>
wrote:
> Dear Will,
>
> This is exactly
2015 Jan 19
2
[LLVMdev] Vectorization Cost Models and Multi-Instruction Patterns?
Hi all,
While tinkering with saturation instructions, I hit problems with the
cost model calculations.
The loop vectorizer cost model accumulates the individual TTI cost
model of each instruction. For saturating arithmetic, this is a gross
overestimate, since you have 2 sexts (inputs), 2 icmps + 2 selects
(for the saturation), and a truncate (output); these all fold alway.
With an intrinsic,
2011 Oct 05
4
SPlus to R
I'm trying to convert an S-Plus program to R. Since I'm a SAS programmer I'm not facile is either S-Plus or R, so I need some help. All I did was convert the underscores in S-Plus to the assignment operator <-. Here are the first few lines of the S-Plus file:
sshc _ function(rc, nc, d, method, alpha=0.05, power=0.8,
tol=0.01, tol1=.0001, tol2=.005, cc=c(.1,2),
2006 Feb 07
2
Asterisk with USB
Hello everybody! I've seen that you can connect your cellphone via
bluetooth, but I've a Motorola V300 and it doesn't have that feature,
so I wish to connect it via USB cable, is it pissible con use my
cellphone with asterisk like that? I 've not been able to find
information on how to do this, I'l appreciate any help.
Thanks in advance!
--
Facundo Ameal.