Movatterモバイル変換


[0]ホーム

URL:


puzzle

The goal of puzzle is assembling pharmacometric ready data sets fromtabulated files.

Installation

You can install the released version of puzzle fromCRAN with:

install.packages("puzzle")

or download the development version from Github:

devtools::install_github("syneoshealth/puzzle")

Example

This is a basic example which shows you how to solve a commonproblem:

library(puzzle)nm=list(pk =list(parent=as.data.frame(puzzle::df_pk_start)),dose=as.data.frame(puzzle::df_dose_start),cov=as.data.frame(puzzle::df_cov_start))df=puzzle(directory=file.path(getwd()),order=c(0),pk=list(data=nm$pk),dose=list(data=nm$dose),cov=list(data=nm$cov),username ="Mario Gonzalez Sales")#> Automatic coercion to numeric for CMT#> 1=parent#> Automatic coercion to numeric for SEX#> 0=F#> 1=M#> Assembling date and time: 2019-10-30 21:46:58#> Time zone: Europe/Paris#> Number of individuals: 2#> Number of observations: 12#> Dose levels: "100", "200"#> This data set was assembled by Mario Gonzalez Sales

A portion of the pharmacometrics ready data set obtained with thecode showed above is presented below:

CIDTIMETADAMTCMTEVIDDVLDVMDVAGESEX
10.00.010011NANA1771
10.00.0NA100.0NA0771
11.01.0NA1010.82.37954610771
14.04.0NA107.62.02814820771
112.012.0NA102.30.83290910771
124.00.020011NANA1771
124.00.0NA100.0NA0771
125.01.0NA1024.23.18635260771
20.00.010011NANA1820
20.00.0NA100.0NA0820
20.90.9NA107.31.98787430820
23.83.8NA104.01.38629440820
212.212.2NA101.10.09531020820
224.00.020011NANA1820
224.00.0NA100.0NA0820
225.11.1NA1014.12.64617480820

[8]ページ先頭

©2009-2025 Movatter.jp