Last data update: 2014.03.03

R: calculates percentage
calculaPercR Documentation

calculates percentage

Description

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

Usage

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

Results