Learn R Programming

LotkasLaw (version 0.0.1.0)

expected: Runs Expected Authors from table

Description

Generates Expected Value From the Data Being Tested

Usage

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.

Examples

Run this code
##---- 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)
  }

Run the code above in your browser using DataLab