Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

RMHI PSYC30013 Codes RMHI Data Manipulation and Visualization Techniques Guide fall 2026 University of Melbourne

Rating
-
Sold
-
Pages
35
Uploaded on
02-05-2026
Written in
2025/2026

RMHI PSYC30013 Codes RMHI Data Manipulation and Visualization Techniques Guide fall 2026 University of Melbourne

Institution
RMHI PSYC30013
Course
RMHI PSYC30013

Content preview

RMHI PSYC30013 Codes RMHI Data Manipulation and
Visualization Techniques Guide fall 2026 University of
Melbourne




RMHI CODES




LOADING DATA

library(here)
loc <- here(“bunnysurvey.csv”)



Loc<- here("gladlysurvey.cvs")

Gdata <- read_cvs(file=loc)



MAKING VARIABLES

Variable <-c(content, content, content)



VIEWING DATA

Data$height

Data$age

,MANIPULATING DATA

Data$height + 45

If you want to update this variable

D$height <- D$height +45

REMOVING DATA
data$tall <- NULL

CHANGING THE DATA IN THE TABLE
data$height[1] <- 99
data

REMOVING DATA

Data$tall <-NULL

,FILTERING DATA

Filter( gdata$age > 5)



OR



d%>%

Filter( age > 5)



SELECTING ELEMENTS FROM A TIBBLE

1. Data$height[1]
2. Data[ROW, COLUMN]
3. Data[1,”Height”]




SELECTING A WHOLE ROW

1. d[1, ] = row 1, all columns

2. d[, 1] = all rows, column 1

3. d[1:3, ] = rows 1 to 3, all columns



SELECTING ROWS AND COLUMNS

Data(c(1,2,4),c(“name”,”colour”)



Rows 1-4 and columns 1-3

, Data[1:4,1:3]



SELECTING ROWS THAT MATCH THE CRITERION

SmallOnes <- data$height<20

Data[SmallOnes,]



IF DATA IS MISSING
gdata$age[20] <- NA
# calculate the mean of the new vector
mean(gdata$age,na.rm=TRUE)



CALCULATING MEDIAN

median(gdata$age)

[1] 5
quantile(gdata$age,0.5)
50%
[1] 5



CALCULATING THE MODE

> modeOf(gdata$age)
[1] 3 5 4
> maxFreq(gdata$age)
[1] 6




RMARKDOWN

Written for

Institution
RMHI PSYC30013
Course
RMHI PSYC30013

Document information

Uploaded on
May 2, 2026
Number of pages
35
Written in
2025/2026
Type
OTHER
Person
Unknown

Subjects

$14.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
carolnjew254

Get to know the seller

Seller avatar
carolnjew254 EXAMS
View profile
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 months
Number of followers
0
Documents
16
Last sold
-
inter-edus world

Get actual samples for past exam papers, assignments, study guide and exam notes all non AI

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions