Visualization and data processing

Visualization and data processing

Visualization and data processing

Total Marks – 50

09 Apr 2023

Assessment 2

The following exercises are designed to assess your understanding of concepts, implementation, and interpretation of topics in Visualization and Data Processing. Some questions may require you to search and use R functions that we have not used so far.  In all following questions submit codes and output.

Note: The questions in this assessment may have multiple correct solutions. Hence submission of R code is essential. Almost no statistical background is presumed knowledge for this assessment. All methods required for solution are available on the content pages of Weeks 2-10 of this subject. Some of them have been covered in detail during collaborate sessions.

Answer sheet and script (code).

All outputs must be followed by a short statement, for full marks. You could use on of the following alternatives in responding to the questions.

  1. Please use a new word document to provide your responses sequentially using Section and Question numbers. You could paste your annotated R code followed by the output and discussion, in the word document.
  2.  In a word document provide your output and discussion. Submit the –annotated (commented)- R code separately. Codes without annotation won’t receive full marks.
  3. If you know Rmarkdown, you could use that to create an integrated report. However, Rmarkdown is NOT a requirement for this subject.

M. Function: Section Marks 5

An R package is simply a collection of functions. Each function does a specific task. Write a (single) function that computes –

  1. Arithmetic mean,
  2. Standard deviation, and
  3. Range. Range is the difference between the maximum and minimum values of a variable

for any variable of an R data.frame(). Implement this function on the airquality data available with baseR. Show your code and output.

A. Categorising and Visualization: Section Marks 10

  • Load the R data LifeCycleSavings, from the datasets package, in your R session.

Marks (1)

  • Use the values of the variable pop15 and ddpi to create two new categorical variables named Pop15Cat and ddpiCat, respectively, each with three categories, ‘High’ (top 25%), “Medium”( middle 50%) and “low”(bottom 25%). Show your codes.
    • Hint: To do this, you must find a function to obtain the required cut-off points and then another function to implement the binning of the variables. Marks (4)
  • Count (frequency of) cases within each new categorical variable. Show codes and output. Marks (2)
  • Use a visualization tool to display the relationship between the variables,

 sr and Pop15Cat, stratified by ddpiCat, on a single plot.

Comment on the plot – do you observe any relationship between the three variables?

You must use ggplot2 for visualization. Wherever applicable, your plots must have proper labelling and legends. Marks (5)

B. Data Processing: Section Marks 15

  • Pain is often used as an indicator to prioritize (rank) patients for urgency of attention (triage), at hospitals. Consider pain levels reported by 6 patients at a hospital on a weekday (say Wednesday).

Using R, create an ordered categorical (ordinal) vector called, “pain”, of length 6, assuming that it is the data reported by the 6 patients. This vector can take any of the following values – “low”, “moderate”, and “severe” such that the values are ordered as

  • ‘low’ < ‘moderate’ < ‘severe’. Show your code and the output as evidence.
    • Convert the above vector “pain” into an integer variable. Show your code and the output as evidence.  Marks (2)

Hint: You can choose any values for the six observations.

  • Now consider that two observations in the vector “pain” were lost due to a data entry error. Additionally, it is given that the observations on pain were collected for-
    • Australian males
    • in the age group 70-80.

How would you deal with the missing observations on this vector? Please provide your response in no more than two sentences, highlighting two possibilities, with proper justification.

Hint: This is a hypothetical question and you do not need to use a dataset but justify your approach on dealing with missing values in this context. Marks (4)

  • Load the R data iris in your session and,
    •  Show the dimension and the variable names of this dataset using a single R function.
    • Drop the variable “Species”- using a dplyr() function –  and store the new dataset in a new data frame called iris1.
    • Change the first four column names of the new data frame to – sep_len, sep_wid, pet_len, and pet_wid.

 Show your code for all steps . Print the first six rows of the data frame iris1.   Marks (3)

  • Proximity analysis on iris flowers.
    • Recommend an R function to compute the appropriate dissimilarity coefficient for the data frame iris1 that you created in the previous question. Justify your choice.
    • Compute the dissimilarity coefficient that you recommended and save it as an object. Show R-code.
    • How many distinct dissimilarities were computed in QB4.2 for flower number 50.
    • Based on your results in QB4.3 find the flowers with most and least similarity with flower 50 on this data. Show your codes and output for identification, along with the statement. Marks (5)

C. Data Processing: Section Marks 20

Clinician scientists at Royal Melbourne hospital are investigating the relationship between fecal calprotectin (FC) as a non-invasive diagnostic alternative to Inflammatory Bowel Disease (IBD) and Acute Sever Ulcerative Colitis (ASUC). It would also contribute to standard of care. A subset of the dataset is provided as bowel.csv. The data has several missing values, causes of missing-ness are often unknown.

In the following show questions show your R working and output.

  1. In the bowel.csv dataset,
    1. Count and state the number of missing observations on the variable Hb and the total number of missing observations in data bowel.csv.  Marks (1)
    • Perform a univariate imputation on the variable Hb. Your solution should include Marks (3)
      1. code,
      result, and
      •  Justification for the choice of imputation value you used. Hint: For justification you may consider using descriptive statistics and/or visualization techniques.
  2. Select two variables that may have association with Hb.  Hint: This is a real data and relationships may appear different from standard textbook patterns.
  3. Justify your choice using dplyr()or baseR tool(s). Show your working in R – code and any output you produce in support of your argument. Marks(4)
  4. Use your investigation in QC 2.a.) to replace all missing values in the variable Hb. Show your code. Please do not use any automatic imputation package or routines such as Hmisc. Marks (6)
  5. Present a comparison – with discussion – between the two types of imputation in the context of variable Hb. Hint: You may use appropriate proximity and/or visualisation tools learned in topics of Weeks 3-7, for comparison. Marks (5).

Get expert help for Visualization and data processing and many more. 24X7 help, plag free solution. Order online now!

Universal Assignment (December 1, 2025) Visualization and data processing. Retrieved from https://universalassignment.com/visualization-and-data-processing/.
"Visualization and data processing." Universal Assignment - December 1, 2025, https://universalassignment.com/visualization-and-data-processing/
Universal Assignment June 6, 2023 Visualization and data processing., viewed December 1, 2025,<https://universalassignment.com/visualization-and-data-processing/>
Universal Assignment - Visualization and data processing. [Internet]. [Accessed December 1, 2025]. Available from: https://universalassignment.com/visualization-and-data-processing/
"Visualization and data processing." Universal Assignment - Accessed December 1, 2025. https://universalassignment.com/visualization-and-data-processing/
"Visualization and data processing." Universal Assignment [Online]. Available: https://universalassignment.com/visualization-and-data-processing/. [Accessed: December 1, 2025]

Please note along with our service, we will provide you with the following deliverables:

Please do not hesitate to put forward any queries regarding the service provision.

We look forward to having you on board with us.

Most Frequent Questions & Answers

Universal Assignment Services is the best place to get help in your all kind of assignment help. We have 172+ experts available, who can help you to get HD+ grades. We also provide Free Plag report, Free Revisions,Best Price in the industry guaranteed.

We provide all kinds of assignmednt help, Report writing, Essay Writing, Dissertations, Thesis writing, Research Proposal, Research Report, Home work help, Question Answers help, Case studies, mathematical and Statistical tasks, Website development, Android application, Resume/CV writing, SOP(Statement of Purpose) Writing, Blog/Article, Poster making and so on.

We are available round the clock, 24X7, 365 days. You can appach us to our Whatsapp number +1 (613)778 8542 or email to info@universalassignment.com . We provide Free revision policy, if you need and revisions to be done on the task, we will do the same for you as soon as possible.

We provide services mainly to all major institutes and Universities in Australia, Canada, China, Malaysia, India, South Africa, New Zealand, Singapore, the United Arab Emirates, the United Kingdom, and the United States.

We provide lucrative discounts from 28% to 70% as per the wordcount, Technicality, Deadline and the number of your previous assignments done with us.

After your assignment request our team will check and update you the best suitable service for you alongwith the charges for the task. After confirmation and payment team will start the work and provide the task as per the deadline.

Yes, we will provide Plagirism free task and a free turnitin report along with the task without any extra cost.

No, if the main requirement is same, you don’t have to pay any additional amount. But it there is a additional requirement, then you have to pay the balance amount in order to get the revised solution.

The Fees are as minimum as $10 per page(1 page=250 words) and in case of a big task, we provide huge discounts.

We accept all the major Credit and Debit Cards for the payment. We do accept Paypal also.

Popular Assignments

Project Development and Analysis in Emerging Technologies

Assessment Brief- Assessment 2 Unit Code/Description ICT305 – Topics in IT Course/Subject BIT Semester 2024- S1 Unit Learning Outcomes Addressed ULO 1, 2, and 3. Assessment Objective The primary objective of this assessment is to provide students with hands-on experience in designing, implementing, and analysing a project in one of

Read More »

EDUC1006 Interdisciplinary Studies: Crossing the line

ASSESSMENT 2: Report Summary Title Assessment 2 Type Report Due Date Thursday 17 April, 11.59 pm (end of Week 6) Length 1500 words or equivalent Weighting 50% Academic Integrity The use of GenAI is allowed but limited for this assessment task. Submission Word document or PDF submitted to Turnitin Unit

Read More »

Writing in Community Development

Assessment Overview Overview Length or Duration Worth Due This essay should demonstrate a coherent argument, which is backed up by evidence from relevant journal articles, books and websites. You are expected to make two direct quotations only; and the rest should be paraphrases. You should also list at least eight sources.   If you are unsure of

Read More »

Counselling Theory and Practice in Schools

Assignment 1 Requirements Word limit 2500 words; excluding references Referencing You’re required to follow APA Academic Integrity Please refer to the Guidelines Task Purpose 🎯 This assessment task is designed to develop and assess students’ critical thinking and reflective skills, essential for counselling professionals in educational contexts. By engaging in a literature

Read More »

PSY1040 Cultural Responsiveness Self-Assessment

PSY1040 Cultural Responsiveness Self-Assessment The below self-assessment tool has been adapted from the following resource: Bennett, B., & Morse, C. (2023). The Continuous Improvement Cultural Responsiveness Tools (CICRT): Creating more culturally responsive social workers. Australian Social Work, 76(3), 315–329. Bennett’s collection of Cultural Responsiveness Self-Assessment Tools is designed for social workers

Read More »

TEAC7094 Assessment 2 Report: Analysis of a Student Work Sample

TEAC7094 Assessment 2 Report: Analysis of a Student Work SampleRemember to include a completed Cover Sheet for this task. CONTEXT PROBLEM AND SOLUTION (approx. 600 – 800 words) RECOMMENDATIONS (approx. 400 words) CONCLUSION REFERENCES Appendix One: Annotated and coded interview transcript from working with the child Appendix Two: Annotated and

Read More »

Psychological Data Analysis Report

Written Assignment This page outlines the major written assignment and the steps involved in preparing for submission. This assignment will allow you to develop essential skills in analysing and interpreting a data set to address a psychological issue and report the results in APA style. Note that separate documents are

Read More »

Principles of Economics

Principles of Economics Short-answer Assignment V1 (20% of final mark) The assignment consists of four questions.  You should allocate at least half a page (or 250 words) to each answer or 1000 words for all four answers depending on the nature of and/or marks allocated for the question/s. You may

Read More »

MRTY 5134 Laboratory Report Assignment

MRTY 5134 Laboratory Report Assignment Semester 1 2025Due 18th May 2025Answer TemplateEnter your name and student number below.Name:SID:Use this document to record your answers to the tasks described in the laboratoryreport assignment. When completed submit this document for marking via theassignment portal in Canvas.Things to note:

Read More »

Mind Map – Personal Philosophy

Mind Map – Personal Philosophy Assessment 2  Assessment Overview Overview Length or Duration Worth Due Part A – Annotated mind-map (equivalent to 350 words). Part B – 350 word personal reflection about your history, identity and values and link it with concepts explored in the unit. Part A – 350 words equivalent

Read More »

Consumer Partnerships in OT Practice

ASSESSMENT NUMBER 3 ASSESSMENT TYPE Written assignment DATE FOR SUBMISSION Refer to the Course Profile WEIGHTING 40% LENGTH   Part A – 500 words Part B – 500 words Part C – 500 words Notes This word allocation includes in-text references but excludes the reference list.There is no allowance for

Read More »

HPSYSD101 The Evolution of Psychology

ASSESSMENT 2 BRIEFSubject Code and Title HPSYSD101 The Evolution of Psychology Assessment Task Annotated BibliographyIndividual/Group IndividualLength 2,000 words (+/- 10%)Learning Outcomes The Subject Learning Outcomes demonstrated by successfulcompletion of the task below include:b) Examine the significant figures, events and ideas present inthe history of psychology.c) Identify and relate the key

Read More »

Literature Review and Reflection on Counselling in Education

Assessment Task SheetEDU6114 – Assessment 1 – Literature Review and Reflection Course Code and Name EDU6114 – Counselling in EducationAssessment Name Literature Review and Reflective EssayAssessment Item 1 Assessment Type EssayMarks/Weighting 50% Length 2500 words (excluding references)Assessed LearningOutcomesCLO 1, 3, 7 Due Date Please check Study Desk for Due DatesRationale

Read More »

NUTR1023 Health and Fitness through Diet and Exercise

Subject NUTR1023 Health and Fitness through Diet and Exercise Assessment Personal Diet and Exercise Plan Learning Objectives Apply the principles of training to develop a personal exercise program with appropriate mode/intensity/frequency to develop the students’ own health and fitness.Apply the current dietary guidelines to develop a personal diet plan for

Read More »

Behaviour Support Plan & Reflection

Overview Submit your support plan and reflective piece as one document. Description Part A: Support plan (1750 words) For a case study develop a support plan. This plan should aim to support an individual to reduce the need for a behaviour that challenges to occur. Collect and analyse data on a behaviour

Read More »

ASSESSMENT 2: Child Study Report

ASSESSMENT 2: Child Study Report Moderater very strict on  Rubric, its her bible, so please look into it Assignment – Written Assignment Due Date: 28th May, 23:59 (AEST) Weight: 60% Description (2500-3000 words): In this task, you are required to apply your knowledge of observational methods and child development to write

Read More »

Arts Assignment Help Australia

Introduction Arts is a broad and creative discipline that encompasses visual arts, performing arts, music, design, literature, and creative writing. Studying arts helps students explore creativity, cultural heritage, and expression through multiple mediums. In Australia, arts courses are offered at universities and TAFE institutes such as University of Melbourne, Monash

Read More »

Health Sciences Assignment Help Australia

Introduction Health Sciences is a multidisciplinary field that studies human health, disease prevention, treatment, and healthcare management. It encompasses areas such as nursing, public health, anatomy, physiology, medical research, and healthcare administration. In Australia, health sciences is a highly sought-after discipline offered at universities including Monash University, University of Melbourne,

Read More »

Literature Assignment Help Australia

Introduction Literature is the study of written works, encompassing poetry, prose, drama, fiction, and non-fiction, with a focus on understanding themes, symbolism, and cultural context. It is an essential discipline for students studying English, humanities, or creative writing at universities like University of Melbourne, Monash University, University of Sydney, and

Read More »

Humanities Assignment Help Australia

Introduction Humanities is the study of human culture, society, and history, encompassing disciplines such as history, philosophy, literature, sociology, linguistics, and cultural studies. It plays a crucial role in understanding human behaviour, values, and creativity. In Australia, humanities courses are offered at leading universities including University of Melbourne, Monash University,

Read More »

Environmental Science Assignment Help Australia

Introduction Environmental Science is an interdisciplinary field that studies the relationship between humans and the natural environment. It covers topics such as ecology, climate change, sustainability, pollution control, and environmental management. In Australia, environmental science is a popular field of study due to the country’s rich biodiversity and focus on

Read More »

Biology Assignment Help Australia

Introduction Biology is the science of life, exploring everything from molecular structures to ecosystems. It is a core subject in disciplines such as medicine, nursing, biotechnology, environmental science, and genetics. Students in Australia pursuing biology at universities like Monash University, University of Melbourne, University of Sydney, and Deakin University often

Read More »

Education Assignment Help Australia

Introduction Education is one of the most impactful fields of study, focusing on teaching methods, pedagogy, curriculum development, and learning strategies. Students pursuing education degrees in Australia at institutions such as the University of Melbourne, Monash University, University of Sydney, and Deakin University aim to become skilled teachers, administrators, and

Read More »

Economics Assignment Help Australia

Introduction Economics is the study of how societies allocate scarce resources, focusing on production, consumption, and decision-making. As one of the most popular academic fields in Australia, economics is taught at leading universities including the University of Melbourne, Monash University, University of Sydney, and ANU. Students pursuing economics often face

Read More »

Psychology Assignment Help Australia

Introduction Psychology is the scientific study of the human mind and behaviour, covering areas like cognition, emotions, mental health, and social interactions. In Australia, psychology is one of the most popular disciplines, with thousands of students enrolling at universities such as the University of Melbourne, Monash University, University of Sydney,

Read More »

Marketing Assignment Help Australia

Introduction Marketing is a dynamic and ever-evolving discipline that plays a critical role in the success of any business. From branding and market research to digital campaigns and consumer psychology, marketing requires both creativity and analytical thinking. In Australia, marketing students studying at top institutions like the University of Melbourne,

Read More »

Finance Assignment Help Australia

Introduction Finance is one of the most essential fields of study, forming the backbone of global business, economics, and investment. In Australia, students pursuing degrees in finance, accounting, economics, and business management at top institutions such as Monash University, University of Melbourne, University of Sydney, and RMIT face an intense

Read More »

Computer Science Assignment Help

Introduction Computer Science is one of the fastest-growing and most demanding academic disciplines worldwide. Students in Australia, the UK, and beyond pursue computer science degrees to build careers in software engineering, artificial intelligence (AI), cybersecurity, data science, and web development. However, the field is highly technical and requires extensive practical

Read More »

Law Assignment Help Australia

Introduction Law is one of the most intellectually challenging and competitive fields of study in Australia. Students pursuing law degrees at prestigious institutions such as Monash University, University of Melbourne, University of Sydney, and Australian National University face an intense academic workload. From legal case studies and essays to research

Read More »

Nursing Assignment Help Australia

Introduction Nursing is one of the most respected and challenging professions in Australia. Students pursuing nursing courses at top institutions such as Deakin University, Monash University, University of Melbourne, University of Sydney, and TAFE colleges face a demanding academic workload. From care plans and reflective essays to case studies and

Read More »

Can't Find Your Assignment?