Learn R Programming

eiwild (version 0.6.7)

getBalance: get profit and loss of partys

Description

get profit and loss of partys

Usage

getBalance(x, rnd = 1, zero = TRUE, which = NULL)

Arguments

x
table of ecological inference (see summary.eiwild)
rnd
rounding of values (default is 1)
zero
replace negative values with 0 (default=TRUE)
which
if table isn't square it has to be a vector giving 2 arguments (see Details)

Value

table with balance BUT (!!!) order of rows or cols maybe changed

Details

if table isn't square the row or column not to be calculated has to be given in wich.

First element has to be "r" for row or "c" for column.

2nd element has to give name of row or column.

See Also

summary.eiwild