Question: ##### section 4: CONFIDENCE INTERVALS ########## # 4.1 create a binned categorical variable from growing season called long.season # that has TRUE and FALSE based

##### section 4: CONFIDENCE INTERVALS ########## # 4.1 create a binned categorical variable from growing season called long.season # that has TRUE and FALSE based on whether the growing season is longer than the median growing season # 4.2 you just created long.season using a logical expression, # which creates a variable where all of the values are TRUE or FALSE. # if you want the values to be something more informative, # you can use the function if_else(logical_expression, value_if_true, value_if_false). # since this is what you want in your new column, it goes inside mutate() to the right of the = # # for example, if you had a df called d and a column called age and you wanted to create # a new column for adult vs child age groups, you would do this: # d %>% mutate(age_group = if_else(age

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!