validate_poppkmod: Perform validation checks on a 'poppkmod' object

View source: R/methods.R

validate_poppkmodR Documentation

Perform validation checks on a 'poppkmod' object

Description

Perform validation checks on a 'poppkmod' object created by 'init_poppkmod'.

Usage

validate_poppkmod(x)

Arguments

x

Object with class "poppkmod" created by init_poppkmod

Value

'poppkmod' object or error

Examples

data <- data.frame(ID = 1:5, AGE = seq(20,60,by=10), TBW = seq(60,80,by=5),
HGT = seq(150,190,by=10), MALE = c(TRUE,TRUE,FALSE,FALSE,FALSE))
validate_poppkmod(init_poppkmod(data, drug = "ppf", model = "eleveld"))

tci documentation built on Aug. 15, 2022, 9:09 a.m.