percauthors: Runs a Percent of Authors Total from the table.

Description Usage Arguments Value Author(s) Examples

View source: R/percauthors.R

Description

Creates a Percent Authors Table based on each column variable for authors against the total.

Usage

1
percauthors(Table, Sums)

Arguments

Table

The Table of data that is being tested,

Sums

The sum of data based off the Table,

Value

The value returned is a table with percent Authors Table.

Author(s)

Kenneth Buker

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (Table, Sums) 
{
    justy <- Table[, 2:2]
    newcol <- justy/Sums[2]
    return(newcol)
  }

Example output

function (Table, Sums) 
{
    justy <- Table[, 2:2]
    newcol <- justy/Sums[2]
    return(newcol)
}

LotkasLaw documentation built on May 2, 2019, 8:54 a.m.