Learn R Programming

TSQCA (version 1.0.0)

generate_solution_note: Generate solution note for multiple solutions

Description

Creates a note explaining that multiple equivalent solutions exist and that the displayed configuration is based on M1.

Usage

generate_solution_note(
  n_sol,
  epi_list = NULL,
  style = c("simple", "detailed"),
  language = c("en", "ja"),
  format = c("markdown", "latex")
)

Value

Character string of the note, or empty string if n_sol <= 1.

Arguments

n_sol

Integer. Number of solutions.

epi_list

Character vector. Essential prime implicants (NULL to omit).

style

Character. "simple" or "detailed".

language

Character. "en" or "ja".

format

Character. "markdown" or "latex".

Examples

Run this code
# Simple note
generate_solution_note(2, style = "simple")

# Detailed note with EPIs
generate_solution_note(3, epi_list = c("A*B", "C"), style = "detailed")

# Japanese
generate_solution_note(2, style = "simple", language = "ja")

Run the code above in your browser using DataLab