Error occurs when using rowMeans function

In addition to the rowMeans function, Exploratory has a function called summarize_row. The summarize_row function allows you to calculate the average or sum of multiple numeric columns for each row.

The syntax for the summarize_row function is as follows:

When specifying columns individually:

summarize_row(across(c(Col1, Col2, Col3)), mean, na.rm = TRUE)

When specifying a range of columns:

summarize_row(across(c(Col1:Col3)), mean, na.rm = TRUE)

For more details on how to use the summarize_row function, please see below.