Displaying 20 results from an estimated 2470 matches for "tolerance".
2008 Oct 31
6
[LLVMdev] polyhedron 2005 results for llvm svn
...================================================================
Polyhedron Benchmark Validator
Copyright (C) Polyhedron Software Ltd - 2004 - All rights reserved
Test File : llvm_gfortran_lin_p4.run
Instruction File : ../../f90valid.in
> Value= 14159 Target= 14159 Tolerance= 0
> Value= 16 Target= 16 Tolerance= 0
> Value= 1000000 Target= 1000000 Tolerance= 0
> Value=0.44068679351 Target=0.44068679400 Tolerance=0.10000000000E-06
> Value= 10000 Target...
2007 Jan 09
9
Date Approximation in Specs
The floating-point expectations allow for an error tolerance. Is
there any similar facility for dates? For example, say I have a
custom class that handles date/time spans and I want to spec it:
context "A DateRange span" do
specify "should know when a week ago is :)" do
d = DateRange.new
d.last_week.should_be_close_to(1....
2007 Jan 17
2
Repeated measures
I am having a hard time understanding how to perform a "repeated
measures" type of ANOVA with R. When reading the document found here:
http://cran.r-project.org/doc/contrib/Lemon-kickstart/kr_repms.html
I find that there is a reference to a function make.rm () that is
supposed to rearrange a "one row per person" type of frame to a "one
row per observation" type
2018 Sep 11
2
Modification-proposal for %% (modulo) when supplied with double
Hi all,
Could we modify the "%%" (modulo)-operator to include some tolerance for rounding-errors when supplied with doubles?
It's not much work (patch supplied on the bottom), and I don't think it would break anything, only if you were really interested in analysing rounding differences.
Any ideas about implementing this and overwriting base::`%%`, or would we wan...
2009 Feb 11
2
problem with 'which' and strings
I have written a function that goes through a database and calculates various
metric scores and allocates them to a data set. For 400 of the 500 sites
that I calculate these metrics for works fine and allocates the scores into
the appropriate column. For some reason, some sites I run into the below
problem:
Here is what I am doing:
> names(orig.metric)
[1] "BenInsect"
2008 Aug 21
1
rc note, etc
...table use of $BLAS_LIBS ... OK
* checking tests ...
make[3]: Entering directory
`/home/mfa/gilp/toolchain/R/src/R-rc/tests/stats.Rcheck/tests'
Running 'nafns.R'
Running 'nls.R'
Comparing 'nls.Rout' to 'nls.Rout.save' ...134c134
< Achieved convergence tolerance: 2.75e-06
---
> Achieved convergence tolerance: 2.74e-06
145c145
< 3: 0.00060639084: 0.00517051 0.999153
---
> 3: 0.00060639084: 0.00517052 0.999153
214c214
< Achieved convergence tolerance: 1.04e-07
---
> Achieved convergence tolerance: 1.34e-07
249c249
< Achieved converge...
2010 Jan 18
3
add spline to longitudinal data - preferably similar to SAS's 'I=SM50S' routine
...have to add a spline to my
longitudinal spaghetti plot.
I have the plot, but I can't add the spline, a overall trend line. In
the SAS code they use the command 'I=SM50S' and I would prefer
something similar. I?m using R 2.10.1 on windows XP?
I have made this working example.
tolerance.pp <- read.table("http://www.ats.ucla.edu/stat/R/examples/alda/tolerance1_pp.txt
", sep=",", header=T)
# install.packages("lattice", dep = T)
library(lattice)
xyplot(tolerance ~ age, groups = id, data=tolerance.pp, type = "l")
This is where I want to add...
2018 Sep 11
1
Modification-proposal for %% (modulo) when supplied with double
...cited rounding behind the
scenes.
Best wishes,
Frederick
On Tue, Sep 11, 2018 at 12:11:29PM -0400, Duncan Murdoch wrote:
> On 11/09/2018 11:23 AM, Emil Bode wrote:
> > Hi all,
> >
> >
> >
> > Could we modify the "%%" (modulo)-operator to include some tolerance for rounding-errors when supplied with doubles?
> >
> > It's not much work (patch supplied on the bottom), and I don't think it would break anything, only if you were really interested in analysing rounding differences.
> >
> > Any ideas about implementing this and...
2010 Sep 09
2
Calculating with tolerances
Dear list,
I am from an engineering background, accustomed to work with tolerances.
For example, I have measured
Q = 0.15 +- 0.01 m^3/s
H = 10 +- 0.1 m
and now I want to calculate
P = 5 * Q * H
and get a value with a tolerance +-
What is the elegant way of doing this in R?
Thank you,
Jan
2013 May 17
0
Mean using different group for a real r beginner
Hi,
Try either:
tolerance <- read.csv("http://www.ats.ucla.edu/stat/r/examples/alda/data/tolerance1.txt")
?aggregate(exposure~male,data=tolerance,mean)
?# male exposure
#1??? 0 1.246667
#2??? 1 1.120000
#or
?library(plyr)
?ddply(tolerance,.(male),summarize,exposure=mean(exposure))
#? male exposure
#1??? 0 1.2...
2016 Oct 14
3
[test-suite] making polybench/symm succeed with "-Ofast" and "-ffp-contract=on"
...act=on
>> > -Ofast -ffp-contract=off
>>
>> Let's separate completely FP-contract and fast-math. They're
>> different
>> things and need different solutions.
>>
>>
>> > if(TEST_SUITE_USES_FAST_MATH)
>> > add_definitions(-DFP_ABSTOLERANCE=1e0)
>> > else()
>> > add_definitions(-DFP_ABSTOLERANCE=1e-5)
>> > endif()
>>
>> This doesn't make sense. If my program decreased precision by 5
>> orders
>> of magnitude with -ffast-math, I'd be *very* worried.
>
> Is this an absol...
2018 Sep 11
0
Modification-proposal for %% (modulo) when supplied with double
On 11/09/2018 11:23 AM, Emil Bode wrote:
> Hi all,
>
>
>
> Could we modify the "%%" (modulo)-operator to include some tolerance for rounding-errors when supplied with doubles?
>
> It's not much work (patch supplied on the bottom), and I don't think it would break anything, only if you were really interested in analysing rounding differences.
>
> Any ideas about implementing this and overwriting base::`...
2012 Sep 06
3
unique with tolerance
Dear R Users and Developers,
I am trying to do the equivalent of
v <- c(1,2,3,3,2,1,)
vu <- unique(v)
for a vector such as
v2 <- c(1.02, 2.03, 1.00, 3.04, 3.06)
vut <- ...
As indicated in the subject, we need approximately unique values with a defined
tolerance, i.e. for the v2 vector the resulting vut vector using a tolerance of
.1 should return e.g.
[1] 1.02 2.03 3.06
Also, mean/min values instead of max could be returned.
My actual question: Is there a convenience function or other mechanism already
implemented that could do something similar?
Than...
2007 May 25
1
NTPD ?
Have used Centos 5 now couple of weeks and started to find
pieces on places, ie. found logs :D
Now, these ntpd errors strances me. Anyone else
getting these?
Errors
frequency error 500 PPM exceeds tolerance 500 PPM: 1 time(s)
frequency error 503 PPM exceeds tolerance 500 PPM: 1 time(s)
frequency error 504 PPM exceeds tolerance 500 PPM: 1 time(s)
frequency error 505 PPM exceeds tolerance 500 PPM: 1 time(s)
frequency error 509 PPM exceeds tolerance 500 PPM: 3 time(s)
frequency error 512 P...
2007 May 09
3
Increasing precision of rgenoud solutions
Dear All
I am using rgenoud to solve the following maximization problem:
myfunc <- function(x) {
x1 <- x[1]
x2 <- x[2]
if (x1^2+x2^2 > 1)
return(-9999999)
else x1+x2
}
genoud(myfunc, nvars=2,
Domains=rbind(c(0,1),c(0,1)),max=TRUE,boundary.enforcement=2,solution.tolerance=0.000001)
How can one increase the precision of the solution
$par
[1] 0.7072442 0.7069694
?
I have tried solution.tolerance but without a significant improvement.
Any ideas?
Thanks in advance,
Paul
2008 Jul 10
0
by() function doesn't work inside another function
I have a longitudinal data set in long format and I want to run
individual regressions. I do this by using the by() function as
follows:
temp <- by(tolerance.pp, tolerance.pp$id, function(x)
summary(lm(tolerance ~ time, data=x)))
This works fine. Coefficients for the first two subjects are shown
below.
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 1.9020 0.2519 7.549 0.00482 **
time 0.1190...
2004 Nov 01
3
fault tolerance Internet connections
I have two Internet connections which connected to different ISP.
one is for normal usage , 2nd one is for backup fault tolerance
how do I implement fault tolerence multiple internet connections in shorewall ?
2006 Dec 14
2
Extracting tolerance in R?
Dear list,
How is the tolerance for a model parameter in an lm() call extracted?
I did not see a solution in the documentation for lm(), or predict(), nor in the
archives using 'tolerance' as the search string. I also checked into the nlme
package, though nothing popped out at me.
Sincerely,
KeithC.
2003 Dec 25
3
Problem plotting with xyplot
...o did traceback() which just took me to the
function listed in the error message. I can't determine where the NA/NaN/Inf
is (are) coming from.
Any help would be appreciated. I am using Rwin 1.8.1 (pre-compiled) on
Win2000 Professional.
Thanks,
Dan Nordlund
## toy problem
library(nlme)
tolerance.pp <- as.data.frame(
matrix(c(
9,11,2.23,
9,12,1.79,
9,13,1.90,
9,14,2.12,
9,15,2.66,
45,11,1.12,
45,12,1.45,
45,13,1.45,
45,14,1.45,
45,15,1.99,
268,11,1.45,
268,12,1.34,
268,13,1.99,
268,14,1.79,
268,15,1.34,
314,11,1.22,
314,12,1.22,
314,13,1.55,
314,14,1.12,
314,15,1.12
), byrow = T, ncol...
2012 May 10
6
averaging two tables (rows with columns)
...hypothetical data for simplification.
for example
I have : table 1
table 1: species occurance data
speciesX
speciesY
speciesZ
speciesXX
Plot1
1
0
1
0
Plot2
0
1
1
0
Plot3
0
0
0
1
Plot4
1
0
1
0
Table 2
table 2. species tolerance data
EnviA
EnviB
EnviC
speciesX
0.21
0.4
0.17
speciesY
0.1
0.15
0.18
speciesXX
0.14
0.16
0.19
You may noticed that table 2 does not have species Z which was in table 1.
Now I want to get the average value of species tolerance in each plot based on...