vignettes/uml.R

# Compile UML diagrams with the 'nomnoml' package
library(nomnoml)

nomnoml::nomnoml("
[<package>nexus|

[base::matrix||]

[NumericMatrix||]

[CompositionMatrix|
 +totals: numeric;
 +samples: character;
 +groups: character|
]

[LogRatio|
 +totals: numeric;
 +samples: character;
 +groups: character
 +parts: character;
 +ratio: character;
 +order: integer;
 +base: matrix;
 +weights: numeric|
]

[LR||]

[CLR||]

[ALR||]

[ILR||]

[PLR||]

[LogicalMatrix||]

[OutlierIndex|
 +samples: character;
 +groups: character;
 +distances: matrix;
 +limit: numeric;
 +robust: logical;
 +df: integer|
]

[base::matrix] <:- [NumericMatrix]

[NumericMatrix] <:- [CompositionMatrix]

[NumericMatrix] <:- [LogRatio]

[LogRatio] <:- [LR]
[LogRatio] <:- [CLR]
[LogRatio] <:- [ALR]
[LogRatio] <:- [ILR]
[ILR] <:- [PLR]

[base::matrix] <:- [LogicalMatrix]

[LogicalMatrix] <:- [OutlierIndex]

]
", png = "vignettes/uml.png", width = NULL, height = NULL)

Try the nexus package in your browser

Any scripts or data that you put into this service are public.

nexus documentation built on Sept. 11, 2024, 6:43 p.m.