Package: ggrcs 0.4.2

Qiang LIU

ggrcs: Draw Histograms and Restricted Cubic Splines (RCS)

You can use this function to easily draw a combined histogram and restricted cubic spline. The function draws the graph through 'ggplot2'. RCS fitting requires the use of the rcs() function of the 'rms' package. Can fit cox regression, logistic regression. This method was described by Per Kragh (2003) <doi:10.1002/sim.1497>.

Authors:Qiang LIU [aut, cre]

ggrcs_0.4.2.tar.gz
ggrcs_0.4.2.tar.gz(r-4.5-noble)ggrcs_0.4.2.tar.gz(r-4.4-noble)
ggrcs_0.4.2.tgz(r-4.4-emscripten)
ggrcs.pdf |ggrcs.html
ggrcs/json (API)
NEWS

# Install 'ggrcs' in R:
install.packages('ggrcs', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:
  • smoke - A data on age and smoking rates.

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.71 score 7 scripts 1.0k downloads 3 exports 78 dependencies

Last updated 2 months agofrom:299035862c. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 25 2024
R-4.5-linuxOKOct 25 2024

Exports:ggrcsggrcs2singlercs

Dependencies:backportsbase64encbslibcachemcheckmatecliclustercodetoolscolorspacecowplotdata.tabledigestevaluatefansifarverfastmapfontawesomeforeignFormulafsggplot2gluegridExtragtablehighrHmischtmlTablehtmltoolshtmlwidgetsisobandjquerylibjsonliteknitrlabelinglatticelifecyclemagrittrMASSMatrixMatrixModelsmemoisemgcvmimemultcompmunsellmvtnormnlmennetpillarpkgconfigpolsplinequantregR6rappdirsRColorBrewerrlangrmarkdownrmsrpartrstudioapisandwichsassscalesSparseMstringistringrsurvivalTH.datatibbletinytexutf8vctrsviridisviridisLitewithrxfunyamlzoo

ggrcs_vignette

Rendered fromggrcs_vignette.Rmdusingknitr::rmarkdownon Oct 25 2024.

Last update: 2024-01-30
Started: 2023-04-25

Readme and manuals

Help Manual

Help pageTopics
ggrcsggrcs
ggrcs2ggrcs2
predatapredata
predata.coxphpredata.coxph
predata.lrmpredata.lrm
predata.olspredata.ols
singlercssinglercs
A data on age and smoking rates.smoke