get_intrinsic_motivation_score: Compute an intrinsic motivation score.

View source: R/motivation_and_confidence.R

get_intrinsic_motivation_scoreR 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:

  • 1 = Not true for me

  • 2 = Not really true for me

  • 3 = Sometimes true for me

  • 4 = Often true for me

  • 5 = Very true for me

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


barnzilla/capl documentation built on April 2, 2022, 8:50 a.m.