Find out and show the percentage of instances

Assignment Help Computer Engineering
Reference no: EM132078928

You need some help with R markdown

Code chunk - code for exploring a single variable of factor data type:

a) The distribution of a factor variable - For each factor variable and each of this variable's nominal values, find out and show the percentage of instances that include the nominal value.

b) Choose two factor variables. For each factor variable, show a barplot of the number of instances (or count) with a nominal value for each possible value. The bars should be arranged in descending order of instance count. Show a descriptive title in each plot.

c) For each of the other three factor variables, retrieve and save the number of levels.

This are the variables I have in my data:

> str(BartRider) 'data.frame': 5493 obs. of 12 variables: $ Age : int 7 7 3 1 3 1 2 3 7 2 ... $ DistToWork : int 14 10 9 13 14 12 10 13 9 10 ... $ DualInc : chr "N" "N" "N" "N" ... $ Education : int 3 5 3 2 5 2 4 5 3 4 ... $ Gender : chr "F" "M" "M" "M" ... $ Income : int 3 8 1 1 2 1 3 6 4 8 ... $ Language : chr "English" "English" "English" "English" ... $ NbrInHouseHold : int 1 2 1 5 3 5 4 1 2 2 ... $ NbrInHouseholdUnder18: int 0 0 0 3 1 0 2 0 0 0 ... $ OwnRent : chr "Rent" "Own" "Rent" "Parent" ... $ YrsInArea : int 5 5 5 5 5 5 2 5 4 5 ... $ Rider : chr "Yes" "No" "Yes" "Yes" ...
Let me know if more infor is needed

Reference no: EM132078928

Questions Cloud

Make the journal entries to record the issuance of bonds : Dailey Company issued $655,500, 9%, 15-year bonds on December 31, 2013, for $629,280. Make the journal entries to record the issuance of bonds
What are the mechanisms that prevent acid base : What are the mechanisms that prevent acid- base imbalances from appearing in the body, and where each mechanism functions most significantly?
Describe the pressures that effect glomerular filtration : Describe the pressures that effect glomerular filtration and the effects of drinking too much beer on the urinary system?
What is the path of a spam cell from the site : What is the path of a spam cell from the site of its maturation site of the acrosomal reaction?
Find out and show the percentage of instances : Choose two factor variables. For each factor variable, show a barplot of the number of instances (or count) with a nominal value for each possible value.
Cell-surface receptors and intracellular receptors : Both cell-surface receptors and intracellular receptors can be involved in pathways that lead to changes in gene expression.
Compute the payback period : West Hill Hardware is adding a new product line that will require an investment of $1,500,000. Compute the payback period
Sickle-cell anemia is an example of co-dominance : In humans, sickle-cell anemia is an example of co-dominance, when considered at the molecular level.
On average what percentage of students fail a course : On average what percentage of students fail a course? A student failed the course if he/she gets a 'D' or an 'F'.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Are there any other examples of famous projects

Are LANs a stable technology or are they changing just as fastly as other forms of communication technologies?

  Explain what is e-commerce and mobile technology

Your company is experiencing decline in business because of competition. Your manager thinks they may be able to turn the company around if they can get help.

  What is message integrity

CSCI 360: Midterm Exam. Draw a diagram that illustrates the way a MAC interacts with a message between Alice and Bob in CBC mode

  Write a program that reads postfix expressions

Write a program that reads postfix expressions and prints their values. Each input expression should be entered on its own line.

  What are some advantages and disadvantages of using

1. before designing a network one must understand what?2. technical goals in a top down network design consists of

  Determine what property tax will be for the current year

Write an application that helps landowners determine what their property tax will be for the current year. Taxes are based on the property's assessed value.

  Which types of variables are composite variables

Systematically analyze the composite variables of your favorite programming language. Which types of variables are composite variables?

  Express the movement of the spot on the disk

In the rotating disk and strobe demo, we observed that different flashing rates of the strobe light would make the spot on the disk stand still.

  Different types of data storage processes

Different types of data storage processes.

  What is different between an mimd computer and simd computer

What is the difference between a multiprocessor and a multicomputer? What is the different between an MIMD computer and an SIMD computer?

  What are the advantages to having a larger smartphone

Conduct a web search to learn more about the larger smartphones and tablet options. What are the advantages to having a larger smartphone?

  Discuss use of client-side technologies in your microsite

Your report (Arial - font size 12) should discuss on the following area: Explain the message that you want to be communicated through your microsite. Outline and discuss the use of client-side technologies in your microsite. Discuss how the design of..

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