Question: Hello can you please help me with the questions shown below regarding R Script? 1.) Recode GSS$excellenthealth so that 0 and 9 are missing, and

Hello can you please help me with the questions shown below regarding R Script?

1.)

Hello can you please help me with the questions shown below regardingR Script?1.) Recode GSS$excellenthealth so that 0 and 9 are missing, and

Recode GSS$excellenthealth so that 0 and 9 are missing, and 2 to 4 are zero GSS$excellenthealth[GSS$excellenthealth ==0]= __ BLANK 1_ GSS$excellenthealth[GSS$excellenthealth ==9]= __ BLANK 1_ GSS$excellenthealth[GSS$excellenthealth = =2]= __ BLANK 2_. GSS$excellenthealth[GSS$excellenthealth ==3]= __ BLANK 2__ GSS$excellenthealth[GSS$excellenthealth = =4]= __ BLANK 2_ BLANK 1 = 0; BLANK 2 = NA BLANK 1 = -9; BLANK 2 = 0 BLANK 1 = NA; BLANK 2 = 0 BLANK 1 = 0; BLANK 2 = -9The data type used in R for categorical variables is what? 6) factor Q character

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!