Recommended
PDF
PDF
PDF
Tokyor45 カーネル多変量解析第2章 カーネル多変量解析の仕組み
PDF
10分で分かるr言語入門 短縮バージョン 15-0117_upload用
PDF
Estimating the effect of advertising with Machine learning
PDF
「R for Cloud Computing」の紹介
PPTX
PDF
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations
More Related Content
PDF
PDF
PDF
Tokyor45 カーネル多変量解析第2章 カーネル多変量解析の仕組み
PDF
10分で分かるr言語入門 短縮バージョン 15-0117_upload用
PDF
Estimating the effect of advertising with Machine learning
PDF
「R for Cloud Computing」の紹介
PPTX
PDF
Featured
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations
Shinyで確率分布を学ぶアプリ作った。あるいは、ShinyでD3.jsを使う方法 1. Shiny 確率分布 学 作
、Shiny D3.js 使 方法
@ksmzn
Tokyo.R 第 45 回
January 17, 2015
@ksmzn Shiny 確率分布 学 作 January 17, 2015 1 / 23
2. 3. 4. 5. 「 確率分布
」 作 !
@ksmzn Shiny 確率分布 学 作 January 17, 2015 5 / 23
6. 7. 8. 9. Shiny ?
R Web
R Web 作
詳 、和田計也氏 資料 参考
@ksmzn Shiny 確率分布 学 作 January 17, 2015 9 / 23
10. 11. Shiny D3.js 使 方法
3 !
@ksmzn Shiny 確率分布 学 作 January 17, 2015 11 / 23
12. Shiny D3.js 使 方法
1. rCharts 使
最
2. d3Network 使
図
3. 直接D3.js 使
今回 使
@ksmzn Shiny 確率分布 学 作 January 17, 2015 12 / 23
13. rCharts 描
1 r e q u i r e ( shiny )
2 r e q u i r e ( rCharts )
3 ui <− shinyUI ( f l u i d P a g e (
4 headerPanel ( ” I n t e r a c t i v e Charts ” ) ,
5 sidebarLayout (
6 s id eb a rP a ne l (
7 s l i d e r I n p u t ( ”obs ” , ”Number of o b s e r v a t i o n s : ” ,
8 min = 10 , max = 500 , value = 100)
9 ) ,
10 mainPanel (
11 # r C h a r t s S h i n y 用 O u t p u t 関 数 使
12 showOutput ( ”myChart” )
13 )
14 )
15 ))
ui 部分
@ksmzn Shiny 確率分布 学 作 January 17, 2015 13 / 23
14. rCharts 描
1 s e r v e r <− f u n c t i o n ( input , output ) {
2 output $myChart <− renderChart ({
3 # Polychart . j s 作
4 df1<−data . frame ( y=round ( rnorm ( input $obs , 0 , . 5 ) ,
d i g i t s =2))
5 p1 <− r P l o t ( x = ” bin ( y , 0 . 1 ) ” , y= ” count ( y ) ” , data
=df1 , type=” bar ” )
6 p1$addParams (dom = ’ myChart ’ )
7 r e t u r n ( p1 )
8 })
9 }
10
11 shinyApp ( ui = ui , s e r v e r = s e r v e r )
server 部分
@ksmzn Shiny 確率分布 学 作 January 17, 2015 14 / 23
15. 16. rCharts 良
1. rCharts Shiny用 関数 用意
2. server.R 普通 rCharts
描 良
rCharts 最 !
@ksmzn Shiny 確率分布 学 作 January 17, 2015 16 / 23
17. 先 、
描画 時間
使 !!
@ksmzn Shiny 確率分布 学 作 January 17, 2015 17 / 23
18. 19. 直接 NVD3.js 使 、
Shiny Gallery 参考
http://shiny.rstudio.com/gallery/
nvd3-line-chart-output.html
@ksmzn Shiny 確率分布 学 作 January 17, 2015 19 / 23
20. 21. 22.