Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ample, mydata. 1. Post a screen shot showing the dataset loaded into R. Command: mean() is a function for obtaining the mean of a data

image text in transcribed

image text in transcribed
ample, mydata. 1. Post a screen shot showing the dataset loaded into R. Command: mean() is a function for obtaining the mean of a data column. You can use mean by passing in the name of a data column. For example, you can use mean(mydata$mycolumn) for the dataset mydata that has a column called mycolumn. f 2. Use the mean function to calculate the mean for the budgeted pay rate. Post a screenshot. 3. Use the mean function to calculate the mean for the total budgeted amount. Post a screenshot. Command: summary( is a function for summarizing values in datasets. You can use the summary function to get summaries of values in the dataset. You can summarize the entire dataset by passing it into the function, ex. summary(mydatasetname) or summarize a specific column. summary(mydatasetname$mycolumn). Use the summary function 4. Show a screenshot with the summary for only the budgeted pay rate. 5. Show a screenshot with the summary for only the total budgeted amount Command: ggplot is used to create graphs. To use ggplot you must install and download the ggplot package. ggplot is in a package called ggplot2. To install packages you will use the install.packages( function. The install.packages() function takes the name of a package as an argument. ggplot is contained in the ggplot2 package. To install ggplot2 type install.packages("ggplot2") on the command line. Notice the quotes surrounding ggplot2. For string arguments, you must put quotes around the argument. Once ggplot2 is installed you need to load the ggplot2 library. To load a library use the library( function. The library function takes the name of a package not in quotes. This loads the package into memory for use. To load ggplot2 type library(ggplot2). Notice in this case it does not use quotes. This is because it is considered a variable not a string name

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

Principles Of Topology

Authors: Fred H Croom

1st Edition

0486810445, 9780486810447

More Books

Students also viewed these Mathematics questions

Question

licensure as a psychologist in the respective jurisdiction; and

Answered: 1 week ago

Question

What factors influence the communication process in teams? LO1.

Answered: 1 week ago