mx_parmlist_sort: Sort and Select Distribution Components

Description Usage Arguments

View source: R/mx_parmlist_sort.R

Description

Sort and Select Distribution Components

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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


tpetzoldt/antibioticR documentation built on Sept. 25, 2021, 1:17 p.m.