Description Usage Arguments Details Value References Examples
This function provides the value for the Motivation axis
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)
|
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. |
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.
This function returns the Motivation value for each observation on the dataset informed or estimated
Marcus Guimaraes <guimaraesmvf@gmail.com>
1 2 | m.estimated <- axis.Motivation(n=300, full.estimation=TRUE)
m <- axis.Motivation(n=1000, pleasure= df[1:1000,1], est.pain=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.