Displaying 15 results from an estimated 15 matches for "halton".
Did you mean:
dalton
2017 May 10
3
registering Fortran routines in R packages
Thanks for your email.
I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get
init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean 'halton2'?
{&q...
2017 May 09
2
registering Fortran routines in R packages
.../init.c?view=markup&root=rmetrics.
Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
static const R_FortranMethodDef FortEntries[] = {
{"halton", (DL_FUNC) &F77_NAME(HALTON), 7},
{"sobol", (DL_FUNC) &F77_NAME(SOBOL), 11},
{NULL, NULL, 0}
};
But I got error messages when building : use of undeclared identifier ?SOBOL_?. I also tried in lower case sobol and halton.
Looking at expm package https://r-forge.r-projec...
2009 Oct 10
2
[R-SIG-Mac] rnorm.halton
Hi all,
I need to transform classic 32bit Fortran code to 64bit Fortran code,
see the discussion [R-SIG-Mac] rnorm.halton. But I'm clearly a
beginner in Fortran...
Does someone already do this for his package?
From here, http://techpubs.sgi.com/library/tpl/cgi-bin/getdoc.cgi?coll=linux&db=bks&fname=/SGI_Developer/Porting_Guide/ch03.html
, I identify the following changes (Fortran types) to the Fort...
2008 May 23
1
van der Corput sequences
In package fOptions, there are functions that generate
Halton sequences.
The van der Corput sequence for base 2 is a particular case
of the Halton sequence generated by:
n <- 8 # anything here...
x <- runif.halton(n, 1)
In fact, x <- runif.halton(n, dim) will generate the van der Corput
sequences for the base b as the i-th prime number in x[,i]....
2017 May 10
1
registering Fortran routines in R packages
...ct.org
Subject: Re: [Rd] registering Fortran routines in R packages
Christophe,
> On 10 May 2017, at 08:08, Christophe Dutang <dutangc at gmail.com> wrote:
>
> Thanks for your email.
>
> I try to change the name in lowercase but it conflicts with a C implementation also named halton. So I rename the C function halton2() and sobol2() while the Fortran function are HALTON() and SOBOL() (I also try lower case in the Fortran code). Unfortunately, it does not help since I get
>
> init.c:97:25: error: use of undeclared identifier 'halton_'; did you mean 'halton2...
2017 May 09
0
registering Fortran routines in R packages
...root=rmetrics.
>
> Reading https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Registering-native-routines and looking at what is done in stats package, I first thought that the following code will do the job:
>
> static const R_FortranMethodDef FortEntries[] = {
> {"halton", (DL_FUNC) &F77_NAME(HALTON), 7},
> {"sobol", (DL_FUNC) &F77_NAME(SOBOL), 11},
> {NULL, NULL, 0}
> };
>
> But I got error messages when building : use of undeclared identifier ?SOBOL_?. I also tried in lower case sobol and halton.
>
> Looking at expm...
2011 Feb 14
3
CDF of Sample Quantile
...fact that R's quantile() function
is a linear combination of 2 order statistics. Basically, I wrote down the
mathematical form of the joint pdf for the 2 order statistics (a function of
the sample size and the distribution parameters) then performed a
pseudo-Monte Carlo integration (i.e. using Halton Draws rather than R's
random draws) over the region where the sample quantile exceeds the
threshold. In theory, this should work and it takes about 1000 times fewer
clock cycles to compute than the Brute Force approach. My problem is that
there is a significant discrepancy between the results u...
2008 Apr 26
6
quasi-random sequences
Dear list useRs,
I have to generate a random set of coordinates (x,y) in [-1 ; 1]^2
for say, N points. At each of these points is drawn a circle (later
on, an ellipse) of random size, as in:
> N <- 100
>
> positions <- matrix(rnorm(2 * N, mean = 0 , sd= 0.5), nrow=N)
> sizes<-rnorm(N, mean = 0 , sd= 1)
> plot(positions,type="p",cex=sizes)
My problem is to
2005 Jan 20
1
Cauchy's theorem
In complex analysis, Cauchy's integral theorem states (loosely
speaking) that the path integral
of any entire differentiable function, around any closed curve, is zero.
I would like to see this numerically, using R (and indeed I would like
to use the
residue theorem as well).
Has anyone coded up path integration?
--
Robin Hankin
Uncertainty Analyst
Southampton Oceanography Centre
2008 Jun 18
0
Low-discrepancy sequences
..., is there any way to measure the "discrepancy"
of a sequence?
WTIW, ...
http://en.wikipedia.org/wiki/Low-discrepancy_sequence
... doesn't look like something implementation-friendly :-)
Alberto Monteiro
PS: low discrepany sequences are easily generated in R by
the functions runif.halton, runif.sobol, etc in library fOptions
2011 Aug 12
0
Mixed Logit model mlogit error
...pT+Hrs+Motivado+Visits+StudyT+HrsVis,
data=mldata,reflevel="1",rpar=c(Gender="u",Age="u",Lower="u",Mid="u",Net="u",CompT="u",Hrs="u",StudyT="u",HrsVis="u"),
correlation=TRUE, drop.index=FALSE, R=500, halton = NA)
When I try to run this command, I get the following error messages:
Error: object of type 'symbol' is not subsettable
In addition: Warning messages:
1: In if (shape == "long") { :
the condition has length > 1 and only the first element will be used
2: In if (shape ==...
2005 Oct 13
1
About Qusi-Monte carlo program
Dear Listers;
Does anybody has experience in doing simulation via Qusi-Monte carlo in R or S-plus, if so, could you like to send a small copy of your program to me, I appreciate and thanks in advance!!
Frankly speaking, I am struggling to write this kind of program, while I could not figure out, painful!!!!!
Best regards,
Tony
---------------------------------
[[alternative HTML
2007 Oct 04
0
Friday VOIP Users Conference 12:30 PM EDT
This Friday at 12:30 PM EDT
We hope to hear more about Astricon and the 1.6 version. A UK legal
professional, John Halton of Cripps Harries Hall LLP, joins us to
discuss how the law is coming to terms with VOIP. We also expect a
visit from Arick of IPKall about what's cooking with them. Most of
all, we expect you, the community to share in this experience!
For more info see:
http://www.VoipUsersConference.org...
2006 Oct 24
2
Mixed conditional logit model
dear all,
i wonder whether it is possible to estimate a mixed (random parameters)
logit model in R. my dataset only includes conditional explanatory (RHS)
variables. i've already searched the R-help archives and found slightly
comparable questions but no satisfying answers. an old fashoined
conditional logit does not work due to the violation of the iia
property. a short description of
2002 Feb 12
1
SSH Client Hangs after logging in to SSHD
...any clues.
>
> TIA
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: secureshell-unsubscribe at securityfocus.com
> For additional commands, e-mail: secureshell-help at securityfocus.com
--
Regards
Frank S. Bernhardt
b.c.s.i.
14 Halton Court
Markham, ON.
L3P 6R3
905-471-1691 Voice
905-471-3016 FAX
frank at bcsi.ca
---------------------------------------------------------------------
To unsubscribe, e-mail: secureshell-unsubscribe at securityfocus.com
For additional commands, e-mail: secureshell-help at securityfocus.com