both <- c( FALSE, TRUE )
tt <- expand.grid( C = both
                 , B = both
                 , A = both
                 )
tt <- tt[, 3:1 ]

On March 12, 2022 8:42:28 AM PST, Paul Bernal <paulberna...@gmail.com> wrote:
>Dear friends,
>
>Hope you are doing great. I have been searching for a truth table generator
>in R, but everything I find has a Python implementation instead.
>
>Maybe there is in fact a truth table generator in R, but I am not searching
>in the right places?
>
>Any help and/or guidance will be greatly appreciated.
>
>Best regards,
>Paul
>
>       [[alternative HTML version deleted]]
>
>______________________________________________
>R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.

-- 
Sent from my phone. Please excuse my brevity.

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to