Editorial









Les applications utilisables en maternelle

Applications sérieuses et sans pubs. Un site qui propose de nombreuses application pour développer : • Le langage. • La logique. • Les formes géométriques.
liste applis maternelle


Operating System Concepts Essentials 2nd Edition

components: the hardware the operating system
operating system concepts essentials nd abraham silberschatz


Operating System Concepts Essentials 2nd Edition

components: the hardware the operating system
Operating System Concepts Essentials nd Edition


The Busy Coder's Guide to Android Development

Mar 1 2015 Step #2: Build
Android CC





European Patent Bulletin 2018/09

Feb 28 2018 A2 = Publication of the European patent application without search report. A2 = publication de la demande de brevet européen sans.
bulletin


Dargo Bush Bulletin

Jul 29 2022 Friday 29th - Pub Wheel at the ... Only the one application per household ... Comic Sans
e d d f e dac d Newsletter Dargo Bush Bulletin


Editorial

Apr 27 2006 math/org/mathe7/RUCKDESCHEL/pubs/comp.pdf
Rnews


Cryptocurrencies and market efficiency

Feb 12 2021 entific research documents





TUGBOAT Volume 26 Number 3 / 2005

Typography 196 Typographers' Inn / Peter Flynn man sans serif
tb complete


“Rumble in the Forest” throws amateur boxers in the ring at Maranatha

Oct 21 2016 skidding the Sans Souci II down the bluff and sliding into the water around 9:30 a.m. The air was ... Historical Society invites the pub-.
Lowdown FL


214787 Editorial News The Newsletter of the R Project Volume 6/2, May 2006Editorial by Paul Murrell Welcome to the first regular issue of R News for 2006. This is a bumper issue, with a thirteen contributed articles. Manythankstothecontributorsandreview- ers for all of the enthusiasm and effort that they put into these articles.

This issue begins with some "methodological"

papers. Peter Ruckdeschel, Matthias Kohl, Thomas

Stabla, and Florian Camphausen introduce their

distrpackage, which provides a set of S4 classes and methods for defining distributions of random vari- ables. This is followed by an article from David Clif- ford and Peter McCullagh on the many uses of the regresspackage, then Lukasz Komsta describes his outlierspackage, which contains general tests for outlying observations. The next set of articles involve applications of R to particular settings. David Kane and Jeff Enos de- scribe theirportfoliopackage for working with eq- uity portfolios. Roman Pahl, Andreas Ziegler, and tice is the topic of Sven Garbade and Peter Burgard"s article, while M. Wangler, J. Beyersmann, and M. Schumacher focus on length of hospital stay with the changeLOSpackage. Next, there are three graphics articles. Nitin Jain and Gregory Warnes describe the "balloonplot", a tool for visualizing tabulated data. Jung Zhao ex- plains how to produce pedigree plots in R, and Brian Ripley and I describe some improvements in R"s font support for PDF and PostScript graphics output.

SAS users struggling to make the transition to R

might enjoy Søren Højsgaard"s article on hisdoBy package and the contributed articles are rounded out by two pieces from Robin Hankin: one on theonion package for normed division algebras and one on theResistorArraypackage for analysing resistor net- works.

David Meyer provides us with a review of the

book "R Graphics".

This issue accompanies the release of R version

2.3.0. Changes in R itself and new CRAN packagesContents of this issue:

Editorial . . . . . . . . . . . . . . . . . . . . . .1 S4Classes for Distributions . . . . . . . . . . .2 The regress function . . . . . . . . . . . . . . . .6 Processing data for outliers . . . . . . . . . . .10 Analysing equity portfolios in R . . . . . . . . .13

GroupSeq-Designing clinical trials using

group sequential designs . . . . . . . . . . .21

Using R/Sweave in everyday clinical practice .26

changeLOS: An R-package for change in length of hospital stay based on the Aalen- Johansen estimator . . . . . . . . . . . . . . .31 Balloon Plot . . . . . . . . . . . . . . . . . . . .35

Drawing pedigree diagrams with R and

graphviz . . . . . . . . . . . . . . . . . . . . .38Non-Standard Fonts inPostScriptandPDF Graphics . . . . . . . . . . . . . . . . . . . . .41 The doBy package . . . . . . . . . . . . . . . . .47

Normed division algebras with R: introducing

the onion package . . . . . . . . . . . . . . .49

Resistor networks R: Introducing the Resis-

torArray package . . . . . . . . . . . . . . . .52

The good, the bad, and the ugly-Review of

Paul Murrell"s new book: "RGraphics" . . .54

Changes in R . . . . . . . . . . . . . . . . . . . .54

Changes on CRAN . . . . . . . . . . . . . . . .64

R Foundation News . . . . . . . . . . . . . . . .70

News from the Bioconductor Project . . . . . .70

Forthcoming Events: DSC 2007 . . . . . . . . .71

Vol. 6/2, May 22, 20062that have appeared since the release of R 2.2.0 are de- scribed in the relevant regular sections. There is also an update of individuals and institutions who are providing support for the R Project via the R Foun- dation and there is an announcement and call for abstracts for the DSC 2007 conference to be held in

Auckland, New Zealand.

A new addition with this issue is "News from

the Bioconductor Project" by Seth Falcon, which de- scribes important features of the 1.8 release of Bio-conductor packages.

Finally, I would like to remind everyone of the

upcoming useR! 2006 conference. It has attracted a huge number of presenters and promises to be a great success. I hope to see you there!

Paul Murrell

The University of Auckland, New Zealandpaul@stat.auckland.ac.nz

S4Classes for Distributions

by Peter Ruckdeschel, Matthias Kohl, Thomas Stabla, and

Florian Camphausen

distrisanRpackagethatprovidesaconceptualtreat- ment of random variables (r.v."s) by means ofS4- classes. A mother classDistributionis introduced with slots for a parameter and for methodsr,d,p, andq, consecutively for simulation and for evalu- ation of the density, c.d.f., and quantile function of the corresponding distribution. All distributions of thebasepackage are implemented as subclasses. By means of these classes, we can automatically gener- ate new objects of these classes for the laws of r.v."s under standard mathematical univariate transforma- tions and under convolution of independent r.v."s. In thedistrSimanddistrTEstpackages, we also pro- vide classes for a standardized treatment of simula- tions (also under contamination) and evaluations of statistical procedures on such simulations.

Motivation

Rcontains powerful techniques for virtually any use- ful distribution using the suggestive naming conven- tion[prefix]as functions, where[prefix] stands forr,d,p, orq, andis the name of the distribution.

There are limitations of this concept: You can

only use distributions that are already implemented in some library or for which you have provided an implementation. In many natural settings you want to formulate algorithms once for all distributions, so you should be able to treat the actual distribution as if it were a variable.

You may of course paste together a prefix and

the value ofas a string and then use eval(parse(....)). This is neither very elegant nor flexible, however.

Instead, we would prefer to implement the algo-

rithm by passing an object of some distribution class as an argument to a function. Even better, though, we would use a generic function and let theS4-dispatching mechanism decide what to do at run- time. In particular, we would like to automatically generate the corresponding functionsr,d,p, andq forthelawofexpressionslikeX+3YforobjectsXandY of classDistribution, or, more generally, of a trans- formation ofX,Yunder a functionf:R2→Rwhich is already realized as a function inR.

These operations are possible with thedistrpack-

age. As an example, try> require("distr")

Loading required package: distr

[1] TRUE > N <- Norm(mean=2,sd=1.3) > P <- Pois(lambda=1.2) > (Z <- 2*N+3+P)

Distribution Object of Class: AbscontDistribution

> plot(Z) > p(Z)(0.4) [1] 0.002415384 > q(Z)(0.3) [1] 6.70507 > r(Z)(10) [1] 11.072931 7.519611 10.567212 3.358912 [5] 7.955618 9.094524 5.293376 5.536541 [9] 9.358270 10.689527020 0.00 0.06 0.12

Density of AbscontDistribution

grid d(x)(grid) 020 0.0 0.4 0.8

CDF of AbscontDistribution

grid p(x)(grid)

0.00.40.8

0 10 20 30

Quantile of AbscontDistribution

p(x)(grid) gridFigure 1:density, c.d.f. and quantile function ofZComment: News The Newsletter of the R Project Volume 6/2, May 2006Editorial by Paul Murrell Welcome to the first regular issue of R News for 2006. This is a bumper issue, with a thirteen contributed articles. Manythankstothecontributorsandreview- ers for all of the enthusiasm and effort that they put into these articles.

This issue begins with some "methodological"

papers. Peter Ruckdeschel, Matthias Kohl, Thomas

Stabla, and Florian Camphausen introduce their

distrpackage, which provides a set of S4 classes and methods for defining distributions of random vari- ables. This is followed by an article from David Clif- ford and Peter McCullagh on the many uses of the regresspackage, then Lukasz Komsta describes his outlierspackage, which contains general tests for outlying observations. The next set of articles involve applications of R to particular settings. David Kane and Jeff Enos de- scribe theirportfoliopackage for working with eq- uity portfolios. Roman Pahl, Andreas Ziegler, and tice is the topic of Sven Garbade and Peter Burgard"s article, while M. Wangler, J. Beyersmann, and M. Schumacher focus on length of hospital stay with the changeLOSpackage. Next, there are three graphics articles. Nitin Jain and Gregory Warnes describe the "balloonplot", a tool for visualizing tabulated data. Jung Zhao ex- plains how to produce pedigree plots in R, and Brian Ripley and I describe some improvements in R"s font support for PDF and PostScript graphics output.

SAS users struggling to make the transition to R

might enjoy Søren Højsgaard"s article on hisdoBy package and the contributed articles are rounded out by two pieces from Robin Hankin: one on theonion package for normed division algebras and one on theResistorArraypackage for analysing resistor net- works.

David Meyer provides us with a review of the

book "R Graphics".

This issue accompanies the release of R version

2.3.0. Changes in R itself and new CRAN packagesContents of this issue:

Editorial . . . . . . . . . . . . . . . . . . . . . .1 S4Classes for Distributions . . . . . . . . . . .2 The regress function . . . . . . . . . . . . . . . .6 Processing data for outliers . . . . . . . . . . .10 Analysing equity portfolios in R . . . . . . . . .13

GroupSeq-Designing clinical trials using

group sequential designs . . . . . . . . . . .21

Using R/Sweave in everyday clinical practice .26

changeLOS: An R-package for change in length of hospital stay based on the Aalen- Johansen estimator . . . . . . . . . . . . . . .31 Balloon Plot . . . . . . . . . . . . . . . . . . . .35

Drawing pedigree diagrams with R and

graphviz . . . . . . . . . . . . . . . . . . . . .38Non-Standard Fonts inPostScriptandPDF Graphics . . . . . . . . . . . . . . . . . . . . .41 The doBy package . . . . . . . . . . . . . . . . .47

Normed division algebras with R: introducing

the onion package . . . . . . . . . . . . . . .49

Resistor networks R: Introducing the Resis-

torArray package . . . . . . . . . . . . . . . .52

The good, the bad, and the ugly-Review of

Paul Murrell"s new book: "RGraphics" . . .54

Changes in R . . . . . . . . . . . . . . . . . . . .54

Changes on CRAN . . . . . . . . . . . . . . . .64

R Foundation News . . . . . . . . . . . . . . . .70

News from the Bioconductor Project . . . . . .70

Forthcoming Events: DSC 2007 . . . . . . . . .71

Vol. 6/2, May 22, 20062that have appeared since the release of R 2.2.0 are de- scribed in the relevant regular sections. There is also an update of individuals and institutions who are providing support for the R Project via the R Foun- dation and there is an announcement and call for abstracts for the DSC 2007 conference to be held in

Auckland, New Zealand.

A new addition with this issue is "News from

the Bioconductor Project" by Seth Falcon, which de- scribes important features of the 1.8 release of Bio-conductor packages.

Finally, I would like to remind everyone of the

upcoming useR! 2006 conference. It has attracted a huge number of presenters and promises to be a great success. I hope to see you there!

Paul Murrell

The University of Auckland, New Zealandpaul@stat.auckland.ac.nz

S4Classes for Distributions

by Peter Ruckdeschel, Matthias Kohl, Thomas Stabla, and

Florian Camphausen

distrisanRpackagethatprovidesaconceptualtreat- ment of random variables (r.v."s) by means ofS4- classes. A mother classDistributionis introduced with slots for a parameter and for methodsr,d,p, andq, consecutively for simulation and for evalu- ation of the density, c.d.f., and quantile function of the corresponding distribution. All distributions of thebasepackage are implemented as subclasses. By means of these classes, we can automatically gener- ate new objects of these classes for the laws of r.v."s under standard mathematical univariate transforma- tions and under convolution of independent r.v."s. In thedistrSimanddistrTEstpackages, we also pro- vide classes for a standardized treatment of simula- tions (also under contamination) and evaluations of statistical procedures on such simulations.

Motivation

Rcontains powerful techniques for virtually any use- ful distribution using the suggestive naming conven- tion[prefix]as functions, where[prefix] stands forr,d,p, orq, andis the name of the distribution.

There are limitations of this concept: You can

only use distributions that are already implemented in some library or for which you have provided an implementation. In many natural settings you want to formulate algorithms once for all distributions, so you should be able to treat the actual distribution as if it were a variable.

You may of course paste together a prefix and

the value ofas a string and then use eval(parse(....)). This is neither very elegant nor flexible, however.

Instead, we would prefer to implement the algo-

rithm by passing an object of some distribution class as an argument to a function. Even better, though, we would use a generic function and let theS4-dispatching mechanism decide what to do at run- time. In particular, we would like to automatically generate the corresponding functionsr,d,p, andq forthelawofexpressionslikeX+3YforobjectsXandY of classDistribution, or, more generally, of a trans- formation ofX,Yunder a functionf:R2→Rwhich is already realized as a function inR.

These operations are possible with thedistrpack-

age. As an example, try> require("distr")

Loading required package: distr

[1] TRUE > N <- Norm(mean=2,sd=1.3) > P <- Pois(lambda=1.2) > (Z <- 2*N+3+P)

Distribution Object of Class: AbscontDistribution

> plot(Z) > p(Z)(0.4) [1] 0.002415384 > q(Z)(0.3) [1] 6.70507 > r(Z)(10) [1] 11.072931 7.519611 10.567212 3.358912 [5] 7.955618 9.094524 5.293376 5.536541 [9] 9.358270 10.689527020 0.00 0.06 0.12

Density of AbscontDistribution

grid d(x)(grid) 020 0.0 0.4 0.8

CDF of AbscontDistribution

grid p(x)(grid)

0.00.40.8

0 10 20 30

Quantile of AbscontDistribution

p(x)(grid) gridFigure 1:density, c.d.f. and quantile function ofZComment: