Free Essay

R Shiny App

In:

Submitted By fadexrocks
Words 364
Pages 2
26 BE 9063: Computing with R: Shiny
Fall, 2015
MB Rao & Cole Brokamp
Lecture 1: Introduction to the Shiny
Shiny is an R package. Its purpose is enable one to develop an appropriate app fitting the requirements. The package has 11 built-in examples. In our first meeting, we will discuss one such an example.
App 1: Plot a histogram with flexible number of bins under control.
The display panel will have two sections. One section will have a slide bar, which you can use to control the number of bins. The other section will have the histogram which will respond instantaneously to your setting number of bins. The app is used on the ‘old faithful’ data.
Old faithful is a warm water geyser in the Yellowstone National Park in the mid-west. The geyser erupts for a certain length of time and then becomes dormant for a certain length of time. This cycle of eruption and dormancy continues day and night. Someone collected data of these times and published. Let us watch the eruption, if any, live.
Look at the data.
> data(faithful)
> dim(faithful)
[1] 272 2
> head(faithful) eruptions waiting
1 3.600 79
2 1.800 54
3 3.333 74
4 2.283 62
5 4.533 85
6 2.883 55
Interpretation of the data:
> hist(faithful[ , 2], col = "darkgray", xlab = "Waiting Time between Eruptions",
+ ylab = "Frequency", main = "Waiting Times Between Eruptions of Old Faithful")
> summary(faithful) eruptions waiting Min. :1.600 Min. :43.0 1st Qu.:2.163 1st Qu.:58.0 Median :4.000 Median :76.0 Mean :3.488 Mean :70.9 3rd Qu.:4.454 3rd Qu.:82.0 Max. :5.100 Max. :96.0
Comments:
1. The distribution is bi-modal.
2. Average waiting time is: 70.9 minutes.
3. The number of bins is: 13.
4. The code uses a default formula for the number of bins.
5. One can set the number of bins in the ‘hist’ code and modify the histogram accordingly.
6. The App 1 facilitates instantaneous modification of number of bins.

Let us look at the histogram produced by App 1.

Similar Documents

Free Essay

Sf Zgg

...12/11/12 Why Apple Had To Release Its Terrible Maps App Now - Forbes Shel Israel, Contributor W rite r. C onsultant. Spe ak e r. Pre se ntation C oach. Nice guy. T EC H | 9/29/2012 @ 2:32PM | 80,328 vie ws Why Apple Had To Release Its Terrible Maps App Now Apple Maps is the worst-received new product to come out of Cupertino since the 1993 launch of the Newton, its first touch-screen device. Maps is the child of a nasty divorce between two of the world’s most powerful companies, and it has many industry observers trying to understand how Apple could enter the mobile maps market so late with a product that is so bad. see photos theamazingios6maps.tumblr.com C lick for full photo gallery: Those Terrible iOS 6 Maps There have been several partial answers, most of them coming from people like me who have no real access to inside information to two of the most tight-lipped technology companies of the Conversational Age. All Things D seems to have been among the few with any real access. It reported that Apple decided to make its own maps after it ran into a dispute with Google over voice-guided directions. The result is not without irony. The recently released Apple maps does indeed provide voice-guided directions, but they seem more likely to guide you off a bridge as to get you where you want to go. Consensus is pretty universal that Apple Maps are inferior, not just to Google maps, but to every other mobile map you can think of. People wonder why Apple didn’t...

Words: 1883 - Pages: 8

Premium Essay

Student

...As the founder of the automotive industry, Mercedes-Benz has established and maintained a great brand image in the people's minds where it has reached the top of the pyramid, the resonance as a classical prestigious car in terms of durability, high performance, innovation, premium of engineering, as it has invented the first engine. It has a high reputation, goodwill, and customer loyalty as its focus is on customer service, satisfaction and give them the sufficient and efficient value that they deserve, which led to a high brand recognition. The three-pointed star trademark reflects the ambition and determination of Mr. Daimler, the inventor, who wanted to show that his motors are suitable for 'land, water and air'. It uses a communication approach which tells their story of innovation, "One day this star will shine over our triumphant factories" he said. It has many core values which distinguish it from its rivals, like, integrity. It is known for taking very clear, steady and honest actions, and abiding by great ethical standards. Also collaboration; it's supporting team work and gives its employees great encouragement and boost morale, also monetary support, so they give their best to achieve the corporation's goals. Moreover, it empowers them to take risks and initiatives for better future. Moreover, trust and safety which are provided for employees and customers. Strengths | Weaknesses | * High brand equity. * Powerful brand name & recognition. *  Blue...

Words: 3612 - Pages: 15

Premium Essay

Adms

...032 REQUIRED COURSE TEXT/READINGS: • Hall, James A., (2011), Information Technology Auditing, 3e, Mason: South-Western Cengage Learning (Referred to as “IT Audit Text” in the Readings List for each class) • Additional material as listed in the course outline. This includes articles referenced by links, readings from books that were required for prerequisite courses, cases and assignment details posted on our web site. • CICA Assurance Handbook, as available online from York University library, (referred to as “Handbook” in the Readings List for each class). Selected readings are from: [Note this book is available on reserve at the business library in the Schulich building if you do not have a copy.] • Arens, A., R. J. Elder, M. S. Beasley and I. B. Splettstoesser-Hogeterp. 2011. Auditing: The Art and Science of Assurance Engagements, Canadian 11th Edition, Pearson Prentice Hall: Toronto. (Referred to as “Audit Text” in the Readings List) References for the 12th Canadian edition of the Audit text (as an alternative to the 11th edition) will be provided separately as a document on the course web site. Warnings: Photocopying more than 10% of a textbook is illegal, and may involve penalties. Do not duplicate textbooks or obtain these photocopies. Students are reminded of York University’s policy regarding academic dishonesty as outline in the York...

Words: 3433 - Pages: 14

Premium Essay

Marketing

...Allen Tiffany – Segment Manager B & D Decarli Giulia –Segment Manager H McIntyre Brady – Segment Manager A & J Putnam Travis – Segment Manager F & G Treyer Mirjam – Segment Manager I Virgo Adam – Segment Manager C & E Table of Contents Executive Summary 3 Current Market Situation 4 Market Description 4 Product Review 4 Competitive Review 4 Channel logistic 4 SWOT Analysis 5 Objectives and Issues 6 Short-term objectives 6 Long-term objectives 6 Marketing Strategy 7 Positioning 7 Product Strategy 7 Price 7 Distribution Strategy 7 Marketing Communication Strategy 8 Marketing Research 11 Marketing Organization 11 Action, Budget and Controls 12 Action 12 Budget 12 Control 12 Appendix 13 APA References 14 Executive Summary (whole story in 1 page, NOT Introduction) Current Market Situation Market Description Growth and Size Product Review Main Features Nocturnal it a bussing transportation service that will provide consumers, mainly students, with a safe guaranteed ride to the three main clubs in Lethbridge: Studio, Pulse and Boss Hogs. As well as return them to the University to provide the most convenience for our consumers. This service will be much more affordable and convenient than other current transportation services in the market, such as taxis and city bus transportation. This service fulfills the needs of its customers by providing safe guaranteed rides to and from the club at very reasonable...

Words: 5595 - Pages: 23

Premium Essay

Product Development

...Team 1 : Product Development Work Plan Smart Technology: Fitness Apparel [pic] Karene Brown Phillip Bryant Adran Reid Derek Terrell Danyelle Thomas Teri Wiltcher Executive Summary Acquity Consulting Group set out to assist our client, Athos Technology, with increasing their market share in the fitness industry. Athos Technology has developed wearable smart clothing with the distinct ability to measure muscle activity through the use of EMG sensors embedded in the clothing. The company currently offers a limited number of items in its men’s and women’s lines. Through analysis of the fitness apparel and wearable technology markets, we found that there was a clear void in the market that Athos would be uniquely positioned to fill. We found that the wearable technology market is on the rise, with profits expected to reach over $11bn by 2020. Taking a closer look at what drove sales in the fitness apparel industry, we concluded that our client could see increased sales if they introduced a line of full-length compression smart pants. Additionally, given the role that the fusion of fashion and function has played in the growth of the fitness apparel market, we recommended that our client pay particularly attention to the design of the leggings for both male and female consumers. Interviews and surveys were conducted to ascertain an appropriate price point for this product and it was determined that Athos should price the leggings at $175...

Words: 5122 - Pages: 21

Premium Essay

Marketing

...Implementing situation analysis to identify marketing opportunity For a marketer, the most important aspect of marketing management is to analyze the recent and changing trends in the market, conduct a situational analysis and meet the demands of their consumers. Trend Analysis is the practice of collecting information, analyzing it and them attempting to spot a pattern or ‘trend’ in the information. After spotting the trend in the information, marketers follow it to come up with ideas in order to meet the demands of what their consumers want. Trend analysis is used to predict future events based on events happening in the present or the past. While conducting a trend analysis, marketers are actually conducting a situational analysis. A situation analysis, according to the American Marketing Association (AMA), is “the systematic collection and study of past and present data to identify trends, forces, and conditions with the potential to influence the performance of the business and the choice of appropriate strategies.” The situation analysis involves a thorough review of the industry, the market and the marketer’s competition. A thorough analysis of the situation in which the firm finds itself serves as the basis for identifying opportunities to satisfy unfulfilled customer needs. In addition to identifying the customer needs, the firm must understand its own capabilities and the environment in which it is operating. The situational analysis can be viewed as the analysis...

Words: 4953 - Pages: 20

Premium Essay

Kurkure

...Pepsi nuts over new nut snack Chaitali Chakravarty, ET TEAM Nov 21, 2001, 10.02pm IST enthused by the profits that fritolay has generated, parent pepsi, is adding more to its snackfood subsidiary. the company is set to roll out a new nut-based snack, nutyumz, nationally. also, plans are afoot to eventually drop lehar from the lehar kurkure brand. sources said that lehar kurkure has been earning a substantial amount for fritolay (it accounts for more than one-third of its total turnover) and it is about time to market it under the kurkure brand alone. sources said that nutyumz will be launched in different flavours. the brand has been innovated for the indian market alone. besides india, mexico is the only other market where pepsi is selling nut-based snacks under a different brand name. in india, nutyumz will be manufactured in the company-owned plant in pune. the fritolay spokesperson confirmed the launch of new brand. sources said pepsi is gung-ho about fritolay as the subsidiary has been making some money, it ended the year 2000 with a rs 4 crore profit, up from rs 3.04 crore earned in the year ending 1999. pepsi's idea is to create new categories to suit indian tastes and pump up the profit figures by at least rs 2 crore by the end of 2002. sources said that after pepsi acquired uncle chipps, it got within its fold an entire constituency. lays and uncle chipps together earn the maximum (around 50 per cent) for fritolay, while cheetos and lehar namkeen are still on the...

Words: 18723 - Pages: 75

Premium Essay

Askdjfkasdfj

...10 truths about making it in music This report is free and does not contain affiliate links. Feel free to share it with the world under the terms of Creative Commons Attribution 3.0 License. 2011 Dotted Music Written by Ben Brown. Layout by logical. Concept by Andrew Apanov. DottedMusic.com | Written by Ben Brown 3 10 truths about making it in music Foreward. What do you do when you seek for useful advice or inspiration in something you are passionate about and want to succeed in? One of the most obvious answers (if you are not a member of a suicide club) is probably this - you listen to people who have already "made it" in your craft. And in such a sleazy and poorly documented industry as music business, you better use this advice in full. This was what I thought while thinking on a concept for the first Dotted Music ebook few months back. On the blog, we've got lots of fantastic quotes from successful musicians, and pretty diverse I must say - from Anthrax guitarist to frontman of OK Go, there are very different sayings. So, the idea was born: to collect ten exceptional quotes and build a story around them. Why the story? Well, there is one problem about musicians, specifically when they speak... With the vague nature of most artistic people, their expressions are often pretty generic. To correct this misunderstanding, we took risks to expose the ten chosen quotes of musicians, who indeed have "made it" in the music industry, and create a free ebook worth...

Words: 12348 - Pages: 50

Premium Essay

Diamonds as an Alternative Investment

...| Are diamonds investor’s best friend? | Study on polished diamonds as an alternative investment. | | Presented by:Daria GoldobinaStudent number:080006193Supervised by:Anh L. TranIn partial fulfilment of the:BSc Business Studies, Cass Business SchoolDate:24th March 2011I certify that I have complied with the guidelines on plagiarism outlined in the Course Handbook in the production of this dissertation and that it is my own, unaided work.Signature:__________________________________________ | | This work is dedicated to the memory of my beloved grandfather Ivan Smolin. He was a sweet, kind and sensitive man who devoted his life to studying precious stones and metals. He enriched my life with passion to beauty. If God wanted us to bend over he'd put diamonds on the floor Joan Rivers Contents Acknowledgements 3 Executive summary 7 I Introduction 10 Ground for discussion 10 Objectives 10 Methodology 11 II Literature review and hypothesis development 12 Overview 12 Introduction 12 History of diamonds 12 Industry structure 13 DeBeers cartel 15 Diamond valuation 16 Diamond valuation process 16 Determinants of diamond prices 18 Diamond as an investment 19 Types of investment 19 Problems associated with investing in diamonds 20 Benefits associated with investing in diamonds 20 Alternatives to investing in diamonds 23 Hypothesis development 25 III Methodology 26 Data collection 26 Primary research 26 Secondary...

Words: 19903 - Pages: 80

Premium Essay

Interbrand-Best-Global-Brands-2013-Report

...Best Global Brands 2013 Table of Contents JEZ Leadership is evolving. It must now be shared. CEOs, CMOs, and consumers all have the power to drive brand value. Brands are where business strategy meets reality. GINNI The New Rules of Brand Leadership 2 From Information to Intelligence 82 Best Global Brands 2013 Sector Leadership 86 BISH 10 Creative Leadership 70 Methodology 120 China’s New Brand Leaders 74 Contributors 126 Corporate Citizenship 2.0 78 MARK CHIEKO The New Rules of Brand Leadership By Jez Frampton In our globalized, hyperconnected age, one question persists in boardrooms, corner offices, business schools, and conferences all over the world: What is leadership and how has it changed in the 21st century? Driven by rapid technological advancement, the digitization of nearly everything, and the ever more intricate interdependencies of the global market, the business landscape has transformed over the past two decades. Operating in a bewildering new environment in which little is certain, the pace is quicker and the dynamics more complex. Those who lead today’s brands can no longer rely on once immutable truths or principles of leadership honored in times past. It is a new world. And as purchasing increasingly shifts from a physical experience to a virtual one and transaction-based interactions between brands and consumers shift to relationship-based interactions, new skills and sensibilities are needed. Leadership...

Words: 44812 - Pages: 180

Premium Essay

Global Brand

...Best Global Brands 2013 Table of Contents JEZ Leadership is evolving. It must now be shared. CEOs, CMOs, and consumers all have the power to drive brand value. Brands are where business strategy meets reality. GINNI The New Rules of Brand Leadership 2 From Information to Intelligence 82 Sector Leadership Best Global Brands 2013 10 86 BISH Methodology Creative Leadership 70 120 Contributors China’s New Brand Leaders 74 126 Corporate Citizenship 2.0 78 MARK CHIEKO The New Rules of Brand Leadership By Jez Frampton In our globalized, hyperconnected age, one question persists in boardrooms, corner offices, business schools, and conferences all over the world: What is leadership and how has it changed in the 21st century? Driven by rapid technological advancement, the digitization of nearly everything, and the ever more intricate interdependencies of the global market, the business landscape has transformed over the past two decades. Operating in a bewildering new environment in which little is certain, the pace is quicker and the dynamics more complex. Those who lead today’s brands can no longer rely on once immutable truths or principles of leadership honored in times past. It is a new world. And as purchasing increasingly shifts from a physical experience to a virtual one and transaction-based interactions between brands and consumers shift to relationship-based interactions, new skills and sensibilities are needed. Leadership roles...

Words: 44781 - Pages: 180

Free Essay

Social Media

...to De Ta ve lo ct an pY dT ou ip s rB us i O n nes lin s e ics Media 101 hr r Yo The Social is B r r og an ng au th or of C N k e A im s t T u ts s e s e nt b g s li el T ew Praise for Social Media 101 “Dismissing social media is not an option, but neither is recruiting a small army of consultants to move your business forward. If you need a crisp view of what’s relevant and how to implement what’s measurable and meaningful today do not miss Social Media 101. Chris Brogan has clearly established himself as the “Social Media Compass” for the rest of us. By the time you finish reading this sentence, there’s something new to tweet about, but you can count on Chris to keep you headed in the right direction.” —Beth Dockins Director, Customer Service, Scotts “Social media is a new and fascinating playground for the complexities of human nature. Chris Brogan understands social media because he puts in the time—observing, understanding, and most importantly, taking action in ways that work.” —Brian Clark Owner/Publisher of Copyblogger.com “Social Media 101 is packed full of the kind of actionable information I wish I’d had starting out in the game.” —Darren Rowse Publisher of Problogger.net “It’s terrific to see Chris Brogan capturing so many of his thoughts on social media in one resource. He’s a person who I follow just for that reason. He offers clever insights and is always at the front of the learning...

Words: 75126 - Pages: 301

Premium Essay

Leadership

...Licensed to: CengageBrain User Licensed to: CengageBrain User This is an electronic version of the print textbook. Due to electronic rights restrictions, some third party content may be suppressed. Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. The publisher reserves the right to remove content from this title at any time if subsequent rights restrictions require it. For valuable information on pricing, previous editions, changes to current editions, and alternate formats, please visit www.cengage.com/highered to search by ISBN#, author, title, or keyword for materials in your areas of interest. Copyright 2012 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Due to electronic rights, some third party content may be suppressed from the eBook and/or eChapter(s). Editorial review has deemed that any suppressed content does not materially affect the overall learning experience. Cengage Learning reserves the right to remove additional content at any time if subsequent rights restrictions require it. Licensed to: CengageBrain User Leadership: Theory, Application, & Skill Development, Fifth Edition Robert N. Lussier, Christopher F. Achua Vice President of Editorial, Business: Jack W. Calhoun Publisher: Erin Joyner Acquisitions Editor: Scott Person Senior Developmental Editor: Julia Chase Marketing Manager: Jonathan Monahan Marketing Coordinator:...

Words: 21932 - Pages: 88

Premium Essay

Sap Netweaver for Dummies

...SAP NetWeaver ® ™ FOR DUMmIES ‰ by Dan Woods and Jeff Word SAP NetWeaver ® ™ FOR DUMmIES ‰ by Dan Woods and Jeff Word SAP® NetWeaver™ For Dummies® Published by Wiley Publishing, Inc. 111 River Street Hoboken, NJ 07030-5774 Copyright © 2004 by Wiley Publishing, Inc., Indianapolis, Indiana Published by Wiley Publishing, Inc., Indianapolis, Indiana Published simultaneously in Canada No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Legal Department, Wiley Publishing, Inc., 10475 Crosspoint Blvd., Indianapolis, IN 46256, (317) 572-3447, fax (317) 572-4447, e-mail: permcoordinator@ wiley.com. Trademarks: Wiley, the Wiley Publishing logo, For Dummies, the Dummies Man logo, A Reference for the Rest of Us!, The Dummies Way, Dummies Daily, The Fun and Easy Way, Dummies.com, and related trade dress are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates in the United States...

Words: 135708 - Pages: 543

Premium Essay

Gre Wordlist

...Barron GRE word list - A abase abash abate abbreviate abdicate aberrant aberration abet abeyance abhor abide abject abjure ablution abnegation abode abolish abominable abominate aboriginal abortive abrasive abridge abrogate abscission abscond absolute absolve abstain lower; degrade; humiliate; make humble; make (oneself) lose self-respect embarrass subside or moderate shorten renounce; give up (position, right, or responsibility) abnormal or deviant deviation from the normal; mental disorder assist usually in doing something wrong; encourage suspended action detest; hate Dwell; abide by: comply with; put up with; tolerate; Ex. abide by the rules; Ex. I can't abide rude people. (of a condition) wretched; as low as possible; lacking pride; very humble; showing lack of self-respect; Ex. abject apology renounce upon oath washing renunciation; self-sacrifice; self-abnegation dwelling place; home cancel; put an end to detestable; extremely unpleasant loathe; hate being the first of its kind in a region; primitive; native; indigenous; N. aborigine unsuccessful; fruitless rubbing away; tending to grind down condense or shorten abolish cutting off; separation depart secretly and hide complete; totally unlimited; having complete power; certain; not relative; Ex. absolute honesty/ruler; CF. absolutism pardon (an offense) refrain; withhold from participation; intentionally not use one's vote; abstemious abstinence abstract abstruse abusive abut abysmal abyss academic accede accelerate...

Words: 52370 - Pages: 210