Displaying 20 results from an estimated 2000 matches similar to: "lines(..., lwd=3) inaccuracy"
2008 Mar 14
2
problems creating data frames
I am having two problems creating data frames that I have solutions, but
they really seem like kludges and I assume I just don't understand the
proper R way of doing things.
The first situation is I have an set of uneven data vectors. When I try to
use them to create a data frame I would like the bottoms of them padded with
NAs, without explicitly specifying that. When I do:
anxiety.data =
2019 Aug 08
3
How to best deal with undesirable Induction Variable Simplification?
Hello,
Recently I've come across two instances where Induction Variable Simplification lead to noticable performance regressions.
In one case, the removal of extra IV lead to the inability to reschedule instructions in a tight loop to reduce stalls. In that case, there were enough registers to spare, so using extra register for extra induction variable was preferable since it reduced
2017 May 28
2
Pseudo-instruction that overwrites its input register
Hi,
I'd like to define a pseudo-instruction whose expansion will, as a
side-effect, overwrite an input register's value: the pseudo-instruction
ldw r1:r2, P
to load 2 bytes from memory address P is to be expaneded to
ld r1, P+
ld r2, P
where "ld _, P+" is an instruction that loads a single byte from P, and
post-increments P by one.
How can I represent this behaviour in
2011 Mar 27
6
Asking Favor For the Script of Median Filter
Hello,everybody. My name is Chuan Zun Liang. I come from Malaysia. I am just
a beginner for R. Kindly to ask favor about median filter. The problem I
facing as below:
> x<-matrix(sample(1:30,25),5,5)
> x
[,1] [,2] [,3] [,4] [,5]
[1,] 7 8 30 29 13
[2,] 4 6 12 5 9
[3,] 25 3 22 14 24
[4,] 2 15 26 23 19
[5,] 28 18 10 11 20
This
2019 Aug 09
4
How to best deal with undesirable Induction Variable Simplification?
Hi Hal,
I see. So LSR could theoretically counteract undesirable Ind Var transformations but it's not implemented at the moment?
I think I've managed to come up with a small reproducer that can also exhibit similar problem on x86, here it is: https://godbolt.org/z/_wxzut
As you can see, when rewriteLoopExitValues is not disabled Clang generates worse code due to additional spills,
2002 Jul 30
4
chisq.test, basic question
The cells are interpreted as counts, so by scaling you're analyzing a
different experiment (one with fewer observations). So the chi-squared value
will change (the terms (O-E)^2/E in the statistic scale linearly ignoring
rounding and "Yates' continuity correction").
The chisq.test on the original data is a test of association. Conventionally
you decide ahead of time on a
2019 Aug 13
2
How to best deal with undesirable Induction Variable Simplification?
I've noticed that there was an attempt to mitigate ExitValues problem in https://reviews.llvm.org/D12494 that went nowhere. Were there particular issues with that approach?
--
Danila
From: Philip Reames [mailto:listmail at philipreames.com]
Sent: Saturday, August 10, 2019 02:05
To: Danila Malyutin <Danila.Malyutin at synopsys.com>; Finkel, Hal J. <hfinkel at anl.gov>
Cc: llvm-dev
2006 Nov 23
2
random effect question and glm
consider p as random effect with 5 levels, what is difference between these
two models?
> p5.random.p <- lmer(Y
~p+(1|p),data=p5,family=binomial,control=list(usePQL=FALSE,msV=1))
> p5.random.p1 <- lmer(Y
~1+(1|p),data=p5,family=binomial,control=list(usePQL=FALSE,msV=1))
in addtion, I try these two models, it seems they are same.
what is the difference between these two model. Is
2019 Aug 16
2
How to best deal with undesirable Induction Variable Simplification?
Thanks. I've rebased this patch on top of the recent LLVM (it was straightforward) and applied it in my fork.
It seems to have solved one of the problems I was having. Would LLVM be interested if I submit the updated version for the review?
--
Danila
From: Philip Reames [mailto:listmail at philipreames.com]
Sent: Tuesday, August 13, 2019 19:01
To: Danila Malyutin <Danila.Malyutin at
2008 Sep 22
2
adding layers in ggplot2 (data and code included)
Here is some sample data:
mydata <- read.table(textConnection("Est Group Tri
0 0 4.639644
1 0 4.579189
2 0 4.590714
0 1 4.443696
1 1 4.588243
2 1 4.650505
0 2 4.296608
1 2 4.826036
2 2 4.765386"),header=TRUE);
closeAllConnections();
I can form two plots,
2006 Aug 15
4
SSL encryption with icecast2
Hi there,
is it possible to use such encryption like SSL/TLS for authenticating
users on a mountpoint? I can't find somethin like that in the
docmentation and it would be nice to have such a mechanism like that,
because all passwords will be transmitted in PLAIN text. This is not
very secure, because anyone can see the usernames and passwords in his
sniffer program.
Would be pleased if
2012 Sep 19
2
ggplot formato dígitos en ggplot2
Hola de nuevo.
Resulta que al actualizar a la versión 0.9.2 de ggplot2 , ahora en mi
eje continuo y , los valores se etiquetan en formato científico , cuando
antes era normal. Es decir, mis valores máximos están sobre 300000, pero
en el eje ahora pone 3e+05 y no he encontrado como cambiarlo.
He visto que se puede cambiar utilizando el paquete scales y utilizando
por ejemplo , siendo p un
2010 Sep 28
1
small inaccuracy in startup warning message
Hi,
Cosmetic. Starting R with e.g. --max-ppsize=-10 produces the following
warning:
WARNING: '-max-ppsize' value is negative: ignored
The name of the option displayed in the warning is incorrect.
Could that be fixed? See src/main/CommandLineArgs.c (there are 3 places
in that file where the name of this option needs to be adjusted).
This is with current R-alpha.
Thanks!
H.
--
2011 Nov 17
1
inaccuracy in man page for duplicated() + anyDuplicated() not working with MARGIN=0
Hi,
In man page for duplicated:
Value:
?duplicated()?: For a vector input, a logical vector of the same
length as ?x?. For a data frame, a logical vector with one
element for each row. For a matrix or array, a logical array with
the same dimensions and dimnames.
When 'x' is a matrix or array, the returned value is NOT a logical
array:
> m <-
2008 Aug 05
0
qgamma inaccuracy
Hello,
I have been working with various probability distributions in R, and it
seems the gamma distribution is inaccurate for some inputs.
For example, qgamma(1e-100, 5e-101, lower.tail=FALSE) gives: 1.0. However,
it seems this is incorrect; I think the correct answer should be
0.082372029620717283. When I check these numbers using pgamma, I get:
pgamma(1,5e-101, lower.tail=FALSE) =
2008 Oct 03
1
Bug or inaccuracy in cumsum( )
I came across this: shouldn't the last value be a more exact zero?
It did not do that with 1 - sum( rep(0.1, 10) )
> 1 - cumsum( rep(0.1, 10) )
[1] 9.000000e-01 8.000000e-01 7.000000e-01 6.000000e-01 5.000000e-01
4.000000e-01 3.000000e-01 2.000000e-01
[9] 1.000000e-01 1.110223e-16
> version
_
platform
2010 Sep 24
0
Inaccuracy of kummerU (fAsianOptions) (Tricomi function)
Hello,
I need to use the confluent function of second kind, also known as
Tricomi function. It is implemented as kummerU() function in
fAsianOptions package, but I've found very inaccurate values, comparing
with those provided by Mathematica. I think Mathematica values are OK
because kummerU values leads to negative probabilities.
For example, if you try the kummerU() function example, you
2008 Dec 23
2
Bash Script for Beginners! oh dear :'(
Hey guys,
I'm a bit of a beginner (understatement!) with shell scripting and
seek help! I am setting up our new squid proxy. Its working a treat
and squidGuard is the icing on the cake. But, I am trying to write a
shell script to search through our black list category's for
squidGuard and remove the parsed value;
Scenario:
/some/directory/where/blacklist/is/stored contains about 40-50
2007 Jun 28
2
inaccuracy in qbinom with partial argument matching
Hi,
I found the following strange effect with
qbinom & partial argument matching
p0 <- pbinom(0, size = 3, prob = 0.25)
qbinom(p0, size = 3, prob = 0.25) ## 0 o.k.
qbinom(p0-0.05, size = 3, prob = 0.25) ## 0 o.k.
## positional matching:
qbinom(p0, 3, 0.25) ## 0 o.k.
## partial argument matching:
qbinom(p0 , s = 3, p = 0.25) ## 1 ???
qbinom(p0-0.05,
1997 Sep 08
1
R-alpha: Re: lwd, cex and par(.) issues [was "... windows quirks .."]
[[yet another discussion brought from R-core to R-devel]]
>>>>> "RG" == Robert Gentleman <rgentlem@stat.auckland.ac.nz> writes:
RG> Peter, there is some code for line types and widths in all the
RG> drivers. With windows there is the well known limitation that you
RG> can't have patterened lines with lwd larger than 1 (unless you