Create object called abc by assigning the number three

Assignment Help Computer Engineering
Reference no: EM131258455

Analytics with R: Assignment

1. How to get a description of the version of R and its attached packages used in the current session?
2. Create object called "abc" by assigning the number 3.
3. Create different vectors ("a" is numeric, "b" is character and "c" is logical).
4. List all the objects in the current session.
5. Create vector "x" with the values {4, 4, 5, 6, 7, 2, 9}.

a. Calculate the number of observation (n), mean, sum, max, min, variance of the vector ‘x".
b. Also print the 3rd element, odd positions elements and elements from 2 to 6 positions.

6. Create 6x4 matrix(6 rows and 4 columns) using 1 to 24 numbers.

7. Create data frame with the below vectors

a. StoreID - (111, 208, 113, 408)
b. Tenure - (25, 34, 28, 52)
c. StoreType - ("Type1", "Type2", "Type1", "Type1")
d. status - ("Poor", "Improved", "Excellent", "Poor")

8. Print the data in different programs.

a. only storeId, tenure
b. only storetype and status
c. only tenure

9. Create different factors using the below vectors and label the values and order the levels for factors "outcome" and "status".

a. ethnicity - "White", "African Amrican", "Black", "Asian"
b. status - "Poor", "Improved", "Excellent", "Poor"
c. outcome - c(1, 3, 2, 4, 3, 1, 1) -
d. labels- "Poor", "Average", "Good", "Excellent"

10. Read the stores.csv data set and find the summary statistics for all the columns.

Reference no: EM131258455

What is the symbol for the enter key

What is the symbol for the "Enter" Key? Set the default location to your own folder that you created (your name, or ITM1270). Make auto correction so that if you type "toin"

Identify the mismatched file headers to extensions

Write a report describing the procedures you need to follow to retrieve the evidence. Identify the mismatched file headers to extensions and discuss techniques you can apply

What is role of kcc and its relationship to rule of three

What is the role of KCC and its relationship to the rule of three? What are the different criteria that can force replication to occur? How does Active Directory handle simu

Describes the added error-handling pathways

Produce a narrative which describes the added error-handling pathways that includes: an overview of the errors being checked and an explanation of the main reasons why checkin

Discuss advantages of developing software using oo approach

Discuss the advantages/disadvantages of developing software using the object oriented approach of domain classes and objects. Think in terms of development cost, schedule, and

How to measure performance in the unreal engine

Write a short report explaining how to measure performance in the Unreal Engine. After this, record and report the performance difference between 100 dynamic lights as oppos

Write a re-usable program to calculate various averages

Write a re-usable program to calculate various averages in your classes. It doesn't matter if you have 3 exams or 33 exams. The program should compute the computer the avera

Create a class for working with mixed fractions

Program: Create a class for working with mixed fractions. Only 3 private data members are needed: the int whole number part of the fraction, the int numerator of the fractio


Write a Review

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