name.Rd
Retrieve or set the object internal name
name(x) # S3 method for Distribution name(x) # S3 method for Distribution name(x) <- value # S3 method for Model name(x) # S3 method for Distribution name(x) <- value # S3 method for Model setName(model, newName)
x | distribution, compositional model |
---|
character
name of distribution or model
Using functions name
and name<-
you can read
and set the name of a distribution or a compositional model which can be used for your
internal needs.
#> [1] "pi"name(Pi) <- "new name" Pi#> Probability distribution #> * Name:new name #> * Info: #> * Variables:A, B #> * Non-empty items:4 #> NULL