Description Usage Arguments Value Author(s) Examples
Runs The Creation of Peirce object Value N.
1 | Peirce-signN(Sums, FullTable)
|
Sums |
Sumed table from the Data being Tested |
FullTable |
Full table is the full table of data that is being imported for testing. |
The returned value is N in Peirce sign.
Alon Friedman
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)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.