d’.
• Vignette ‘"lossdist"’ is renamed to ‘"modeling"’ and it is
revised to cover the new functionalities of ‘grouped.data’
and ‘ogive’.
BUG FIX
• An old and nasty out-of-bounds bug could crash R when using
the "recursive" method of 'aggregateDist' wit
I am pleased to announce the immediate availability on CRAN of the new
package expint: https://cran.r-project.org/package=expint.
The exponential integral
E_1(x) = int_x^\Inf exp(-t)/t dt, x real
and the incomplete gamma function
G(a, x) = \int_x^\Inf t^{a-1} exp(-t) dt, x > 0, a real
are
the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoul
"
Which library path should I choose?
Whatever you wish (my personal pick below). This is also discussed in
the README:
Individual users can install R packages into their home directory.
The simplest procedure is to create a file ~/.Renviron containing,
e.g.,
R_LIBS=&
ect.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval,
what you mean by "treat", but package actuar has a function
grouped.data() to create such objects. Then, there are methods to
compute the mean or plot the histogram. See the "lossdist" package
vignette for details.
HTH Vincent
--
Vincent Goulet, Associate Professor
everything myself?
As the README file linked above mentions, we provide up-to-date R
binaries for i386 and amd64.
For your other points, I will let more competent people answer.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PR
should get to the same position. Vincent is
providing a great resource for win (and mac) users, and if there is
anyway of building on what he has done, it wuold be great.
Stephen
Ah, but I also have AUCTeX! ;-)
Will definitely have a look at Frank et al.'s offer.
Vincent Goulet, Full
.
--
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-pac
complete NEWS is available on CRAN as usual:
https://cran.r-project.org/web/packages/actuar/news.html
Cheers,
Vincent Goulet
Professor
École d'actuariat, Université Laval
___
R-packages mailing list
r-packa...@r-project.org
https://stat.et
tains sujets plus délicats. Ces vidéos sont disponibles dans
la chaîne YouTube
http://www.youtube.com/user/VincentGouletIntroR
Le document est publié sous licence Creative Commons.
Vincent Goulet, Ph.D.
Professor of Actuarial Science
Directeur général de la formation continue
Université
Le ven. 23 mai à 09:37, mohamed nur anisah a écrit :
Dear all,
i have 2 lists of data with each of the list contain 14 columns.
No, you have one list with two elements; each is a 14-column data frame.
How am i going to extract column 12 and 13 from each of the list ??
Let's call your lis
Le ven. 13 juin à 13:55, Ben Bolker a écrit :
Bluder Olivia k-ai.at> writes:
Hello,
I'm trying to calculate the Maximum likelihood estimators for a
dataset
which contains censored data.
I started by using the function "nlm", but isn't there a separate
method
for doing this for e.g. t
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Vincent Goulet, Associate Professor
Éco
Le mer. 09 juil. à 06:20, Rainer M Krug a écrit :
Hi
I tried to install rkward under ubuntu hardy heron, but it tried to
use the one from the cran repository which was newer, but it did not
install. To be able to install rkward, I had to disable the cran
repository, install rkward, lock it's ve
MIklos,
You may have missed this part of the Ubuntu README on CRAN:
Users who need to compile packages should also install the r-base-dev
package:
sudo apt-get install r-base-dev
This will fetch all the standard tools you need to compile packages.
If you have more Ubuntu specific q
mention is R itself (upgrade while you're at it, you're
two versions behind) and a TeX distribution (consider TeX Live or
MiKTeX). There is no need for Cygwin with this setup.
Hope this helps
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Q
x27;re not familiar with the concepts of
"local texmf tree" and "updating the TeX database".)
HTH
>
>
>>
>> Best,
>>
>> Jim
>>
>>
>>
>> Zembower, Kevin wrote:
>>> Kevin, thanks for writing. Yes, sorry, I forgot to
e lines should do what you want:
<>=
TRUE <- 3
@
<>=
cat(try(TRUE <- 3))
@
If I recall correctly, this was discussed here before.
HTH
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval
ectly.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Le dim. 6 avr. à 14:44, Dirk Eddelbuettel a écrit :
>
> On 6 April 2008 at 10:40, Dirk Eddelbuettel wrote:
> | Using Latex and the beamer class, I would like to highlight code
> snippets.
> | Does anybody know a suitable 'preprocessor' or 'filter' for R (and/
> or C/C++)
> | code ?
> |
> | I hav
gt; [49] 0.07206342 0.20325505
>
>
> --
> Paul E. Johnson
> Professor, Political Science
> 1541 Lilac Lane, Room 504
> University of Kansas
>
> __
> R-help@r-project.org mailing list
> https://s
tly you want to do (have a
look at the Posting Guide), but... perhaps by() will do what you what.
See ?by .
Bye!
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
the R-SIG-Debian forum, where messages have
the greatest chance to be noticed.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
R-help@r-project.org ma
Le mer. 23 avr. à 06:59, William Simpson a écrit :
> Thanks Phipp very much for your help. I had meant, given that I'd
> computed the matrix f[x,y] and the vector e[x], how to take the
> difference. What is confusing is how to subtract a vector from a
> matrix. I don't want the recycling rule.
We
wide an audience as
possible, but we remind that the best place to report problems with
these packages or to ask R questions specific to Debian and Ubuntu is
the R-SIG-Debian mailing list. See
https://stat.ethz.ch/mailman/listinfo/r-sig-debian
for more information.
---
Vince
ork is done in C, so it is pretty
fast.
[1] On R-Forge: http://r-forge.r-project.org/projects/expm/
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
nd
www.tcd.ie/Economics/staff/frainj/home.html
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.htm
, , 1
[,1] [,2] [,3]
[1,] 152 181 97
[2,] 211 248 131
, , 2
[,1] [,2] [,3]
[1,] 193 194 83
[2,] 269 268 113
, , 3
[,1] [,2] [,3]
[1,] 254 322 184
[2,] 352 440 248
, , 4
[,1] [,2] [,3]
[1,] 190 350 260
[2,] 260 472 348
HTH
---
Vincent Goulet,
Le ven. 09 mai à 03:44, Dimitris Rizopoulos a écrit :
try this:
A <- matrix(rnorm(10*4), 10, 4)
B <- matrix(rnorm(3*4), 3, 4)
C <- matrix(rnorm(5*4), 5, 4)
nrA <- nrow(A); nrB <- nrow(B); nrC <- nrow(C)
ind <- as.matrix(expand.grid(1:nrA, 1:nrB, 1:nrC))
D <- rowSums(A[ind[, 1], ] * B[ind[, 2],
Le lun. 12 mai à 15:15, Wensui Liu a écrit :
Hi, dear all,
I just switch to vista (ultimate) and have heard there is some problem
for the installation of xemacs on vista. Is there any insight or
experience that you could share?
Yes: go with GNU Emacs. There doesn't seem to be any compelling re
http://www.statistik.lmu.de/~leisch/Sweave/
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
Agustin,
Given this message and your previous one about starting R by clicking
on the .RData file, I would suggest/recommend you have a look at the
Emacs + ESS combination; see
http://cran.r-project.org/doc/FAQ/R-FAQ.html#R-and-Emacs
In my opinion, this is the best multi-platform (
Le mer. 21 mai à 04:38, Petr PIKAL a écrit :
Hallo
[EMAIL PROTECTED] napsal dne 21.05.2008 09:42:40:
Hi,
I just started using R for about one week and I have few problems.
i)I have a problem in finding right function to convert a table of
natural
numbers to bitwise. For a simple example;
f aggregateDist() now correctly returns 1
when evaluated past its largest knot.
DEPRECATED
o Direct usage of bstraub() is now deprecated in favor of cm(). The
function will remain in the package since it is used internally by
cm(), but it will not be exported in future releases
>
>> Min.1st Qu. Median Mean3rd Qu. Max.
>> 2.266e+01 9.311e+66 3.250e+153InfInfInf
>>
>> --
> O__ Peter Dalgaard Øster Farimagsgade 5, Entr.B
> c/ /'_ --- Dept. of Biostatistics PO
es(update[instlib == l, "Package"], l, contriburl =
> contriburl, :
> installation of package 'Hmisc' had non-zero exit status
>>
Hi Daniel,
The package built and installed flawlessly here in the Gutsy chroot
where the Ubuntu packages are built. Did you i
ccolò
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provi
.com.
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducibl
stepped up as maintainer for the
amd64 Ubuntu packages.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
R-help@r-project.org mailing list
https://stat.et
You can then use the
function is usual fitting procedures such as fitdistr() for ML. See
the "lossdist" vignette in the package for details.
HTH
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
nd contributions to the project are more than welcome.
(*) http://www.jstatsoft.org/v25/i07
(**) http://cran.r-project.org/doc/Rnews/Rnews_2008-1.pdf
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
e64.o] Error 1
chmod: cannot access `/usr/local/lib/R/site-library/RCurl/libs/*': No
such file or directory
This should have been the clue.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
E
Look at GNU Emacs with ESS, you'll get what you want out of the box
--- and much more! See
http://vgoulet.act.ulaval.ca/en/emacs
[shameless plug] for a distribution of Emacs bundled with ESS.
HTH
Vincent
Le mer. 17 sept. à 09:26, mfrumin a écrit :
Hi all,
I am generally quite f
Matthew,
As per the CRAN Ubuntu README
http://cran.r-project.org/bin/linux/ubuntu/
install the Ubuntu r-base-dev package to compile R packages from
sources.
Vincent
Le lun. 22 sept. à 00:08, Matthew Pettis a écrit :
Hi,
I'm trying to get the Hmisc module on my Ubuntu Hardy Heron
posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
---
Vincent Goulet, Professeur agrégé
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
imal, self-contained, reproducible code.
---
Vincent Goulet
Acting Chair, Associate Professor
École d'actuariat
Université Laval, Québec
vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca
__
R-help@r-project.org mailing list
https
ld be much
appreciated!
Define your data as a "grouped.data" object using the function of the
same name in package actuar. Then you can simply use hist() as usual
to get what you want. See:
@Article{Rnews:Goulet+Pigeon:2008,
author = {Vincent Goulet and Mathieu Pigeon},
title = {Sta
Thanks, Paul, for the instructions.
However, as it has been pointed out by Dirk a couple of times, most of
these instructions (those related to R installation and the location
of package files at least) can already be found in the Ubuntu README:
http://cran.us.r-project.org/bin/linu
ipate, your contributions
are most welcome!
--
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
vincent.gou...@act.ulaval.ca http://vgoulet.act.ulaval.ca
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailma
I did similar things with polygon().
Le mar. 10 mars à 13:30, g...@ucalgary.ca a écrit :
For a given random variable rv, for instance, rv = rnorm(1000),
I plot its density curve and calculate some quantiles:
plot(density(rv))
P10P50P90 = = quantile(rv,probs = c(10,50,90)/100)
I would like to co
read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>
> [[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/m
the later
arguments must be named in full.
---
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
Le jeu. 13 mars à 12:05, Ravi Varadhan a écrit :
> Hi,
>
>
>
> I have noticed that t
. It's
done now and they will reach CRAN mirrors within the next few hours.
Sorry for the inconvenience.
In the future, please ask Ubuntu related questions on R-SIG-Debian
(cc'd) where such postings have a far greater chance of being noticed.
Thx,
RZ
---
Vincent Goulet,
Le lun. 10 nov. à 00:45, Leon Yee a écrit :
Dirk Eddelbuettel wrote:
On 9 November 2008 at 20:35, Alan Jackson wrote:
| There must be a simple answer to this.
| | I'm running ubuntu gutsy, currently have 2.7.2 loaded, but the
update
| tools refuse to update it, and don't tell me why. With apt
Le mar. 11 nov. à 17:20, Terry Therneau a écrit :
Is the matrix exponential available in some package?
You may also have a look at the expm package for a very
straightforward operator:
http://r-forge.r-project.org/projects/expm/
Disclaimer: although entirely usable, the package i
Kyle,
In addition to "listings" already mentioned by Berwin, you may find
useful the "answers" package. This is what I use to create assignments/
exams/exercise sets with solutions all in one file.
HTH
Vincent
---
Vincent Goulet, Associate Professor
École d
where such announcements are usually posted.
Please report any problems using the binary packages to me.
Vincent Goulet, Associate Professor
École d'actuariat
Université Laval, Québec
[EMAIL PROTECTED] http://vgoulet.act.ulaval.ca
__
R-h
You did read the "Writing R Extensions" manual before posting, did you?
Le 13 sept. à 01:05, Olga K. Kamneva a écrit :
> Hello, All!
>
> I have function which is written in C, the function uses other
> functions
> also builded bu me. Now I need to use the function to build R
> function.
> My
he 'RtangleExtra'
driver, but I never had use for it.)
See ?RweaveExtraLatex for a complete example.
I have been using the package "privately" for the past year without any issue.
I hope that the new drivers may prove useful to the community.
Vincent Goulet
École d'a
60 matches
Mail list logo