LondonR 4 th May 2010 Richard Pugh, [email protected].

28
LondonR 4 th May 2010 Richard Pugh, [email protected] mangosolutions

Transcript of LondonR 4 th May 2010 Richard Pugh, [email protected].

LondonR4th May 2010

Richard Pugh, [email protected] mangosolutions

Some R News

Richard Pugh, [email protected] mangosolutions

mangosolutions

News

• R v2.11 released on 22nd April 2010• New packages and updates to packages• The R Journal in December• Some interesting blog articles• More local user groups being set up

mangosolutions

R v2.11 Released!

• 64-bit Windows platform (from REvolution)• The new function vapply is like apply, but checks for consistency

of the return value• Quantile can be used on some time/date objects• Support for selecting a repository for BioConductor packages• Support for rendering bitmap images in graphics devices, via a

new function rasterImage• Various speedups and minor bug-fixes

mangosolutions

New Packages + Updates

mangosolutions

New Packages + UpdatesPackage Description

debug Allows advanced code debug features. Updated to 1.2.2

mvbutils Package preparation utilities. Updated to 2.5.1

formatR Automated code layout with UI. New

SOAR Stored object caches with R. New

glmnet Regularization path regression. Updated to 1.2

micEconSNQP Symmetric Normalized Quadratic (SNQ) profit function. Split

micEconCES Estimating the Constant Elasticity of Scale (CES) function. Split

micEcon economic analysis. Split

mangosolutions

New Packages + UpdatesPackage Description

WriteXLS Perl-based XLS creation. Updated to 1.9

JM Joint modelling of longitudinal and T2E data. Updated to 0.6

datatable Fast table transformations. Updated to 1.4.1

ordinal cumulative link (mixed) models for ordinal (ordered categorical) data

ggplot2 Grammer of graphics plotting. Updated to 0.8.7

Deducer UI to data manipulation and analysis capabilities. New

rms Regression Model Strategies. Updated to 2.2

extracat Visualisation of categorical data. New

mangosolutions

The R Journal

mangosolutions

The R JournalArticle by John Fox

mangosolutions

The R JournalArticle by John Fox

mangosolutions

The R JournalArticle by John Fox

mangosolutions

The Next Big Thing!

mangosolutions

More Local User Groups

+ China, Israel, Japan, Australia

BaselR Launched!

• First event on 28th April 2010• Run by Mango AG• Modelled on LondonR• 32 people attended

mangosolutions

Introduction to BaselR (Tillmann Krahnke, Mango AG)Graphing Pharma Data (Andreas Krause, Actelion)Graphics using ggplot2 (Yann Abraham, Novartis)

Web based R reporting (Charles Roosen, Mango AG)

Simple-R

Richard Pugh, [email protected] mangosolutions

Mango Training

• Intro to R• R for Developers• R for Finance• R for Pharmaceuticals

• Some public, mostly private

mangosolutions

Private Course

• Existing users of Excel (not programmers)• See that they can use R to replace Excel time• 2 days + 2 webinars:

– Import from CSV files– Manipulate Data– Fit Models– Produce Graphics

mangosolutions

Can we see some code?

mangosolutions

The Reaction

• Too complex• Not very approachable• What are all these $ signs and squared

brackets!

mangosolutions

The Course Design

• 2 days + 2 webinars:– Import from CSV files– Manipulate Data– Fit Models– Produce Graphics

mangosolutions

The Challenge: No $ or [ … ]

The Outcome

• 2 days + 2 webinars for users• Half day for “Super Users”• A new library for this company• A training course with no & or [ … ]

mangosolutions

The Code

mangosolutions

The Code

mangosolutions

The Code

mangosolutions

Comparison with SAS

• SAS Language– Low level: Macro Language– Procedural Language: proc something, data steps

• The R Language– Low Level: What we use?– High Level: Simple-R?

mangosolutions

Enough of that …

Richard Pugh, [email protected] mangosolutions

mangosolutionsRichard Pugh, [email protected]

Agenda6.00pm         Richard Pugh       

Introduction

6.15pm         Helen Thornewell   Introducing the Royal Statistical Society's Young Statisticians Section

6.50pm  Markus GesmannGetting started with integrating R and MS Office

7.25pm Patrick BurnsPortfolio Probe: Changing Fund Management

8.00pm John James Use of and Using R as on Object Oriented Language

8.30pm  Drinks and Networking

mangosolutionsRichard Pugh, [email protected]

Agenda

6.00pm         Richard Pugh       Introduction

6.15pm    Markus GesmannGetting started with integrating R and MS Office

6:50pm Patrick BurnsPortfolio Probe: Changing Fund Management

7.25pm John James Use of and Using R as on Object Oriented Language

8.00pm  Drinks and Networking