Description Usage Arguments Value Examples
View source: R/02-calculate_sers.R
Function to calculate Self-evaluated Resiliency Score (SERS)
1 | calculate_sers(df, keep.na = TRUE, response = 3, add = FALSE)
|
df |
Dataframe containing SERS-related variables |
keep.na |
Logical. Apply recoding to NA responses? If TRUE (default),
NA responses will be recoded based on |
response |
What response to recode NA values. |
add |
Logical. Should the calculated SERS values be added to |
If add
is TRUE, a data.frame made out of a column binding of
df
and the calculated per dimension and overall SERS. If add
is FALSE, a SERS data.frame containing per dimension and overall SERS.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.