Giter Site home page Giter Site logo

change labels about ggpmx HOT 2 CLOSED

combefr1 avatar combefr1 commented on June 3, 2024 2
change labels

from ggpmx.

Comments (2)

combefr1 avatar combefr1 commented on June 3, 2024

actually I just realized that labels are changed for stratified diagnostics pmx_plot_cats but not for EBE vs disctrete cov

IWRES vs TIME by categorical covariates

ctr %>% pmx_plot_cats("iwres_time",
                         labels = list(x = "Time (h)")

                      )

from ggpmx.

KZRKZR avatar KZRKZR commented on June 3, 2024

eta_matrix, eta_cats, eta_conts don't support strat.facet
Customization for a different type of chart works:

mySet=pmx_settings(is.draft=TRUE, use.labels = TRUE,
                   cats.labels = list(
                     RACE = c("1"= "As", "2"="Bl", "88" = "Ca", "Other"= "Ot"),
                     #RACE = c("Asian"= "As", "Black"="Bl", "Caucasian" = "Ca", "Other"= "Ot"),
                     ETHN = c("Chinese" = "Ch",
                              "Hispanic/Latino" = "Hi",
                              "Indian (Indian subcontinent)" = "In",
                              "Japanese" = "Ja",
                              "Mixed Ethnicity" = "Mi",
                              "Other"="Ot"),
                     JAP = c("0"="non-Japanese", "1"="japanese")
                   )
)
mlxpath <- file.path(system.file(package = "ggPMX"),
            "testdata","1_popPK_model","project.mlxtran")
ctr <- pmx_mlxtran(mlxpath, config = "standing", settings = mySet)
ctr %>% pmx_plot_eta_box(strat.facet = ~RACE)   

image

from ggpmx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.