Ops.codings.Rd
Return the result codings of the Boolean operation.
and(CT1, CT2) or(CT1, CT2) not(CT1, CT2)
CT1 | Coding of code one. |
---|---|
CT2 | Coding of code two. |
CT1 and CT2 are subset of getCodingTable
of a specific code or
returned value of getCodingsByOne
. In former situation, only
columns of "index1", "index2","fid","filename" from CT1 and CT2 are
used by this function.
These functions are the same as %and%
, %or%
, %not%
.
An object of class "codingsByOne" and "data.frame". It consists:
The codings, or the text segments.
Ronggui HUANG
if (FALSE) { a <- getCodingTable() c1 <- subset(a,cid==6) c2 <- subset(a,cid==24) ans <- and(c1, c2) ans ## put it into a widget for inspection ## another way to do the same and(getCodingsByOne(6), getCodingsByOne(24)) ## or operator or(getCodingsByOne(6), getCodingsByOne(24)) ## not operator not(getCodingsByOne(6), getCodingsByOne(24)) }