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]]
Hi Paul, Can you describe a truth table so that those persons who don't know your specific application might be able to help? Is possible that it is known by a different name? My first guess is confusion matrix. Regards, Tim -----Original Message----- From: R-help <r-help-bounces at r-project.org> On Behalf Of Paul Bernal Sent: Saturday, March 12, 2022 11:42 AM To: R <r-help at r-project.org> Subject: [R] Is there a Truth Table Generator in R? [External Email] 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 at r-project.org mailing list -- To UNSUBSCRIBE and more, see https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=CtTRgVrLfmt90LZKdUbT_g6aHRJ-kVQogNxWfmzlUtgiW4qDeBreSVq1oI-5B09z&s=10AZl9R7fUIEB2c-nixiSLoAg9aergAyNJnwNoI_W-Y&ePLEASE do read the posting guide https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=CtTRgVrLfmt90LZKdUbT_g6aHRJ-kVQogNxWfmzlUtgiW4qDeBreSVq1oI-5B09z&s=UQzuG0nG_5HKiiR0wX2pUQfsc39cPZtYkKFkzBxuC2U&eand provide commented, minimal, self-contained, reproducible code.
library(sos) tt <- findFn("{truth table}") installPackages(tt) tt This just now opened two sheets in my default browser. The first listed all the help pages in contributed packages with the phrase "truth table", sorted to put first the ones in packages with the most matches. The second is a summary by package. Hope this helps. Spencer Graves On 3/12/22 10:42 AM, Paul Bernal 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 at 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.
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 <paulbernal07 at 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 at 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.