The function returns the LaTeX code to create a tikz figure representing the Hasse diagram drawn from a set of profiles (prof), an incidence matrix (Z) or a cover matrix (C). The code can be copied and pasted into a latex file. The tex source requires the tikz package,
Usage
latex(y, ...)
## S3 method for class 'wprof':
latex(y, label = "", caption = "", scale = c(1, 1), ...)
## S3 method for class 'incidence':
latex(y, label = "", caption = "", scale = c(1, 1), ...)
## S3 method for class 'cover':
latex(y, label = "", caption = "", scale = c(1, 1), ...)
Arguments
y
an object of S3 class wprof, an object of S3 class incidence or an object of S3 class cover.
label
the label of the LaTeX figure.
caption
the caption of the LaTeX figure.
scale
a vector of two elements to control the scale of the X-axis and the scale of the Y-axis in the LaTeX output.