calculaPerc: calculates percentage

Description Usage Arguments Details

Description

With this function, you can calculate the ratio of one quantity or magnitude relative to another evaluated in percentage.

Usage

1
calculaPerc(valor, observados)

Arguments

valor

number amount you to know the percentage

observados

number relationship to which you want to calculate the percentage, if it is a vector of integers is calculated its average.

Details

calculaPerc = ((valor)/mean(observados))*100


Fgmutils documentation built on May 2, 2019, 9:16 a.m.