expected: Runs Expected Authors from table

Description Usage Arguments Value Author(s) Examples

View source: R/expected.R

Description

Generates Expected Value From the Data Being Tested

Usage

1
expected(Table, C, N)

Arguments

Table

Table Imported and Being Edited for Lotkas Law

C

The value of C generated by LotkasC

N

The Value of N Generated by LotkasN

Value

The Value Returned is a Expected Authors Table Generated From Authors Table.

Author(s)

Kenneth Buker

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
##---- 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, C, N) 
{
    value <- Table[,1:1]^N
    nvalue <- 1/value
    part2 <- C*nvalue
    return(part2)
  }

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