Skip to contents

[Stable]

Generates an object of class PMpta.targ which can be used in the $new() method for PM_pta or $pta() method for PM_sim for targets sampled from a distribution.

Usage

makePTAtarget(x)

Arguments

x

A data.frame or name of .csv file in working directory whose first two columns are targets and the number of samples for each target. An example can be seen for Staphylococcus aureus susceptibility to vancomycin at EUCAST.

Value

A data frame with two columns named targets and n, of class PMpta.targ.

See also

Examples

if (FALSE) { # \dontrun{
makePTAtarget(mic1)
} # }