Free Essay

R Shiny App

In: Computers and Technology

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......

Words: 1883 - Pages: 8

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 Student Calendars. WEIGHTING OF COURSE |Deliverables are Individual Work......

Words: 3433 - Pages: 14

Premium Essay

Student

...build a community by outsourcing CLA Instagram film, Mercedes-Benz UK, has started a great campaign on Instagram recently, on May 2014, for the new CLA-class. Customers are allowed to make short film scene and present the car features by using #CLAstory. The winning participants will win a Canon 6D Digital SLR and the opportunity to drive CLA AMG Sport for a week. On March, 2014, for a better user experience, Mercedes-Benz has brought in its new C-class with the Apple application Car Play. This system enables consumers to be connected with their iPhones through screen dashboard. It is completely the same as they are using their iPhones. They can call, send messages, listen to music & iTunes Radio, and searching in Maps Apps in their cars. To get this App they need just to update the iOS 7 in iPhone5, 5s or 5c. It is a great step for Mercedes-Benz and for Ferrari as well, to be the first automakers who offer this system. Mercedes-Benz' product portfolio covers all the luxury market segments: Premium compact segment, Entry-level luxury/compact executive cars, Mid-luxury/executive cars, High-end luxury/full-size luxury cars, Ultra-luxury cars, and luxury SUV/Crossover, with price list. It provides the product variety and quality, style & design, and warranties, guarantees, and safety. Mercedes-Benz is positioning its offerings as a highly reliable and safe automaker which means a price premium as a result. When you buy Mercedes-Benz car, you buy more than a car......

Words: 3612 - Pages: 15

Premium Essay

Marketing

...sponsorship deals and advertising arrangements or even co-sponsored events. * By the second year Nocturnal will have reduced its startup costs. By aiming to make the maximum profit possible, Nocturnal will approximately gaining 45000 12 months – clear, measurable 3-4 objectives Long-term objectives * Since in the long run the opportunities are endless. Nocturnal has in mind to take this company as far as it can. * Nocturnal aims to expand its market during and after the third year of operating. Launching its service in other cities and towns but still stay with its target market of university students. * Lift the features of its brand app to a higher level by offering customers to buy mobile tickets. Mobile tickets can be purchased on the company’s website and consist of an ID. Entering the ID into the app allows the customer to do the check in on the shuttle with their mobile phone. This offers not only a more convenient purchasing process but allows customers also to avoid carrying on a huge amount of different bus and shuttle passes. * Expanding to more cities. This will generate costs but adding shuttles means also more customers and therefore more revenue. (Time table in the Appendix) A Time table will be provided in Appendix…………………… 1st year spent 195275/ 200000 gaining 180000 = 20000 2nd year spending 135000 gaining 45000 40000 in advertising per year 2-5 years 2-3 objectives For both economic (unit, profit, revenue, money......

Words: 5595 - Pages: 23

Premium Essay

Product Development

...make the consumer forget that a core is even attached to the product. Justification With the advent of smart watches and activity trackers, wearables have become mainstream. Most consumers have had experiences using wearables to track physical progress in one form or another. The wearables market is expected to skyrocket, yet there is plenty room for improvement, particularly as it pertains clothing. While the focus has and should remain heavily on the technology, experts agree that product design is key when trying to expand the consumer base in order to achieve rapid growth and commercial success (Kalinauckas, 2015). Take, for instance, the Apple Watch. Taking into account that it flies off the shelves much like any other shiny and new Apple product, note that much research and development was put into the product’s design. The same can be said for upgrades to iterations of the Fitbit or the Jawbone. As the wearables industry continues to evolve, more emphasis has been placed not only on how product offerings can be improved from a technological standpoint, but also how products can be created to aesthetically appeal to the average consumer. When consumers think “wearables,” most think of devices that can be worn on the wrist, like the ones mentioned above. It is estimated that 9 out of 10 wearable devices worn in 2015 were wrist wearables (Statista, 2015). While the wrist wearable market is saturated, offering a myriad of devices hitting different......

Words: 5122 - Pages: 21

Premium Essay

Kurkure

...the film to be in colour and with improved sound, the movie, feels Sridhar, has been made more contemporary. "Even the younger audience have watched it and therefore it enjoys top-of-mind recall," he says. So Salim and Anarkali in colour have received much wider attention than the original black and white release of 1960. Sridhar adds that the characters out of the movie were a perfect fit for the communication, which focused on value pricing. Amit Jatia, managing director, McDonalds, Western India, says that the most popular films of the actors were chosen for the campaign and currently viewers identify Dilip Kumar from Mughal-e-Azam. Similarly Anarkali fit the bill when it came to Kahaani Main Kurkure Hona Chahiye tag line of Kurkure. R Rajesh, category marketing manager, Frito Lay says that the movie became a great platform as the company wanted to communicate a new improved product.  "There was a perfect fit for the product with the movie with the core thought being Purani Kahaani Main Naya Kurkure," explains Rajesh.  Creatives have always taken various characters out of Bollywood and used them to communicate to the viewers. So actors like Ajit, Rajnikant and Dev Anand have been impersonated on television, but when it came to creating spoofs on a movie, Sholay has only just begun to face competition. Anuja Chauhan, senior creative director and associate VP, JWT, which handles Kurkure, says Mughal-e-Azam is like Sholay, where the scale is sweeping and the......

Words: 18723 - Pages: 75

Premium Essay

Marketing

...of capital and therefore to what extent a business grows and expands. Exchange rates affect the costs of exporting goods and the supply and price of imported goods in an economy. Social factors include the cultural aspects and include health consciousness, population growth rate, age distribution, career attitudes and emphasis on safety. Trends in social factors affect the demand for a company's products and how that company operates. For example, an aging population may imply a smaller and less-willing workforce (thus increasing the cost of labor). Furthermore, companies may change various management strategies to adapt to these social trends (such as recruiting older workers). Technological factors include technological aspects such as R&D activity, automation, technology incentives and the rate of technological change. They can determine barriers to entry, minimum efficient production level and influence outsourcing decisions. Furthermore, technological shifts can affect costs, quality, and lead to innovation. The SWOT analysis includes the strengths, weaknesses, opportunities and threats for the external and internal analysis for the company. A SWOT analysis can be used to condense the analysis into listing the most relevant problems and opportunities and to assess how well the firm is equipped to deal with them. The four elements of the SWOT analysis basically include: * Strengths: characteristics of the business or project that give it an advantage over......

Words: 4953 - Pages: 20

Premium Essay

Askdjfkasdfj

...business section. It gets more exciting. I promise. 11 DottedMusic.com | Written by Ben Brown 10 truths about making it in music 2. Reader’s Wives' Niall James: "No point in being good at music, and no good at business’." The digital age really is awesome for independent artists. It has opened up so many opportunities that just weren’t available before the internet came along. As I mentioned in the first chapter, artists now have more control over their music and have more revenue streams than before. Sweet. However it does mean that you have to do a lot more yourself and this means having a good business head. In the past there was a chance you could get lucky and sign a record deal on the back of a decent demo with an A&R guy who saw potential in you. They’d take care of all the necessary boring business bits and leave you to get on with being awesome at music. Enter the digital age. Now record labels are broke and control only a portion of your entire income. This means that you need to get your band off the ground on your own, which means starting to make some money, start distributing your own music and putting on your own gigs. You need to come up with innovative and creative ways to get your music out there. With more music available and more outlets for it than ever before, you’re competing with a much bigger pond of fish. You need to be a good business person to get ahead and get on the radar of important music people. The first step is just......

Words: 12348 - Pages: 50

Premium Essay

Diamonds as an Alternative Investment

...review of past studies served as a basis for identifying the appropriate variables for the statistical testing. It should be stressed that most of the publications belong to experts rather than academics and lack sufficient evidence. For instance, investment bankers based their opinions on economical knowledge about the industry structure, identifying the monopoly power of DeBeers as a main driver for prices on the market (Harris A., 2011). To fill the gap with sufficient quantitative analysis in this field, literature review is supported by the empirical evidence. History of diamonds The history of the most recognizable gemstone comes from the first millennium Before Christ (B.C.) when people have begun to acquire the polishing skill (Duthy R., 1978). The beauty of the stone still fascinates men and women all over the world. Diamond originates from the Greek vocabulary and means to control or tame (adamant in Greek) (Sarkis J. Khoury, 1990). It has, therefore, always been seen as a symbol of power that created respect to the owner as well as the sense of fear. In practice a diamond has no real value as it is formed from the crystallized pure carbon – the cheapest substance known (Mineral Guide, 2011). In a solid state it is also the hardest material on earth. As a result this precious gem has served for various purposes in the history. In addition to being a symbol of purity, love and power, high-quality diamonds were used in medicine in a form of a powder and as a polish......

Words: 19903 - Pages: 80

Premium Essay

Gre Wordlist

...themselves on their enemy. state confidently; declare as true reluctant; disinclined; not liking or opposed; Ex. averse to cats/doing the house work firm dislike prevent; avoid; turn away (eyes or thought); Ex. An accident was averted by his quick thinking; Ex. She averted her eyes from the terrible sight. enclosure for birds; large cage greedy; extremely eager for; Ex. avid learner; N. avidity secondary or minor occupation declare openly; N. avowal of or like an uncle solemn wonder; feeling of respect mixed with wonder and fear; V: fill with awe; ADJ. awesome terrible; very bad pointed tool used for piercing distorted; crooked; bent; Ex. Our plans have gone awry. self-evident truth requiring no proof sky blue A B C D E F G H I J K L M N O P Q R S T U V W X Y Z TOP Barron GRE word list - B babble bacchanal bacchanalia chatter idly or foolishly; make continuous sounds like water running gently over rounded stone; N. noisy party with a lot of drinking the ancient Roman festival in honor of Bacchus bacchanalian backslide backwards drunken revert (to bad habits); N. reverter and forwards; Ex. reciprocate his invitation by inviting him; N. reciprocity: reciprocal relationship; mutual interchange of advantages between two groups; Ex. reciprocity in trading rights pester; annoy continually with demands; persuade by asking again and again; Ex. The children badgered me into taking them into the cinema; N: a kind of mountain animal teasing conversation; banter; joking talk......

Words: 52370 - Pages: 210

Premium Essay

Leadership

...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 CHAPTER 1 WHO IS A LEADER AND WHAT SKILLS DO LEADERS NEED? 3 OPENING CASE APPLICATION Although he has been described as “hyperkinetc” and “a tough negotiator,” he isn’t your typical CEO yet. That is part of his charm. He’s not used to talking about himself, and said “it feels strange.” “I just like to build things and do things.”4 Headquarters in Chicago is a large open room with row upon row of shiny white desks without cubical walls, and Mason’s desk, no different from any other, is in the middle of the hubbub.5 OPENING CASE QUESTIONS: 1. Why is Groupon so successful? We begin each chapter by introducing an exceptional leader and company, followed by some questions for you to answer, and we answer the questions throughout the chapter. At age 29 Andrew Mason became the founder and CEO of Groupon (the name is a combo of group and coupon), a Chicago-based Web site. Launched in November 2008 during the recession, Groupon features a daily deal on the best stuff to do, see, eat, and buy in more than 500 markets and 44 countries in local markets across North America and regional offices in Europe, Latin America, Asia, and throughout......

Words: 21932 - Pages: 88

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......

Words: 75126 - Pages: 301

Premium Essay

Global Brand

...Samsung is now the world’s most profitable smartphone manufacturer, Google has expanded Android and its maps still seem to be the “preferred” route, and Windows Phone 8 certainly raised more than a few eyebrows. Apple reached a financial pinnacle in 2012 when it became the most valuable company of all time. The peak value was not sustained, however, but the brand’s financial performance in 2012 was even stronger than 2011 and, on a product and popularity basis, Apple continues to whet appetites for more. Today, there are 72 million Macs in use, and in the last five years, Mac sales have grown an average of 15 percent annually, compared to an average of three percent a year for the PC market as a whole. The iTunes App Store, which turned five this year, has crossed the 50 billion app download mark and the brand’s trendsetting retail stores (research company RetailSails) are performing 17 times better than any other physical retail store—a fact which seems to justify the trademark Apple received for its distinctive design and layout earlier this year. With the customer at the nexus of everything it does, Apple continues to respond to emerging needs, improve its products, and break new ground in design and performance. The next Mac OS X, Mavericks, promises to keep users’ digital lives flowing seamlessly from device to device, and the new MacBook Air boasts “all day” battery life. Living up to the brand’s iconic “Think Different” campaign, Apple’s designers and engineers reimagined......

Words: 44781 - Pages: 180

Premium Essay

Interbrand-Best-Global-Brands-2013-Report

...now the world’s most profitable smartphone manufacturer, Google has expanded Android and its maps still seem to be the “preferred” route, and Windows Phone 8 certainly raised more than a few eyebrows. Apple reached a financial pinnacle in 2012 when it became the most valuable company of all time. The peak value was not sustained, however, but the brand’s financial performance in 2012 was even stronger than 2011 and, on a product and popularity basis, Apple continues to whet appetites for more. Today, there are 72 million Macs in use, and in the last five years, Mac sales have grown an average of 15 percent annually, compared to an average of three percent a year for the PC market as a whole. The iTunes App Store, which turned five this year, has crossed the 50 billion app download mark and the brand’s trendsetting retail stores (research company RetailSails) are performing 17 times better than any other physical retail store—a fact which seems to justify the trademark Apple received for its distinctive design and layout earlier this year. With the customer at the nexus of everything it does, Apple continues to respond to emerging needs, improve its products, and break new ground in design and performance. The next Mac OS X, Mavericks, promises to keep users’ digital lives flowing seamlessly from device to device, and the new MacBook Air boasts “all day” battery life. Living up to the brand’s iconic “Think Different” campaign, Apple’s designers and engineers reimagined the......

Words: 44812 - Pages: 180

Premium Essay

Sap Netweaver for Dummies

.................................................319 A staged approach via Web services ..............................................321 Chapter 20: SAP R/3 and Then Some . . . . . . . . . . . . . . . . . . . . . . . . . . .323 The Flexible, Extensible Rag .....................................................................323 The Integration Two-Step ...........................................................................324 Making the choice .............................................................................324 Wait a minute, it’s not that easy . . . ................................................325 xv xvi SAP NetWeaver For Dummies The Envelope, Please: It’s SAP NetWeaver (You Peeked!) ......................326 Each piece plays a role .....................................................................327 Hitting the highlights ........................................................................328 Software Integration: It’s a Staged Process ..............................................329 Step 1: Turning on R/3 functionality ...............................................330 Step 2: Moving toward the overall solution ...................................330 Step 3: Building on a framework ......................................................331 Where Is SAP NetWeaver Taking R/3? .......................................................331 Chapter 21: Making Sense of Data: Analytics and Reporting . . . . . .333 Business Drivers...

Words: 135708 - Pages: 543