I am trying to get some descriptive stats from my data, however, I keep on getting Nan and NA when I run the code.
this is my code
describe_across(mediation_df_total, variables = c(friendship, engagement, satisfaction), functions = list(avg = mean, stdev = sd), pivot = TRUE)
this is what I receive when I run the code
A tibble: 3 × 3
variable avg stdev
<chr> <dbl> <dbl>
1 friendship NaN NA
2 engagement NaN NA
3 satisfaction NaN NA