get_intrinsic_motivation_score {capl}R Documentation

Compute an intrinsic motivation score.

Description

This function computes an intrinsic motivation score (intrinsic_motivation_score) for responses to items 1-3 of the the Behavioral Regulation in Exercise Questionnaire (BREQ) as they appear in the CAPL-2 Questionnaire. This score is used to compute the motivation and confidence domain score (mc_score).

Usage

get_intrinsic_motivation_score(
  why_active1 = NA,
  why_active2 = NA,
  why_active3 = NA
)

Arguments

why_active1

A numeric (integer) vector representing a response to BREQ item 1 (valid values are integers between 1 and 5).

why_active2

a numeric (integer) vector representing a response to BREQ item 2 (valid values are integers between 1 and 5).

why_active3

a numeric (integer) vector representing a response to BREQ item 3 (valid values are integers between 1 and 5).

Details

Other capl functions called by this function include: validate_scale().

Valid values (integers between 1 and 5) represent the following responses:

Value

Returns a numeric vector with values between 1.5 and 7.5 (if valid) or NA (if not valid).

Examples

get_intrinsic_motivation_score(
  why_active1 = c(4, 3, 6, 5, "2"),
  why_active2 = c(1:5),
  why_active3 = c(1, 5, 4, 3, 3)
)

# [1]  3  5 NA  6  5


[Package capl version 1.42 Index]