Managing and understanding data

Assignment Help Business Economics
Reference no: EM131626630

Managing and Understanding Data (Class Exercise)

R data structures:

1. Generate 3 student name, gender, gpa and grade vectors. You could use names such as "Henry Grant", "Amy Becker", "Bessie Kim"; use gender such as "male","female", "female"; use gpa such as 3.5, 3.7, 3.2; use grades such as "senior", "sophomore", "junior".

2. Access the gender of second student and access the first two students' grades.

3. Change vector gender into a factor vector with levels female and male; also change vector grade into a factor vector with levels freshman, sophomore, junior and senior.

4. Create a data frame using student information you generated above with stringsAsFactors set to False; Display the data frame and see how many rows and how many columns does this data frame have?

5. Access student gpa column; get student name and grade by specifying a vector of names.

6. Access student information in row 1 and column 2. What is it?

7. Access student information in row 2 & column 3 and in row 3 & column 4 together using vectors. What does the output look like?

8. Output student information in column 2 (all rows), then in row 3 (all columns) and then all rows & all columns.

9. Create a 4*2 matrix M using characters from 'a' to 'h'; Create a 3*3 matrix N usingcharacter from 'a' to 'i'.

10. Extract values from matrix. What character in M do you have in row 2 and column 1? What character in N do you have in row 3 and column 2?

11. Extract the second row (all columns) of matrix M; extract the third column (all rows) of matrix N.

Reference no: EM131626630

Questions Cloud

Single entry filed for output : Design a GUI based program that simulates a simple pocket calculater. the GUI displays a single entry filed for output.
Employee in the maui office : A vice president at Alexander Rocco Corporation says he received a hostile e-mail message from an employee in the Maui office.
Decline to renew a franchise relationship : The PMPA regulates only the circumstances in which service-station franchisors may terminate a franchise or decline to renew a franchise relationship
Provide a data saturation definition : Provide a data saturation definition and evaluate the work of the researchers in this article regarding their efforts to achieve data saturation.
Managing and understanding data : Generate 3 student name, gender, gpa and grade vectors. You could use names such as "Henry Grant", "Amy Becker", "Bessie Kim"; use gender.
Discuss law of business organizations : Discuss whether the ownership interests of each of the following organizations would be subject to Federal securities laws upon their issuance
What are the variable cost and the fixed cost elements : What are the variable cost and the fixed cost elements if 6,000 units are produced?
Identify the legal issue presented in the problem : Stein, a mechanic, and Beal, a life insurance agent, entered into a written contract for the sale of Stein's tractor to Beal
Approach to procedural programming : Many programmers think object-oriented programming is a superior approach to procedural programming.

Reviews

Write a Review

Business Economics Questions & Answers

  Economics assignment

This document contains various important questions and their appropriate answers in the subject field of Economics.

  Demand and supply curves

Economics is the study of the principles governing the allocation of scarce means among competing ends when the objective of the allocation is to maximize the attainment of the ends.

  Long-run perfectly competitive equilibrium for the firm

Evaluate Government intervene and correct this situation?(a) Explain the concept of a concentration ratio. A rise in the price of magarine Explain the impact of external costs and external benefits on resource allocation long-run perfectly c..

  Supply and demand diagrams

Explain each of the following using supply and demand diagrams,  With the use of a graph, explain how these two programs affect cigarette consumption and the price of cigarettes.

  Case study: fisher-price toys

The case study of the Fisher-Price Toys, Inc., a popular case in basic economics and management from the prestigious Harvard Business School.

  Draw the production possibility curve

Draw the production possibility curve and a. Define consumer surplus and producer surplus.

  Tax revenue

The Australian government administers two programs that affect the market for cigarettes

  Maximize total welfare

How many tickets to sell to maximize total welfare.

  Difference between the cv and the ev

The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled

  Depict von neumann-morgenstern utility index u in a diagram

Depict the von Neumann-Morgenstern utility index u in a diagram

  What is the market solution

What is the market solution (market price and quantity) and What is the total surplus of the society under the market solution

  Calculate gross national product and net national product

Calculate gross national product and net national product

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