Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful...
Transcript of Zurich Meetupfiles.meetup.com/16175222/Zurich_Meetup_20140915... · Why KNIME and R? 2 Powerful...
Copyright © 2014 KNIME.com AG
Zurich Meetup
Copyright © 2014 KNIME.com AG
Why KNIME and R?
2
Powerful statistics
Leading edge algorithms
Powerful/flexible graphics
Widely accepted language
Intuitive graphical programming
Strong Extract-Transform-Load
Integrates many tools
Enterprise grade solutions for deployment
Open source analytics
Vibrant communities
Cross platform
R KNIME
Copyright © 2014 KNIME.com AG
Integration details
3
• Moved to “Core” in KNIME 2.10.
• Bridge based on rJava and JRI http://cran.r-project.org/web/packages/rJava/index.html
• Can be used with bundled or external R
integrations
Copyright © 2014 KNIME.com AG
The Interactive Editor
4 4
Columns
Variables Code Editor
Workspace Overview
Console
Copyright © 2014 KNIME.com AG
Code templates
5 5
Preview
List
Summary
Copyright © 2014 KNIME.com AG
Metanodes
6 6
Copyright © 2014 KNIME.com AG
R Nodes in KNIME
7
• Different input and output options
• Grey ports enable workspace branching
Copyright © 2014 KNIME.com AG
Nodes: R Source
8 8
• Get data from an R data frame
• Assign output to a data frame
named knime.out
• Use with foreign, RCurl, or ...
Copyright © 2014 KNIME.com AG
Node: R Snippet
9
• Generic data manipulation
• Edit tables or workspaces
• Derive knime.out from knime.in
• Use for cumulative stats, plyr, or ...
Copyright © 2014 KNIME.com AG
Node: R Snippet
10
• Use R models in KNIME
• Learner (knime.model) & Predictor motif
• R to PMML support for model portability
Copyright © 2014 KNIME.com AG
Nodes: R View
• Generic R plots
• Plot(knime.in)
• Use with many packages including ggplot2
Copyright © 2014 KNIME.com AG
Example 1: Choropleth of KNIME Downloads
Copyright © 2014 KNIME.com AG
Example 2: Dose-Response modeling