Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Write R code to upload the quantmod package and use the Google stock price starting from September 2021 until the latest you can get.

1. Write R code to upload the quantmod package and use the Google stock price starting from September 2021 until the latest you can get.
a.Produce time plot of the Google stockprice.
b.Produce forecast using exponential smoothing function.
c.Report the accuracy of the forecast model.
2. Illustrate principal components analysis with the help of R function/code snippet to get information about standard deviation, and eigenvectors and plot the percentage variation.
3. A specific user would like to organize a shiny app into two separate files:ui.R,consisting of the user interface elements of the app, andserver .R, contains the logic of the app, including code for loading and handling data. The code snippet for each of these files is given below. With appropriate justification, briefly describe the flow of the interface.
App 1: ui.R
library(shiny)
fluidPage(
titlePanel("Data science FTW!"), sidebarLayout(
sidebarPanel(
h3("Sidebar Text")
),
mainPanel(
h3("Main Panel Text")
)
)
)
App 1: server.R
library(shiny)
function(input, output){
}
4. Illustrate the following functionalities in R Markdown with suitable examples.
i. Yamlfrontmatter
ii. LoadingtheRmarkdownpackage
iii. RenderyourRmarkdownintoawebpage iv. DocumentviewinHTML
v. PDFcreation
5. Write a function to add a base layer to your interactive map and to sequentially add features to your map with appropriate syntax.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases And Information Systems 1 International Baltic Conference Dbandis 2020 Tallinn Estonia June 19 2020 Proceedings

Authors: Tarmo Robal ,Hele-Mai Haav ,Jaan Penjam ,Raimundas Matulevicius

1st Edition

303057671X, 978-3030576714

More Books

Students also viewed these Databases questions

Question

Draw a labelled diagram of the Dicot stem.

Answered: 1 week ago