Description Usage Arguments Value Examples
View source: R/GetNumberOfPositiveAndNegativeEntries.r
Counts the number of entries in the in the second column of an input table that are +1 or -1.
1 | GetNumberOfPositiveAndNegativeEntries(dataList)
|
dataList |
an array or dataframe in which the second column is numeric |
a vector of two components, the first of which giving the number of +1 entries, the second the number of -1's.
1 2 | expData<-read.table(system.file(package='CausalR', 'extdata', 'testData.txt'))
GetNumberOfPositiveAndNegativeEntries(expData)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.