Opening rstudio and creating a new rscript

Assignment Help Basic Computer Science
Reference no: EM132400951

Start by opening Rstudio and then creating a new RScript.

Imagine you're in an economics class here at Davis, and you have been talking about the correlation between country GDP (Gross Domestic Product) and child illiteracy rates. You're interested in the topic so you start doing some of your own research and calculations.

1. You find that world GDP is 88 billion and US GDP is 21 billion. create and assign the variables "WorldGDP" and "USGDP" to the values above. Now Create an equation (using the variables you created) in which you find the proportion of US GDP in relation to the world's GDP - assign the outcome of this equation to the variable "USOutputPercentage"

2.After doing this calculation, you realized you mistook trillions for billions and your variables are off. To fix this, reassign the two variables (on two new lines!), WorldGDP and USGDP to the correct values, 88 trillion and 21 trillion respectively. Notice that value of USOutputPercentage won't change since the USGDP and WorldGDP are going up by equal proportions.

3.You find that the five countries with the highest GDP are as follows (all in trillions): US - 21 China - 15 Japan - 5 Germany - 4 India - 3

a. create a variable "Largest5" and assign it to the GDPs of the five countries above (using condensed values such as 21 instead of 21,000,000,000,000 is advised)

b. You are interested in what the largest five economies would look like if they all grew by 3.6% next year. create an equation that uses the "Largest5" variable to answer that question. In the code for this equation, add your name and lab time into a comment.

Reference no: EM132400951

Questions Cloud

Developing or installing software : What might you have done as a technology professional when developing or installing this software to help prevent such an error from occurring?
Identify at least three relational model issues : Identify at least three relational model issues. What are the possible solutions to the issues and Develop a distributed database system which is applicable.
Explain normalization : Explain normalization and describe the 1st, 2nd, and 3rd normal forms it and why this is important.
How big is big data for discovery health : How big is big data for Discovery Health? What were the main data/analytics challenges Discovery Health was facing?
Opening rstudio and creating a new rscript : Start by opening Rstudio and then creating a new RScript.
Minimal basis for the set of functional dependencies : Using minimal basis, what would be the decomposition of Test into relations in 3NF?
Calculate gross pay for week : Prepare a short report to present it to your manger (trainer/assessor role play) and obtain necessary approval for variance in payroll and authorising.
Discuss the risk and costs of compromised : Look at military, or education, or science, medicine, finance, utilities, municipalities, etc. "Use an example from the news".
Determining the types of vulnerabilities : What types of vulnerabilities could such printers have? Is there an effective method of control available in today's commercial or open source market?

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Create a name class of three string objects

Provide methods and operators for reading and writing Persons and for allowing the retrieval and changing of components of a Person (Name and Address)

  Country an absolute advantage in trade

At least two products that have provided the country an absolute advantage in trade (if any).

  Corporate privacy and the privacy of individuals

With today's computers, the right to privacy is an especially challenging problem. Corporate privacy and the privacy of individuals is a major concern.

  Current or future job

Write a short essay about the information technologies that are or will be important to your current or future job. Also, discuss how you plan to improve your skills with those technologies. Use job search websites to identify the skills required..

  Prevent race conditions in kernel code for a uni-processor

In early Unix kernels the approach used to avoid race conditions in kernel code was to use a combination of the following two techniques: (i) non- preemptive scheduling of threads when they are running in privileged mode and (ii) interrupt disabli..

  What types of security can be implemented in the cloud

Choose employees as resources who have responsibility for developing the following:

  Develop complete disaster recovery plan

Develop a Complete Disaster Recovery Plan to be submitted to the executive board of your company.

  Personal computers and networks

Determine whether you prefer a laptop or desktop. Elaborate on the features that you would want your desktop or laptop to offer,

  Case Study on Operational Strategy for IT Organization

You are in IT management/leadership team in a medium size IT organization and are responsible for three engineering teams.

  Describe the definition of ransomware

Describe the definition of ransomware. And what is wannacry threat?

  Type a valid product name

Using Excel VBA, consider a cell where a user can type a valid product name. If the product name is valid then the adjacent cell should display the correct product category. This feature should be implemented using a button in excel.

  What are the best traits for a computer service technician

In your opinion, what are the best traits for a computer service technician to have that would show high-quality customerservice as well as reputable quality in his/her work?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd