Peirce-signN2: Runs the creation of N in layer

Description Usage Arguments Value Author(s) Examples

Description

Runs The Creation of Peirce object Value N.

Usage

1
Peirce-signN(Sums, FullTable)

Arguments

Sums

Sumed table from the Data being Tested

FullTable

Full table is the full table of data that is being imported for testing.

Value

The returned value is N in Peirce sign.

Author(s)

Alon Friedman

Examples

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

## The function is currently defined as
Peirce-Sign <- function(Sums,FullTable)
{
  N <- nrow(FullTable)
  lx <- Sums[3]
  ly <- Sums[4]
  xy <- Sums[5]
  x2 <- Sums[6]
  lx2 <- lx^2
  top <- (N*xy) - (lx*ly)
  bottom <- (N*x2) - (lx2)
  Nfinal <- top/bottom
  return(Nfinal)
}

AlonFriedman01/Peirce--Theory-of-Signs documentation built on May 5, 2019, 4:55 a.m.