Res2Txt: Convert sNCA output table to text form

View source: R/Res2Txt.R

Res2TxtR Documentation

Convert sNCA output table to text form

Description

This converts the table output of sNCA to text form output.

Usage

Res2Txt(ResNCA, x, y, dose = 0, adm = "Extravascular", dur = 0, doseUnit = "mg", 
        down = "Linear")

Arguments

ResNCA

Output table from sNCA

x

usually time

y

usually concentration

dose

given amount

adm

one of "Bolus" or "Infusion" or "Extravascular" to indicate drug administration mode

dur

duration of infusion

doseUnit

unit of dose

down

either of "Linear" or "Log" to indicate the way to calculate AUC and AUMC

Value

Text form output from the coversion of table form output

Author(s)

Kyun-Seop Bae <k@acr.kr>

See Also

txtNCA, pdfNCA, rtfNCA

Examples

x = Theoph[Theoph$Subject=="1","Time"]
y = Theoph[Theoph$Subject=="1","conc"]
z = sNCA(x, y, dose=320, doseUnit="mg", concUnit="mg/L", timeUnit="h")
Res2Txt(z, x, y)  

ncar documentation built on Nov. 19, 2023, 9:06 a.m.