Menu

(Solved) : 14 Add Following Columns Pollinator Dataset 1 Point Distancecat Categorical Variable 3 Lev Q43954442 . . .

please please help me figure out how to put this in r
14. Add the following columns to the pollinator dataset [1 point each): (a) Distance.cat - categorical variable with 3 leve14. Add the following columns to the pollinator dataset [1 point each): (a) ‘Distance.cat’ – categorical variable with 3 levels: “short”, “intermediate”, “long” that divides the DISTANCE variable into 3 quantiles. (b) ‘Area.cat’ – categorical variable with 4 levels: “tiny”, “small”, “medium”, “large” that divides the AREA variable into 4 quantiles (c) ‘Insect.cat’ = categorical variable with 2 levels: “few” and “many” that divides INSECT so that <=20 insects is “few” and >20 is “many” And then write the modified dataframe out of R as a .csv file, naming this few file ‘cat, pollinate’. Show transcribed image text 14. Add the following columns to the pollinator dataset [1 point each): (a) ‘Distance.cat’ – categorical variable with 3 levels: “short”, “intermediate”, “long” that divides the DISTANCE variable into 3 quantiles. (b) ‘Area.cat’ – categorical variable with 4 levels: “tiny”, “small”, “medium”, “large” that divides the AREA variable into 4 quantiles (c) ‘Insect.cat’ = categorical variable with 2 levels: “few” and “many” that divides INSECT so that 20 is “many” And then write the modified dataframe out of R as a .csv file, naming this few file ‘cat, pollinate’.

Expert Answer


Answer to 14. Add the following columns to the pollinator dataset [1 point each): (a) ‘Distance.cat’ – categorical variable with 3…

OR