Displaying 20 results from an estimated 2000 matches similar to: "polygon error?"
2007 May 24
2
Calculation of ratio distribution properties
Hi all,
Looking to calculate the expected mean and variance of a ratio
distribution where the source distributions are gaussian with known
parameters and sample values are correlated. I see (from wikipedia:
http://en.wikipedia.org/wiki/
Ratio_distribution#Gaussian_ratio_distribution) that this calculation
is quite involved, so I'm hoping that someone has already coded a
function to
2008 Aug 20
3
Confidence Interval
Hi!
With the following script, I'm trying to make a demonstration of a
Confidence Interval, but I'm observing some differences on tails.
# Teste de média entre uma amostra e uma população normal
# Autor: Raphael de Freitas Saldanha
# Agosto de 2008
n <- 200 # Sample size
xbar <- 100 # Sample mean
s <- 2 # Sample SD
nc <- 0.95 # Confidence level (95%
2002 Jan 30
2
Shade area under curve?
Hi all,
I've got this graphics question which really should be easy. I want to shade
an area between bounds under a curve. A suitable beginning seems to be the
following:
> plot(dnorm,-4,4)
> segments(-4,0,4,0)
> segments(-2,0,-2,dnorm(-2))
> segments(2,0,2,dnorm(2))
It is the area between -2 and 2 which I want to shade (or something
similar). Hints anyone?
Robert
2007 May 30
1
test to compare significant correlation increase
Hi!
I am calculating correlation between two variables:
1. X versus Y
2. X versus Y(with a 3 steps lag)
I would like to test if the correlation
increase/decrease from 1 to 2 is significant or not.
Is there any function in R to do this? any hints?
Thanks for help :)
David Ria?o
Center for Spatial Technologies and Remote Sensing (CSTARS)
University of California
250-N, The Barn
One Shields
2007 Jun 11
3
simultaneous computing
Hello,
which possibilities are available in R for simultaneous or parallel
computing?
I only could find biopara
(http://cran.r-project.org/src/contrib/Descriptions/biopara.html)
Are there other possibilities?
Are there special groups working on simultaneous computing with R?
Thanks
Markus
--
Dipl.-Tech. Math. Markus Schmidberger
Ludwig-Maximilians-Universit?t M?nchen
IBE - Institut f?r
2007 May 26
0
R: polygon error?
It seems to me that you are using polygon in a wrong way.
What you probably need could be something like:
polygon(c(rev(t$z), t$z),
c(rep(0, nrow(t)), t$ht), col=2, border=NA)
Stefano
-----Messaggio originale-----
Da: r-help-bounces at stat.math.ethz.ch
[mailto:r-help-bounces at stat.math.ethz.ch]Per conto di LL
Inviato: sabato 26 maggio 2007 12.34
A: r-help at stat.math.ethz.ch
2007 May 31
4
Aggregate to find majority level of a factor
I want to use the aggregate function to summarize data by a factor (my
field plots), but I want the summary to be the majority level of another
factor.
For example, given the dataframe:
Plot1 big
Plot1 big
Plot1 small
Plot2 big
Plot2 small
Plot2 small
Plot3 small
Plot3 small
Plot3 small
My desired result would be:
Plot1 big
Plot2 small
Plot3 small
I
2004 Aug 19
1
The 'test.terms' argument in 'regTermTest' in package 'survey'
This is a question regarding the 'regTermTest' function in the 'survey' package. Imagine Z as a three level factor variable, and code ZB and ZC as the two corresponding dummy variables. X is a continuous variable. In a 'glm' of Y on Z and X, say, how do the two test specifications
test.terms = c("ZB:X","ZC:X") # and
test.terms = ~ ZB:X + ZC:X
in
2015 Mar 03
5
[LLVMdev] Inline Assembly: Memory constraints with offsets
Hi,
I'm trying to implement the ZC inline assembly constraint for Mips. This constraint is a memory constraint that expands to an address with an offset (the range of the offset varies according to the subtarget), so the inline assembly in:
int data[10];
void ZC(void) {
asm volatile ("foo %0 %1" : : "ZC"(data[1]), "ZC"(data[2]));
}
Should expand to
2015 Mar 04
2
[LLVMdev] Inline Assembly: Memory constraints with offsets
> -----Original Message-----
> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Krzysztof Parzyszek
> Sent: 03 March 2015 14:35
> To: llvmdev at cs.uiuc.edu
> Subject: Re: [LLVMdev] Inline Assembly: Memory constraints with offsets
>
> On 3/3/2015 6:01 AM, Daniel Sanders wrote:
> > Hi,
> >
> > I'm trying to
2012 Dec 18
1
How to draw frequency domain plot with xts time series data
Hello,
I'd like to convert the below time-series data with fft or wavelet related function and plot it.
Could you let me know
1. How to convert xts data frame format to list format ?
2. How to plot fft or wavelet diagram ?
Here is the data :
> class(zc)
[1] "xts" "zoo"
> str(zc)
An ‘xts’ object from (10/15/12 09:00:00) to (10/15/12 15:15:00)
2012 Dec 19
4
How to convert xts data into list
Hello,
How can I convert Close colume of the below xts time series data into a list of Close values ?
I'd like to plot Close values as a list.
> head(zc)
Close
(10/15/12 09:00:00) 252.40
(10/15/12 09:01:00) 253.10
(10/15/12 09:02:00) 253.15
(10/15/12 09:03:00) 253.30
(10/15/12 09:04:00) 253.25
(10/15/12 09:05:00) 253.45
I tried the below command to plot it.
2020 Mar 27
3
Exceptions on Windows & MSVC
Here is a wiki page and git repo with an implementation of SEH that passes
all the tests for x86.
We're looking for feedback before putting a patch on Phabricator.
https://github.com/tentzen/llvm-project
https://github.com/tentzen/llvm-project/wiki
On Mon, Nov 18, 2019 at 10:59 PM Gaier, Bjoern <Bjoern.Gaier at horiba.com>
wrote:
> Thank you for this Aaron!
>
>
>
> In
2015 Mar 09
3
[LLVMdev] Inline Assembly: Memory constraints with offsets
> From: Krzysztof Parzyszek [kparzysz at codeaurora.org]
> On 3/4/2015 10:30 AM, Daniel Sanders wrote:
> >
> > Partial support for ZC is in my working copy at the moment. I've attached my WIP patches.
>
> Should have guessed that, ha.
>
> I've looked into this. My idea was to expand the single address operand
> of the inline-asm SDNode into two: base
2007 Feb 15
1
Function to assign quantiles?
Hi.
If I call the quantiles function as follows:
qvec = quantiles(dvals,probs=seq(0,1,0.1))
the results will return a vector something like the following example:
0% 10% 20% 30% 40% 50% 60% 70% 80% 90%
100%
56.0 137.3 238.4 317.9 495.8 568.5 807.4 1207.7 1713.0
2951.1 8703.0
Now I want to assign the deciles, 1 - 10, to each
2016 Feb 13
2
r260758 broke windows build
On 2/12/2016 9:47 PM, Vince Harron wrote:
> Are you building LLDB? Im guessing that is where the failure is
I'm building LLVM. The failure in the buildbot happens when compiling
HexagonFrameLowering.cpp:
----------
FAILED: C:\PROGRA~2\MICROS~1.0\VC\bin\cl.exe /nologo /TP /DWIN32
/D_WINDOWS /W4 -wd4141 -wd4146 -wd4180 -wd4244 -wd4258 -wd4267 -wd4291
-wd4345 -wd4351 -wd4355 -wd4456
2014 Oct 02
2
[LLVMdev] Header File Not Found?
I'm having a strange problem compiling with VS 2013. It's not finding a
header file that's there in one of the header file search dirs.
Here's the compile command (with the names changed to protect the
innocent ;-)
1> C:\Program Files (x86)\LLVM\msbuild-bin\CL.exe /c
/IC:\[top-level-dir]\[source-dir]\
/IC:\[top-level-dir]\[source-dir]\[sub-dir-1]
2015 Jun 09
2
[LLVMdev] msbuild and clang
Okay, so trying a straight compile of the Python interpreter with clang-cl,
I used the following commands:
cd \python-2.7.10\pcbuild
copy C:\llvm\build\Release\bin\clang-cl.exe cl.exe
rd /q /s amd64
rd /q /s win32-temp-debug
rd /q /s win32-temp-release
rd /q /s x64-temp-debug
rd /q /s x64-temp-release
msbuild /p:Configuration=Release /v:diag /fileLogger pcbuild.sln
(The second line is the one
2010 Jan 03
2
"zpool import -f" not forceful enough?
I had to use the labelfix hack (and I had to recompile it at that) on 1/2 of an old zpool. I made this change:
/* zio_checksum(ZIO_CHECKSUM_LABEL, &zc, buf, size); */
zio_checksum_table[ZIO_CHECKSUM_LABEL].ci_func[0](buf, size, &zc);
and I''m assuming [0] is the correct endianness, since afterwards I saw it come up with "zpool import".
Unfortunately, I
2003 Aug 27
4
Newbie graphing questions
Hi everyone. R is new to me and I'm very impressed with its
capabilities but still cannot figure out how to do some basic things.
There seems to be no lack of documentation but finding what I need has
proven difficult. Perhaps you can help.
Here's what I'm after:
1. How do I create a new plot without erasing the prior one i.e., have
a new window pop up with the new graph?