Displaying 20 results from an estimated 1000 matches similar to: "docs + packages (PR#858)"
2010 May 21
0
a matter of etiquette/Fw: dmvsnorm & mvst in fMultivar
AA> In 2008, I have spotted some errors in a package, one which is
AA> likely to have many users (I am not one myself). The more serious
AA> errors are in the documentation, since they lead to a completely
AA> distorted interpretation of the outcome; in addition, there is (at
AA> least) one programming error which produces some wrong
AA> computations. A few weeks later, the
2006 Jan 23
1
mutlivariate normal and t distributions
Dear R-help list members,
I have created a package 'mnormt' with facilities for the multivariate
normal and t distributions. The core part is simply an interface to
Fortran routines by Alan Genz for computing the integral of two
densities over rectangular regions, using an adaptive integration
method. Other R functions compute densities and generate random
numbers.
The starting
2003 May 20
4
Output to connections
In the document "R Data Import/Export", section "Output to connections",
there is the following portion of code:
## convert decimal point to comma in output, using a pipe (Unix)
zz <- pipe(paste("sed s/\\./,/ >", "outfile"), "w")
cat(format(round(rnorm(100), 4)), sep = "\n", file = zz)
close(zz)
## now look at the output
2003 Feb 04
1
downloaf.file
Dear List-members,
to download a file from the net, the function download.file(..)
does the job. However, before embarking on the download, I would
like to find out how large the file is. Is there a way to know it?
Most easily, this question has been asked before, but I am new to
the list.
Regards, with thanks in advance,
Adelchi Azzalini
----
Adelchi Azzalini <azzalini at
2003 Jun 21
1
optim with contraints
There seems to exist peculiar cases where optim does not take care
of constraints on the parameters to be optimized over. The call to
optim is of the form
opt <- optim(cp, fn=sn.dev, gr=sn.dev.gh, method="L-BFGS-B",
lower=c(-Inf, 1e-10, -0.99527),
upper=c( Inf, Inf, 0.99527),
control=control, X=X, y=y, hessian=FALSE)
The code has worked fine
2007 Apr 04
0
to findout maximized log likelihoods by using rlarg.fit (for several r order statistics)
Dear R helpers,
I need to find out maximized log likelihoods,
parameters estimates and standard errors (in
parentheses) of r largest-order statistics model, with
different values of r by using the function rlarg.fit.
I want to specify required number of order statistics
to the model. I attached my data file with this
mail.please help me.
Ruposh
--- r-help-request at stat.math.ethz.ch wrote:
1999 Apr 23
1
[S] uniroot -- doesn't work recursively
Dear Prof Azzalini,
You have an interesting example of recursive use of uniroot().
[re-cited at the end]
However, note that R currently has the same problem as S-plus:
Uniroot() doesn't work reliably, recursively.
When you found it to be better, you were just lucky.
The relevant file in R's source, src/main/optimize.c
says
/* WARNING : As things stand, these routines should
2009 Feb 27
0
R crash on Mac
If I define this function
R> ask <- function (message = "Type in datum")
eval(parse(prompt = paste(message, ": ", sep = "")))
the following is produced as expected on a Linux/debian machine
R> ask("input")
input: 3
[1] 3
R> ask("input")
input: 3:6
[1] 3 4 5 6
R> ask("input")
input: c(3,6)
[1] 3 6
If I
2017 Nov 17
0
HTML documentation is not in the expected location
On 17/11/2017 10:47 AM, Adelchi Azzalini wrote:
> Since I have updated my Linux system, and consequently re-installed R, I
> am unable to see HTML documentation which I used to access via a web
> browser. To be more specific, my R installation is declared to be here:
>
> > R RHOME
> /usr/local/lib/R
>
> However, if I look at a location such as
>
2017 Nov 17
2
HTML documentation is not in the expected location
Since I have updated my Linux system, and consequently re-installed R, I
am unable to see HTML documentation which I used to access via a web
browser. To be more specific, my R installation is declared to be here:
> R RHOME
/usr/local/lib/R
However, if I look at a location such as
/usr/local/lib/R/library/base/html
this contains only two entries
File: 00Index.html
File: R.css
2011 Jan 16
1
\examples{} in Rd file
[Hope this is the right list where to send...]
An attempt to update package 'mnormt' involves the addition of a
small new function called 'pd.solve'. When I come to the package
checking stage, an error occurs in parsing pd.solve.Rd.
The full transcript of the outcome is copied below (it includes details
on my installation) but the critical point is where the \examples{}
section
2008 Dec 11
2
how to get the CDF of a density() estimation?
Hi,
I've estimated a simple kernel density of a univariate variable with
density(), but after I would like to find out the CDF at specific
values.
How can I do it?
thanks for your help, with it I am very close to finish my first
little bit more serious work in R,
Viktor
2003 Apr 24
5
Fast R implementation of Gini mean difference
I have written the following function to calculate the weighted mean
difference for univariate data (see
http://www.xycoon.com/gini_mean_difference.htm for a related
formula). Unsurprisingly, the function is slow (compared to sd or mad)
for long vectors. I wonder if there's a way to make the function
faster, short of creating an external C function. Thanks very much
for your advice.
gmd
2008 Oct 14
0
Fwd: sn package - skew t - code for analytical expressions for first 4 moments
Hello
please note that the code at
https://stat.ethz.ch/pipermail/r-help/2006-August/110892.html
to compute indices of skewness and kurtosis for the skew-t
distribution is not correct.
It has been kindly pointed out that i made some error in this code,
which was a bit too quickly copied from the paper.
The 'sn' package already contains a facility for computing
the cumulants, namely
2007 Sep 27
0
New version (2.2) of the sm package
The sm package (by Adrian Bowman and Adelchi Azzalini) implements a
variety of nonparametric smoothing techniques, centred on nonparametric
regression for one or two covariates and density estimation for up to
three variables. A new version of the package is now available on CRAN.
In an earlier unannounced version (2.1), a variety of methods of
bandwidth
selection were added, with default
2007 Sep 27
0
New version (2.2) of the sm package
The sm package (by Adrian Bowman and Adelchi Azzalini) implements a
variety of nonparametric smoothing techniques, centred on nonparametric
regression for one or two covariates and density estimation for up to
three variables. A new version of the package is now available on CRAN.
In an earlier unannounced version (2.1), a variety of methods of
bandwidth
selection were added, with default
1999 Apr 07
2
Bug list summary (automatic post)
=================================================
This is an automated summary of the status of the R-bugs
repository.
Note that this may be neither complete nor perfectly
correct at any given instance: Not all bugs are reported,
and some reported bugs may have been fixed, but the
repository not yet updated.
Some bug fixes are difficult to verify because they pertain
to specific hardware or
2005 Sep 01
5
Multivariate Skew Normal distribution
> -----Original Message-----
> From: r-help-bounces at stat.math.ethz.ch
> [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Caio Lucidius
> Naberezny Azevedo
> Sent: 01 September 2005 12:09
> To: Help mailing list - R
> Subject: [R] Multivariate Skew Normal distribution
>
>
> Hi all,
>
> Could anyone tell me if there is any package (or function)
2003 May 13
2
RMySQL crashes R
I have justed upgraded R v1.7.0 on Windows NT 4 and have installed the
latest RMySQL (version 0.5-1)and DBI (version 0.1-5) packages.
When I issue the following commands (tactfully adjusted) R just crashes and
disappears, any ideas?
require(RMySQL)
m <- dbDriver("MySQL")
con <- dbConnect(m, dbname="xxx", user="xxx", password="xxx",
2006 Feb 21
1
color quantization / binning a variable into levels
Hi all,
I'd like to quantize a variable to map it into a limited set of integers
for use with a colormap. "image" and filled.contour" do this mapping
inside somewhere, but I'd like to choose the colors for plotting a set of
polygons. Is there a pre-existing function that does something like this
well? i.e., is capable of using 'breaks'?