Closed CPRyan closed 3 hours ago
If I include more than 1 variable in 'control_covariates' I get this error.
Error in control_covariates != 1 && !all(control_covariates %in% colnames(data)) : 'length = 3' in coercion to 'logical(1)'
I checked and the variables are absolutely in the dataframe.
Fixed the erroneous error-checking in calculate_r2_w_age_helper.R. Thank you!
If I include more than 1 variable in 'control_covariates' I get this error.
Error in control_covariates != 1 && !all(control_covariates %in% colnames(data)) : 'length = 3' in coercion to 'logical(1)'
I checked and the variables are absolutely in the dataframe.