Learn R Programming

escalation (version 0.1.10)

weight: Outcome weights.

Description

Get a vector of the weights attached to outcomes for evaluated patients.

Usage

weight(x, ...)

Value

a numerical vector

Arguments

x

Object of type selector.

...

Extra args are passed onwards.

Examples

Run this code
skeleton <- c(0.05, 0.1, 0.25, 0.4, 0.6)
target <- 0.25
model <- get_dfcrm(skeleton = skeleton, target = target)
fit <- model %>% fit('1NNN 2NTN')
fit %>% weight()

Run the code above in your browser using DataLab