Créer des packages sous R. Adrien Remund Déjeuner R

Documents pareils
Instructions Mozilla Thunderbird Page 1

Cedric Dumoulin (C) The Java EE 7 Tutorial

Paxton. ins Net2 desktop reader USB

Cheque Holding Policy Disclosure (Banks) Regulations. Règlement sur la communication de la politique de retenue de chèques (banques) CONSOLIDATION

Editing and managing Systems engineering processes at Snecma

Exemple PLS avec SAS

Comprendre l impact de l utilisation des réseaux sociaux en entreprise SYNTHESE DES RESULTATS : EUROPE ET FRANCE

XtremWeb-HEP Interconnecting jobs over DG. Virtualization over DG. Oleg Lodygensky Laboratoire de l Accélérateur Linéaire

REMOTE DATA ACQUISITION OF EMBEDDED SYSTEMS USING INTERNET TECHNOLOGIES: A ROLE-BASED GENERIC SYSTEM SPECIFICATION

Once the installation is complete, you can delete the temporary Zip files..

THÈSE. présentée à TÉLÉCOM PARISTECH. pour obtenir le grade de. DOCTEUR de TÉLÉCOM PARISTECH. Mention Informatique et Réseaux. par.

Instructions pour mettre à jour un HFFv2 v1.x.yy v2.0.00

AUDIT COMMITTEE: TERMS OF REFERENCE

RÉSUMÉ DE THÈSE. L implantation des systèmes d'information (SI) organisationnels demeure une tâche difficile

APPENDIX 6 BONUS RING FORMAT

en SCÈNE RATIONAL Rational Démonstration SDP : automatisation de la chaîne de développement Samira BATAOUCHE sbataouche@fr.ibm.com

DOCUMENTATION - FRANCAIS... 2

UML : Unified Modeling Language

iqtool - Outil e-learning innovateur pour enseigner la Gestion de Qualité au niveau BAC+2

Quick Start Guide This guide is intended to get you started with Rational ClearCase or Rational ClearCase MultiSite.

Archived Content. Contenu archivé

Application Form/ Formulaire de demande

Plateforme Technologique Innovante. Innovation Center for equipment& materials

MELTING POTES, LA SECTION INTERNATIONALE DU BELLASSO (Association étudiante de lʼensaparis-belleville) PRESENTE :

First Nations Assessment Inspection Regulations. Règlement sur l inspection aux fins d évaluation foncière des premières nations CONSOLIDATION

Conférence Bales II - Mauritanie. Patrick Le Nôtre. Directeur de la Stratégie - Secteur Finance Solutions risques et Réglementations

Le projet WIKIWATER The WIKIWATER project

VMware : De la Virtualisation. au Cloud Computing

CETTE FOIS CEST DIFFERENT PDF

APPENDIX 2. Provisions to be included in the contract between the Provider and the. Holder

accidents and repairs:

AMENDMENT TO BILL 32 AMENDEMENT AU PROJET DE LOI 32

Tex: The book of which I'm the author is an historical novel.

Export Permit (Steel Monitoring) Regulations. Règlement sur les licences d exportation (surveillance de l acier) CONSOLIDATION CODIFICATION

UN PEU DE VOTRE CŒUR EST TOUJOURS À LYON... A PIECE OF YOUR HEART IS FOREVER IN LYON...

INVESTMENT REGULATIONS R In force October 1, RÈGLEMENT SUR LES INVESTISSEMENTS R En vigueur le 1 er octobre 2001

Stratégie DataCenters Société Générale Enjeux, objectifs et rôle d un partenaire comme Data4

How to Login to Career Page

Telecharger gratuitement convertisseur de fichier word en pdf

TABLE DES MATIERES A OBJET PROCEDURE DE CONNEXION

Package Contents. System Requirements. Before You Begin

Contrôle d'accès Access control. Notice technique / Technical Manual

MANUEL MARKETING ET SURVIE PDF

The new consumables catalogue from Medisoft is now updated. Please discover this full overview of all our consumables available to you.

Notice Technique / Technical Manual

Mon Service Public - Case study and Mapping to SAML/Liberty specifications. Gaël Gourmelen - France Telecom 23/04/2007

physicien diplômé EPFZ originaire de France présentée acceptée sur proposition Thèse no. 7178

CLIM/GTP/27/8 ANNEX III/ANNEXE III. Category 1 New indications/ 1 re catégorie Nouvelles indications

Contents Windows

«Rénovation des curricula de l enseignement supérieur - Kazakhstan»

DOCUMENTATION - FRANCAIS... 2

Stéphane Lefebvre. CAE s Chief Financial Officer. CAE announces Government of Canada participation in Project Innovate.

English Q&A #1 Braille Services Requirement PPTC Q1. Would you like our proposal to be shipped or do you prefer an electronic submission?

Forthcoming Database

SERVEUR DÉDIÉ DOCUMENTATION

Les Portfolios et Moodle Petit inventaire

Face Recognition Performance: Man vs. Machine

POLICY: FREE MILK PROGRAM CODE: CS-4

Utiliser une WebCam. Micro-ordinateurs, informations, idées, trucs et astuces

Les techniques de la télémaintenance

MANAGEMENT SOFTWARE FOR STEEL CONSTRUCTION

Institut d Acclimatation et de Management interculturels Institute of Intercultural Management and Acclimatisation

Exercices sur SQL server 2000

Get Instant Access to ebook Cest Maintenant PDF at Our Huge Library CEST MAINTENANT PDF. ==> Download: CEST MAINTENANT PDF

Calculation of Interest Regulations. Règlement sur le calcul des intérêts CONSOLIDATION CODIFICATION. Current to August 4, 2015 À jour au 4 août 2015

Ships Elevator Regulations. Règlement sur les ascenseurs de navires CODIFICATION CONSOLIDATION. C.R.C., c C.R.C., ch. 1482

RÈGLEMENT SUR LES CEINTURES DE SÉCURITÉ ET LES ENSEMBLES DE RETENUE POUR ENFANTS R.R.T.N.-O. 1990, ch. M-35

CEST POUR MIEUX PLACER MES PDF

Stakeholder Feedback Form January 2013 Recirculation

WEB page builder and server for SCADA applications usable from a WEB navigator

Enhancing cybersecurity in LDCs thru multi-stakeholder networking and free software

Air Transportation Tax Order, Décret de 1995 sur la taxe de transport aérien CONSOLIDATION CODIFICATION

Multiple issuers. La cotation des actions ROBECO ci-dessous est suspendue sur EURONEXT PARIS dans les conditions suivantes :

Algorithmes de recommandation, Cours Master 2, février 2011

OFFICIAL STATUS OF CONSOLIDATIONS CARACTÈRE OFFICIEL DES CODIFICATIONS

Relions les hommes à l entreprise Linking people to companies

ADHEFILM : tronçonnage. ADHEFILM : cutting off. ADHECAL : fabrication. ADHECAL : manufacturing.

Judge Group: P Title: Quel est meilleur: le compost ou le fertilisant chimique? Student(s): Emma O'Shea Grade: 6

Interest Rate for Customs Purposes Regulations. Règlement sur le taux d intérêt aux fins des douanes CONSOLIDATION CODIFICATION

Short-term Pooled Investment Fund Regulations. Règlement sur le fonds commun de placement à court terme CONSOLIDATION CODIFICATION

Métiers - informatique et Internet Jobs - IT and Internet

Utiliser un proxy sous linux

Règlement sur le télémarketing et les centres d'appel. Call Centres Telemarketing Sales Regulation

Compléter le formulaire «Demande de participation» et l envoyer aux bureaux de SGC* à l adresse suivante :

Appointment or Deployment of Alternates Regulations. Règlement sur la nomination ou la mutation de remplaçants CONSOLIDATION CODIFICATION

SMALL CITY COMMERCE (EL PEQUEÑO COMERCIO DE LAS PEQUEÑAS CIUDADES)

Name Use (Affiliates of Banks or Bank Holding Companies) Regulations

Flottes privatives Une gestion maîtrisée Fleet management The management expert

Règlement sur les baux visés à la Loi no 1 de 1977 portant affectation de crédits. Appropriation Act No. 1, 1977, Leasing Regulations CODIFICATION

Resident Canadian (Insurance Companies) Regulations. Règlement sur les résidents canadiens (sociétés d assurances) CONSOLIDATION CODIFICATION

BIG DATA : une vraie révolution industrielle (1) Les fortes évolutions liées à la digitalisation

Bill 69 Projet de loi 69

RAPID Prenez le contrôle sur vos données

What s New. Sun ONE Application Server. Version 7, Enterprise Edition

Support Orders and Support Provisions (Banks and Authorized Foreign Banks) Regulations

calls.paris-neuroscience.fr Tutoriel pour Candidatures en ligne *** Online Applications Tutorial

Les marchés Security La méthode The markets The approach

EnerSys Canada Inc. Policy on. Accessibility Standard For Customer Service

Guide d'installation rapide TFM-560X YO.13

Life Companies Borrowing Regulations. Règlement sur les emprunts des sociétés d assurance-vie CONSOLIDATION CODIFICATION

Transcription:

Créer des packages sous R Adrien Remund Déjeuner R 07.03.2017

Glossaire Package: An extension of the R base system with code, data and documentation in standardized format. Library: A directory containing installed packages. Repository: A website providing packages for installation (e.g. CRAN, github) Source: The original version of a package with human-readable text and code. Binary: A compiled version of a package with computer-readable text and code, may work only on a specific platform. Base packages: Part of the R source tree, maintained by R Core. Recommended packages: Part of every R installation, but not necessarily maintained by R Core. Contributed packages: All the rest. This does not mean that these packages are necessarily of lesser quality than the above, e.g., many contributed packages on CRAN are written and maintained by R Core members. We simply try to keep the base distribution as lean as possible. 2

Plan 1. Pourquoi créer un package? 2. Contenu d un package 3. Roxygen 4. Petite démonstration 3

Pourquoi un package? Le principe Because R is programmable, it permits users to develop software for their own use. The package system encourages them then to share this software with others and, to a limited extent, facilitates recognition for software development. This process allows R to grow in a natural, organic manner. Fox 2009 4

Pourquoi un package? Motivations personnelles (entre autres) Conserver des fonctions de manière sûre Publier des fonctions => reproductibilité Gratuit Peuvent être activés ou non Mises à jour automatisées Inclut des exemples.zip => non-testé et distribué «manuellement» CRAN => testé et disponible pour tous 5

Pourquoi un package? Motivations pour le projet R The package system also serves at least partly to circumvent disputes that might otherwise fracture the R Project. The package system provides a variety of integrative functions, including quality control; enforcement of standards; provision of a common documentation format ( ) Fox 2009 6

Andrie de Vries, 2016 7

Andrie de Vries, 2016 8

Contenu Package MASS: binary / source data => données intégrées au package inst => autres (divers) man => aide pour le package lui-même po R => code (fonctions) src => C++ / Fortran / tests => validation Description => «carte de visite» du package Index Licence MD5 Namespace => déclare les dépendances, classes, méthodes, Vignettes => manuels de l utilisateur (libre) 9

Roxygen Pourquoi tout faire à la main? Rstudio & Roxygen génèrent automatiquement Les fichiers de code (R) Les fichiers d aide (man) Le fichier Namespace Ne reste plus qu à ajouter (si nécessaire) Les données (data) Les manuels d utilisateurs (vignettes) 10

Roxygen MortHump @title Isolate the young adult mortality hump from a set of age-specific mortality rates @description This function estimates a model of mortality on the provided set of age-specific death rates. Both parametric and non-parametric models are available. They are all designed to estimate the size of the young adult mortality hump, i.e. the deviation in the force of mortality often observed during adolescence and early adulthood. @param data data frame produced with \code{hmd2mh} or similarly structured @details @return Returns an object of class \code{morthump} containing the arguments used to fit the model as well as the estimated coefficients. @examples data("che2010m") # fits the Heligman-Pollard model (parametrical) fit <- morthump(data = CHE2010m, model = "hp") @references Camarda, C. G., Eilers, P. H. C., & Gampe, J. (2016). Sums of smooth exponentials to decompose complex series of counts. Statistical Modelling. @seealso \link{sse.fit}, \link{summary.morthump}, \link{plot.morthump} @export @import MortalitySmooth @import Matrix @importfrom graphics abline arrows axis box legend lines matplot par plot points polygon segments text title Créer des packages dans Rstudio Roxygen 11

Démonstration 12