Question: Write correct R code ( with pipe 1 puan operator ) in order to select only observations where injury = Assault in the dataset called
Write correct R code with pipe
puan
operator in order to select only observations where injury "Assault" in the dataset called "injurydataset" Then select only column injury and estimate.
injurydataset
selectinjury "Assault"
filterinjury estimate
injurydataset filterinjury
"Assault"
selectinjury estimate
injurydataset
filterAssault injury
selectinjury estimate
injurydataset
selectinjury "Assault"
selectinjury estimate
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
