Question

Hello my name is Nartlada, i would like to know how can i create the histograms...

Hello my name is Nartlada, i would like to know how can i create the histograms from the number of the excel file. The question is asking "create histograms illustrating the distributions of the two temperature variables (T1 and T2). correctly the label the x and y axes and give your plot title. We are required to use R program that include the set working directory. I tried to drag the excel file to here or even drag just the table information because all the questions that i have are depend on these files.However, it's not allowed me since it said that my question is too long. Can you please give me some suggestions on how can i deal with it. Thank you so much.

Homework Answers

Answer #1

The first step is to recall the excel file data in to R by the code,

d=read.csv(file.choose())

d

Then run this we can see a dialogue box in the taskbar below

Click on it and select which data you need to export into R.

Then in order to plot the histogram of the corresponding data d,use the code

H= hist(d,main="title name", xlab=" name of variable in x axis", ylab=" name of the variable in y axis", probability="TRUE")

H

Probability = "TRUE" for plotting the distribution

Xlab and ylab for labelling the axes names.

I believe that you got the clarification, if any doubts please ask in the comment section.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Hello, in my programming class we have to create a function that will receive a time...
Hello, in my programming class we have to create a function that will receive a time in units of seconds and must return the equivalent time in units of hours-minutes-seconds. The function must also be called from main. I have attached what I have so far if someone could help me finish it that would be great.   int convert(void); int main() {    int time;    time = convert();    printf("Hour:Minute:Seconds is %d\n", time);       return 0; } int...
The course is server management and I am using FREEBSD Create a folder off the root...
The course is server management and I am using FREEBSD Create a folder off the root that can be used for the backed-up files. You will need to use root to create this directory. Set the user and group for this directory to the account that you normally log in to. Create a cron process that will run every thirty minutes and copy the complete contents, including directories and their contents, to the backup location. The copy command should use...
Hello there. I got question regarding dates. my topic now is BOND, getting the coupon,fv, purchase...
Hello there. I got question regarding dates. my topic now is BOND, getting the coupon,fv, purchase price,and number of periods (n), when there is a given problem like "maturing on December 1, 2020 then determine the purchase on January 1, 2015 to get the number of periods (n). If I use excel = purchase on date - mature date it will give me total in days, for this date is 2161 days then ill 2161/365 = 5.920547945  then x  4 as compounding...
hello, my question is, how can i use implicit differentiation to calculate the optimal surface area...
hello, my question is, how can i use implicit differentiation to calculate the optimal surface area of a box. Or any type of optimization problem involving the use of implicit differentiation. an example would be appreciated
Hello I am currently working on an informative speech for my class. My topic that I...
Hello I am currently working on an informative speech for my class. My topic that I will be speaking on is the importance of budgeting. I am came up with this outline so far: Specific Purpose: To inform the audience about the importance of budgeting - advantages Central Idea: Making a budgeting plan is easy and the most critical step - great tool Introduction Question: what’s more important to you? A daily Starbucks drink or a yearly beach vacation. Why...
Hello, can you teach me how to draw a Use Case diagram for this given scenario?...
Hello, can you teach me how to draw a Use Case diagram for this given scenario? I also need to include all the extends and includes relationships. Case Description Acme Drug Stores (ADS) which consists of a chain of retail stores across Canada wants to be able to provide a new online customer service system. Each store has an identifying store no, address, phone, and email. The company dispenses a wide range of pharmaceutical (drug) products. Each product has a...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the...
Can someone please edit my code so that it satisfies the assignments' requirements? I pasted the codes below. Requirement: Goals for This Project:  Using class to model Abstract Data Type  OOP-Data Encapsulation You are asked to write an app to keep track of a relatively small music library. The app should load song information from a data file once the app is started. It should allow user to view, add, remove, and search for songs. The app should...
I've just finished typing my code in C, but I don't know how to draw a...
I've just finished typing my code in C, but I don't know how to draw a flowchart. Can somebody help me create a flow chart of this C program please? #include <stdio.h> int main(void){ char answer; // user's inputted single character int score = 0; // initialize score to 0 printf("-----------------------------------\n"); printf("\tMood Self Assessment\n"); printf("-----------------------------------\n"); printf("This Mood Self-Assessment program can help you determine and understand how\nyou are feeling recently."); printf("The user has to answer 3 questions honestly and\ntruthfully in order...
I did already posted this question before, I did get the answer but i am not...
I did already posted this question before, I did get the answer but i am not satisfied with the answer i did the code as a solution not the description as my solution, so i am reposting this question again. Please send me the code as my solution not the description In this project, build a simple Unix shell. The shell is the heart of the command-line interface, and thus is central to the Unix/C programming environment. Mastering use of...
Write a Python 3 program called “parse.py” using the template for a Python program that we...
Write a Python 3 program called “parse.py” using the template for a Python program that we covered in this module. Note: Use this mod7.txt input file. Name your output file “output.txt”. Build your program using a main function and at least one other function. Give your input and output file names as command line arguments. Your program will read the input file, and will output the following information to the output file as well as printing it to the screen:...