axis.Ability: Ability axis acquisiton

Description Usage Arguments Details Value References Examples

Description

This function provides the value for the Ability axis

Usage

1
2
axis.Ability(n, time, money, routine, peff, meff, socialdev, est.time,
  est.money, est.routine, est.peff, est.meff, est.socialdev, full.estimation)

Arguments

n

The number of observation on the dataset or to estimate

time

vector of values for time

money

vector of values for money

routine

vector of values for routine

peff

vector of values for physical effort

meff

vector of values for mental effort

socialdev

vector of values for social deviance

est.time

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

est.money

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

est.routine

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

est.peff

estimates a vector of values for physical effort based on the n size

est.meff

estimates a vector of values for mental effort based on the n size

est.socialdev

estimates a vector of values for social deviance 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 Ability value for each observation on the dataset informed or estimated

References

Marcus Guimaraes <guimaraesmvf@gmail.com>

Examples

1
2
a.estimated <- axis.Ability(n=450, full.estimation=TRUE)
a <- axis.Ability(n=3000, time= df[1:1000,1], est.socialdev=TRUE)

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