Sort and Select Distribution Components

mx_parmlist_sort(p)

mx_parmlist_select(p, N = 1, item = c("L", "mean", "sd"), ascending = TRUE)

mx_intermediate(p, as.vector = TRUE)

mx_wildtype(p, as.vector = TRUE)

mx_select(
  obj,
  type = c("resistant", "wildtype", "intermediate", "hypersensitive", "nonresistant")
)

mx_subset(
  p,
  type = c("resistant", "wildtype", "intermediate", "hypersensitive", "nonresistant"),
  as.vector = TRUE
)

Arguments

p

mixture distribution object or parameter list

N

number of components

item

parameter name used for sorting and selection (e.g. 'L', 'mean', 'sd')

ascending

ascending (TRUE) or descending (FALSE) order

as.vector

if TRUE, result is returned as a vector, otherwise as list

obj

mixture distribution object

type

kind of subset

...

reserved for future extensions

Value