Displaying 20 results from an estimated 700 matches similar to: "print formula on plot"
2005 Dec 07
1
summary[["r.squared"]] gives strange results
I am simulating an ANOVA model and get a strange behavior from the
summary function. To be more specific: please run the following code
and see for yourself: the summary()[["r.squared"]] values of two
identical models are quite different!!
## 3 x 3 ANOVA of two factors x and z on outcome y
s.size <- 300 # the sample size
p.z <- c(0.25, 0.5, 0.25) # the probabilities of factor z
##
2019 Jul 24
2
Altering the return address , for a function with multiple return paths
On 7/23/19 8:42 PM, John McCall via llvm-dev wrote:
>
> On 21 Jul 2019, at 12:29, James Y Knight via llvm-dev wrote:
>
> Yes, indeed!
>
> The SBCL lisp compiler (not llvm based) used to emit functions
> which would
> return either via ret to the usual instruction after the call, or
> else load
> the return-address from the stack, then jump 2
2006 Oct 11
1
during fitting of successive datasets, stall crashes iterations
Hi all,
I am trying to do fitting of large sets of timeseries data, and error
messages derail the process when I encounter a dataset that doesn't fit. I'd
like to ignore those "misfits" and try another equation or move to the next
dataset. Any ideas? (piece of code below)
Thanks, --Warren
##The code looks something like this:
attach(zf)
x <- hours
2000 Apr 10
2
Newbie: how to calculate group averagege?
Dear R-List,
I?m new in R, so I hope my question is not to primitive, but I haven?t
found a solution in the R-help. I?ve got a datatframe with 3 factors,
called xf (9 levels), yf (9 levels), zf (3 levels) and one variable
(rt):
> xf yf zf rt
> 1 1 1 67
> 1 1 1 56
> 1 1 1 60
[...]
> 1 1 2 58
> 1 1 2 61
[...]
> 9 1
2010 Jan 07
3
tar exclude command
Hi
I have problem in tar command
Can you help?
tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
/var/named/chroot/proc/net/route
/var/named/chroot/proc/net/udp
/var/named/chroot/proc/net/tcp
tar: Error exit delayed from previous errors
Thank you
Send instant messages to your online friends http://uk.messenger.yahoo.com
2012 Dec 25
2
[LLVMdev] About instrumenting/rewriting X86 instructions
Hi all,
I plan to use LLVM to instrument/rewrite X86 instructions during the
compilation of a program.
For example, insert checking target instructions before jmp
instructions, or rewrite a instruction to prevent code using a specific
register.
I think the work should be done at the CodeGen phase, but I'm not quite
clear how can I start.
Can anyone give me some suggestion?
Thanks very
2008 May 27
1
[LLVMdev] Float compare-for-equality andselect optimizationopportunity
Hi Marc,
I'm a bit confused. Isn't the standard compare (i.e. the one for a language
like C) an ordered one? I tried converting some C code to LLVM C++ API code
with the online demo, and it uses FCMP_OEQ.
No, if you have:
x = NaN
y = NaN
then the comparison:
(x == y) is false.
Which is what your seeing from your first post and is the standard IEEE
expected behavior.
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
From: Gene Cumm <gene.cumm at gmail.com>
SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
First, change comboot.inc such that INT 22h AX=0020h (opendir) is
about as simple and similar in behavior to INT 22h AX=0006h
(openfile).
Next, rename the function searchdir to searchdir4any, create a new
function called
2012 Dec 25
0
[LLVMdev] About instrumenting/rewriting X86 instructions
Hi all,
I plan to use LLVM to instrument/rewrite X86 instructions during the
compilation of a program.
For example, insert checking target instructions before jmp
instructions, or rewrite a instruction to prevent code using a specific
register.
I think the work should be done at the CodeGen phase, but I'm not quite
clear how can I start.
Can anyone give me some suggestion?
Thanks very much,
2016 Jan 13
3
[PATCH 3/4] x86,asm: Re-work smp_store_mb()
On Wed, Jan 13, 2016 at 06:25:21PM +0200, Michael S. Tsirkin wrote:
> Which flag do you refer to, exactly?
All the flags in rFLAGS which ADD modifies: OF,SF,ZF,AF,PF,CF
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
2016 Jan 13
3
[PATCH 3/4] x86,asm: Re-work smp_store_mb()
On Wed, Jan 13, 2016 at 06:25:21PM +0200, Michael S. Tsirkin wrote:
> Which flag do you refer to, exactly?
All the flags in rFLAGS which ADD modifies: OF,SF,ZF,AF,PF,CF
--
Regards/Gruss,
Boris.
ECO tip #101: Trim your mails when you reply.
2011 Nov 30
0
[PATCH 3/4] x86/emulator: properly handle lzcnt and tzcnt
These instructions are prefix selected flavors of bsf and bsr
respectively, and hence the presences of the F3 prefix must be handled
in the emulation code in order to avoid running into problems on newer
CPUs.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
--- a/xen/arch/x86/x86_emulate/x86_emulate.c
+++ b/xen/arch/x86/x86_emulate/x86_emulate.c
@@ -1058,6 +1058,9 @@ static bool_t vcpu_has(
2008 Feb 21
0
[LLVMdev] compare and swap
On Thu, Feb 21, 2008 at 9:34 AM, Andrew Lenharth <andrewl at lenharth.org> wrote:
> On 2/21/08, Torvald Riegel <torvald at se.inf.tu-dresden.de> wrote:
> > why is the intrinsic name not CAS? And having another version that returns
> > just a bool might be better in some cases ( 1. does CAS return the value on
> > all architectures? 2. you can just jump based
2008 May 27
1
[LLVMdev] Float compare-for-equality and select optimizationopportunity
Both ZF and PF will be set if unordered, so the code below is IEEE
correct...you want to generate 'fcmp ueq' instead of 'fcmp oqe'
This is the resulting x86 assembly code:
movss xmm0,dword ptr [ecx+4]
ucomiss xmm0,dword ptr [ecx+8]
sete al
setnp dl
test dl,al
mov edx,edi
cmovne edx,ecx
cmovne ecx,esi
cmovne
2013 Aug 19
3
[LLVMdev] Issue with X86FrameLowering __chkstk on Windows 8 64-bit / Visual Studio 2012
Hi,
I'm using LLVM to convert expressions to native assembly, the problem
is when LLVM compiles this code:
define void @fn_0000000000000000(i8*, i8*, i8*) {
bb:
%res = alloca i32
%3 = load i32* %res
%4 = bitcast i8* %0 to i32*
%5 = load i32* %4
%6 = bitcast i8* %0 to i32*
%7 = load i32* %6
%8 = xor i32 %5, %7
store volatile i32 %8, i32* %res
%9 = load i32* %res
%10 = icmp
2004 Oct 06
1
plotOHLC unequally spaced time.
Hi I have som financial tick data that i have converted in to 45 min
bars. These are unequally spaced in time. I wonder if it is possible to
plot these like bars as the plotOHLC does. As I have understood plotOHLC
uses class(mts) that must be equally spaced?
Regards Paer
[[alternative HTML version deleted]]
2011 Jun 07
1
giving factor names
Hi,
I've been driving myself insane with this problem. I have a trellis plot of
contours, and I want each level to have something like "z=value" for each
one. I can get each one to say z, or each one to say the value (by using
as.factor) but not both. Heres an artificial example to show what I mean (as
my actual data set is much larger!)
x<-c(1,2,3)
y<-c(2,4,6)
2019 Jul 21
2
Altering the return address , for a function with multiple return paths
Yes, indeed!
The SBCL lisp compiler (not llvm based) used to emit functions which would
return either via ret to the usual instruction after the call, or else load
the return-address from the stack, then jump 2 bytes later (which would
skip over either a nop or a short jmp at original target location). Which
one it used depended upon whether the function was doing a multi-valued
return (in which
2010 Dec 09
3
How many files & directories in a ZFS filesystem?
Looking for a little help, please. A contact from Oracle (Sun)
suggested I pose the question to this email.
We''re using ZFS on Solaris 10 in an application where there are so many
directory-subdirectory layers, and a lot of small files (~1-2Kb) that we
ran out of inodes (over 30 million!).
So, the zfs question is, how can we see how many files & directories
have been created in
2009 Mar 28
7
unicode only works with a second one
I'd like to paste a zodiac sign on a graph, but it only prints it when
I add another unicode ( \u3030) to the desired \u2648 - why?
See the examplecode (compare the orange with the skyblue):
plot(c(-1,1),c(-4,-2),type="n")
text(x=0,y=-3.0,labels="\u2648 \u3030",cex=2.3,col="skyblue")
text(x=0,y=-3.2,labels="\u2648",cex=2.3,col="orange")