axis.Motivation: Motivation axis acquisiton

Description Usage Arguments Details Value References Examples

Description

This function provides the value for the Motivation axis

Usage

1
2
3
axis.Motivation(n, pleasure, hope, acceptance, fear, pain, rejection,
  est.pleasure, est.hope, est.acceptance, est.fear, est.pain, est.rejection,
  full.estimation)

Arguments

n

The number of observation on the dataset or to estimate

pleasure

vector of values for pleasure

hope

vector of values for hope

acceptance

vector of values for acceptance

fear

vector of values for fear

pain

vector of values for pain

rejection

vector of values for rejection

est.pleasure

estimates a vector of values for pleasure based on the n size

est.hope

estimates a vector of values for hope based on the n size

est.acceptance

estimates a vector of values for acceptance based on the n size

est.fear

estimates a vector of values for fear based on the n size

est.pain

estimates a vector of values for pain based on the n size

est.rejection

estimates a vector of values for rejection based on the n size

full.estimation

performs a estimation for all variables based on the n provided. If any variable is informed it will be ignored.

Details

The domain of values is between 0 to 1. In order to obtain a valid result, when a vector of values is informed, not estimated, it must be on the range 0,1

When a vector of values is informed and another variable is estimated, the n must be equal to all variables in order to calculate.

The amount of positive variables must be equal to negative variables.

Value

This function returns the Motivation value for each observation on the dataset informed or estimated

References

Marcus Guimaraes <guimaraesmvf@gmail.com>

Examples

1
2
m.estimated <- axis.Motivation(n=300, full.estimation=TRUE)
m <- axis.Motivation(n=1000, pleasure= df[1:1000,1], est.pain=TRUE)

Guimaraesmvf/fbmR documentation built on May 6, 2019, 9:44 p.m.