Skip to contents

Remove one or more protocols from a Snapshot by name.

Usage

remove_protocol(snapshot, protocol_name)

Arguments

snapshot

A Snapshot object.

protocol_name

Character vector of protocol names to remove.

Value

The updated Snapshot object, returned invisibly.

Examples

if (FALSE) { # \dontrun{
snapshot <- load_snapshot("Midazolam") |>
  remove_protocol("IV bolus 1mg")
} # }