survout

R 패키지 메타데이터와 수집 신호를 모아 봅니다.

Packages / CRAN / survout

survout

v0.1.0
survout
Repository CRANLicense GPL-3Needs compilation no
DOI
10.32614/CRAN.package.survout

Core Signals

첫 화면에서 판단해야 할 수집 신호를 먼저 배치합니다.

0
표시할 핵심 신호가 없습니다.

Supported Backends

DESCRIPTION에서 감지한 backend 관련 package입니다.

0
backend package 신호가 없습니다.

Quick Facts

기본 메타데이터를 작은 카드와 토큰으로 압축합니다.

profile
Repository
CRAN
Version
0.1.0
License
GPL-3
Needs compilation
no
Last observed
2026-05-30
CRAN
cran.r-project.org/package=survout

수집 소스별 패키지 정보

1개 소스
CRAN
0.1.0
2026-05-30
License
GPL-3
Imports
cmprsk, dplyr, openxlsx, stats, survival, tibble
Suggests
covr, MASS, reshape2, testthat (>= 3.0.0)
Needs compilation
no
Last observed
2026-05-30 10:45:11

이 패키지가 의존하는 패키지

5개 표시전체 10개
PackageTypeSpec
cmprsk
CRAN · 0.1.0 · 2026-05-30
Importscmprsk
dplyr
CRAN · 0.1.0 · 2026-05-30
Importsdplyr
openxlsx
CRAN · 0.1.0 · 2026-05-30
Importsopenxlsx
stats
CRAN · 0.1.0 · 2026-05-30
Importsstats
survival
CRAN · 0.1.0 · 2026-05-30
Importssurvival
1 / 2

이 패키지를 쓰는 패키지

0개 표시전체 0개
PackageTypeSpec
표시할 dependency edge가 없습니다.
1 / 1

패키지 페이지

All links
26
Repository
CRAN
Version
0.1.0
Collected
2026-05-19 03:35:17
Package page
https://cran.r-project.org/web/packages/survout/index.html
DOI
10.32614/CRAN.package.survout
CRAN checks
https://cran.r-project.org/web/checks/check_results_survout.html
README
https://cran.r-project.org/web/packages/survout/readme/README.html
NEWS
https://cran.r-project.org/web/packages/survout/news/news.html
Reference HTML
https://cran.r-project.org/web/packages/survout/refman/survout.html
Reference PDF
https://cran.r-project.org/web/packages/survout/survout.pdf
Source package
https://cran.r-project.org/src/contrib/survout_0.1.0.tar.gz
Page fields
Author
Xuefei Jia
CRAN Checks
survout results
DOI
10.32614/CRAN.package.survout
License
GPL-3
Maintainer
Xuefei Jia <xuefeij.ai at gmail.com>
Materials
README , NEWS
NeedsCompilation
no
Package Source
survout_0.1.0.tar.gz
Published
2022-09-26
Reference Manual
survout.html , survout.pdf
Version
0.1.0
Windows Binaries
r-devel: survout_0.1.0.zip , r-release: survout_0.1.0.zip , r-oldrel: survout_0.1.0.zip
MacOS Binaries
r-release (arm64): survout_0.1.0.tgz , r-oldrel (arm64): survout_0.1.0.tgz , r-release (x86_64): survout_0.1.0.tgz , r-oldrel (x86_64): survout_0.1.0.tgz
Version
0.1.0
Published
2022-09-26
DOI
10.32614/CRAN.package.survout
Author
Xuefei Jia
Maintainer
Xuefei Jia <xuefeij.ai at gmail.com>
License
GPL-3
NeedsCompilation
no
Materials
README , NEWS
CRAN Checks
survout results
Reference Manual
survout.html , survout.pdf
Package Source
survout_0.1.0.tar.gz
Windows Binaries
r-devel: survout_0.1.0.zip , r-release: survout_0.1.0.zip , r-oldrel: survout_0.1.0.zip
MacOS Binaries
r-release (arm64): survout_0.1.0.tgz , r-oldrel (arm64): survout_0.1.0.tgz , r-release (x86_64): survout_0.1.0.tgz , r-oldrel (x86_64): survout_0.1.0.tgz
Page sections 3
Documentation
Heading
Documentation
Links
[{"label":"survout.html","section":"","type":"","url":"https://cran.r-project.org/web/packages/survout/refman/survout.html"},{"label":"survout.pdf","section":"","type":"","url":"https://cran.r-project.org/web/packages/survout/survout.pdf"}]
Text
Reference manual: survout.html , survout.pdf
Downloads
Heading
Downloads
Links
[{"label":"survout_0.1.0.tar.gz","section":"","type":"","url":"https://cran.r-project.org/src/contrib/survout_0.1.0.tar.gz"},{"label":"survout_0.1.0.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.7/survout_0.1.0.zip"},{"label":"survout_0.1.0.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.6/survout_0.1.0.zip"},{"label":"survout_0.1.0.zip","section":"","type":"","url":"https://cran.r-project.org/bin/windows/contrib/4.5/survout_0.1.0.zip"},{"label":"survout_0.1.0.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/sonoma-arm64/contrib/4.6/survout_0.1.0.tgz"},{"label":"survout_0.1.0.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-arm64/contrib/4.5/survout_0.1.0.tgz"},{"label":"survout_0.1.0.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.6/survout_0.1.0.tgz"},{"label":"survout_0.1.0.tgz","section":"","type":"","url":"https://cran.r-project.org/bin/macosx/big-sur-x86_64/contrib/4.5/survout_0.1.0.tgz"}]
Text
Package source: survout_0.1.0.tar.gz Windows binaries: r-devel: survout_0.1.0.zip , r-release: survout_0.1.0.zip , r-oldrel: survout_0.1.0.zip macOS binaries: r-release (arm64): survout_0.1.0.tgz , r-oldrel (arm64): survout_0.1.0.tgz , r-release (x86_64): survout_0.1.0.tgz , r-oldrel (x86_64): survout_0.1.0.tgz
Linking
Heading
Linking
Links
[{"label":"https://CRAN.R-project.org/package=survout","section":"","type":"","url":"https://CRAN.R-project.org/package=survout"}]
Text
Please use the canonical form https://CRAN.R-project.org/package=survout to link to this page.
Materials 2
Documentation 2
Downloads 8
All page links 26

패키지 문서 원문

4 artifacts
field
NEWS
CRAN · 0.1.0 · Materials · text/html · 813 · 2026-05-07
Title
NEWS
Label
NEWS
Text content
Text content
NEWS code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} survout 0.1.0 Added a NEWS.md file to track changes to the package.
field
README
CRAN · 0.1.0 · Materials · text/html · 909 · 2026-05-07
Title
README
Label
README
Text content
Text content
README code{white-space: pre-wrap;} span.smallcaps{font-variant: small-caps;} span.underline{text-decoration: underline;} div.column{display: inline-block; vertical-align: top; width: 50%;} div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} ul.task-list{list-style: none;} Survout This is my work related survival output format package. To install: the latest development version: devtools::install_github("SophiaJia/Survout")
reference_manual_html
Reference manual HTML
CRAN · 0.1.0 · Documentation · text/html · 22,604 · 2026-05-07
Title
Help for package survout
Label
Reference manual HTML
Text content
Text content
Help for package survout const macros = { "\\R": "\\textsf{R}", "\\mbox": "\\text", "\\code": "\\texttt"}; function processMathHTML() { var l = document.getElementsByClassName('reqn'); for (let e of l) { katex.render(e.textContent, e, { throwOnError: false, macros }); } return; } Package {survout} Contents crisk_cat crisk_con crisk_multi crisk_multiuni crisk_ord factor2ind p2excel p2excel_pre surv_multi surv_multiuni surv_uni_cat surv_uni_con Type: Package Title: Excel Conversion of R Surival Analysis Output Version: 0.1.0 Author: Xuefei Jia Maintainer: Xuefei Jia <xuefeij.ai@gmail.com> Description: Simple and quick method of exporting the most often used survival analysis results to an Excel sheet. License: GPL-3 Imports: cmprsk, dplyr, openxlsx, stats, survival, tibble Suggests: covr, MASS, reshape2, testthat (≥ 3.0.0) Config/testthat/edition: 3 Encoding: UTF-8 RoxygenNote: 7.1.1 NeedsCompilation: no Packaged: 2022-09-25 19:50:44 UTC; jiax Repository: CRAN Date/Publication: 2022-09-26 12:50:02 UTC Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Categorical Only) Description This function generates a table of competing risk analysis result with number of patients,number of event, number of competing event, Usage crisk_cat( csurv, cevent, cvars, gnames, month = 0, y1 = TRUE, y2 = TRUE, y5 = TRUE ) Arguments csurv the duration of follow-up time in months. cevent the status indicator, which is generally 0 = alive, 1 = event, 2 = other event cvars a vector, which has the variable's values (categorical only) gnames a text string, which is the name of the variable. month a number to get the month-rate of competing risk. y1 logical value indicating whether the 1-year competing risk rate should be reported. y2 logical value indicating whether the 2-year competing risk rate should be reported. y5 logical value indicating whether the 5-year competing risk rate should be reported. Value a tibble of competing risk analysis output. Examples Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 output <- crisk_cat(Dat$time, Dat$status, Dat$ulcer, "ulcer") Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Continuous and Ordinal Only) Description This function generates a table of competing risk analysis result with HR (95% Confidence Interval),P value. Usage crisk_con(csurv, cevent, cvars, gnames) Arguments csurv the duration of follow-up time in months. cevent the status indicator, which is generally 0 = alive, 1 = event, 2 = other event cvars a matrix, which has the variables' values (continuous and ordinal only) gnames a text vector, which are the names of the variables. Value a dataframe containing HRs (with 95% Confidence Intervals) and P values Examples Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 X <- cbind(Dat$age, Dat$thickness) Gnames <- c('age', 'thickness') output <- crisk_con(Dat$time, Dat$status, X, Gnames) Modify the Output for a Multi-variable Competing Risk Analysis . Description Create a table with the general multi-variable competing risk analysis results, including the HR (95 percent CI), P value. Usage crisk_multi(dat, csurv, cevent, convars = NULL, catvars = NULL) Arguments dat a data.frame in which to interpret the variables. csurv this is the follow up time. cevent the status indicator, normally 0=alive, 1=dead. convars a vector of con variable names. catvars a vector of cat variable names. Value a tibble of competing risk analysis output. Examples Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 con_var <- c("age","thickness") cat_var <- c("sex","ulcer") multi_out <- crisk_multi(Dat, "time", "status", catvars = cat_var, convars =con_var) Modify the Output for Multiple Uni-variable Competing Risk Analysis . Description This function generates a table of competing risk analysis result with number of patients, number of event, number of competing event, Usage crisk_multiuni( dat, csurv, cevent, catvars = NULL, convars = NULL, ordvars = NULL, y1 = TRUE, y2 = TRUE, y5 = TRUE, month = 0 ) Arguments dat a data.frame in which to interpret the variables. csurv this is the follow up time. cevent the status indicator, normally 0=alive, 1=dead. catvars a vector of cat variable names. convars a vector of con variable names. ordvars a vector of ordinal variable names. y1 logical value indicating whether the 1-year competing risk rate should be reported. y2 logical value indicating whether the 2-year competing risk rate should be reported. y5 logical value indicating whether the 5-year competing risk rate should be reported. month a number to get the month-rate of competing risk. Value a tibble of competing risk analysis output. Examples Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 Dat$ulcer <- as.factor(Dat$ulcer) con_var <- c("age") ord_var <- c("ulcer") cat_var <- c("sex") uni_out <- crisk_multiuni(Dat, "time", "status",cat_var, con_var, ord_var) Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Ordinal Only) Description This function generates a table of competing risk analysis result with number of patients, number of event, number of competing event, Usage crisk_ord( csurv, cevent, cvars, gnames, month = 0, y1 = TRUE, y2 = TRUE, y5 = TRUE ) Arguments csurv the duration of follow-up time in months. cevent the status indicator, which is generally 0 = alive, 1 = event, 2 = other event cvars a vector, which has the variable's values (ordinal only) gnames a text string, which is the name of the variable. month a number to get the month-rate of competing risk. y1 logical value indicating whether the 1-year competing risk rate should be reported. y2 logical value indicating whether the 2-year competing risk rate should be reported. y5 logical value indicating whether the 5-year competing risk rate should be reported. Value a tibble of competing risk analysis output. Examples Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 output <- crisk_ord(Dat$time, Dat$status, as.factor(Dat$year), "year") Make An Integer Matrix Out of A Factor Variable. Description Create an indicator matrix of dimension length(x) x (nlevels(x)-1) with the column corresponding to the baseline level removed (by default the first level is used as baseline). Usage factor2ind(x, baseline) Arguments x a variable. baseline a string indicating the reference level. Value a matrix Examples x = gl(4, 2, labels = c( "A", "B", "C", "D")) factor2ind(x) factor2ind(x, "C") Export the A Single Dataframe to An Excel Sheet Description The function saves a dataframe into an excel sheet with a predetermined format. Usage p2excel( tabname = "Default", datastable, tablename = "Default", filename = "Default.xlsx" ) Arguments tabname a string with the tab's name. datastable the dataframe that will be exported to Excel. tablename a string containing the table label and title, which will appear as the first row filename the name of the spreadsheet Value a spreadsheet containing an exported tables Prepare to Export the Dataframe to An Excel Sheet. Description The function saves the dataframe as a tab and prepares it for output into an excel sheet with a predetermined format. Usage p2excel_pre(tabname = "Default", datastable, tablename = "Default", filename) Arguments tabname a string with the tab's name. datastable the dataframe that will be exported to Excel. tablename a string containing the table label and title, which will appear as the first row filename the name of the spreadsheet Value a spreadsheet containing all of the exported tables Examples Dat <- survival::lung results <- surv_uni_cat(Dat, "time", "status", "sex", report_index = TRUE) wb <- openxlsx::createWorkbook() wb <- p2excel_pre("survival_results",results,"Table 1. Overall Survival anlaysis",wb) ## Not run: ## saveWorkbook(wb, file = "os.xlsx", overwrite = TRUE) ## End(Not run) Modify the Output for a Multi-variable Survival Analysis. Description Create a table with the general multi-variable survival analysis results, including the HR (95 percent CI),
section
survout.pdf
CRAN · 0.1.0 · Documentation · application/pdf · 95,629 · 2026-05-07
Title
survout.pdf
Label
survout.pdf

Reference for survout (0.1.0)

12개 topic
crisk_cat
Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Categorical Only)
CRAN · 0.1.0 · survout/man/crisk_cat.Rd · 2026-05-07

This function generates a table of competing risk analysis result with number of patients,number of event, number of competing event,

Aliases
crisk_cat
Usage
crisk_cat( csurv, cevent, cvars, gnames, month = 0, y1 = TRUE, y2 = TRUE, y5 = TRUE )
Arguments
csurv
the duration of follow-up time in months.
cevent
the status indicator, which is generally 0 = alive, 1 = event, 2 = other event
cvars
a vector, which has the variable's values (categorical only)
gnames
a text string, which is the name of the variable.
month
a number to get the month-rate of competing risk.
y1
logical value indicating whether the 1-year competing risk rate should be reported.
y2
logical value indicating whether the 2-year competing risk rate should be reported.
y5
logical value indicating whether the 5-year competing risk rate should be reported.
Value
a tibble of competing risk analysis output.
Examples
Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 output <- crisk_cat(Dat$time, Dat$status, Dat$ulcer, "ulcer")
crisk_con
Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Continuous and Ordinal Only)
CRAN · 0.1.0 · survout/man/crisk_con.Rd · 2026-05-07

This function generates a table of competing risk analysis result with HR (95% Confidence Interval),P value.

Aliases
crisk_con
Usage
crisk_con(csurv, cevent, cvars, gnames)
Arguments
csurv
the duration of follow-up time in months.
cevent
the status indicator, which is generally 0 = alive, 1 = event, 2 = other event
cvars
a matrix, which has the variables' values (continuous and ordinal only)
gnames
a text vector, which are the names of the variables.
Value
a dataframe containing HRs (with 95% Confidence Intervals) and P values
Examples
Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 X <- cbind(Dat$age, Dat$thickness) Gnames <- c('age', 'thickness') output <- crisk_con(Dat$time, Dat$status, X, Gnames)
crisk_multi
Modify the Output for a Multi-variable Competing Risk Analysis .
CRAN · 0.1.0 · survout/man/crisk_multi.Rd · 2026-05-07

Create a table with the general multi-variable competing risk analysis results, including the HR (95 percent CI), P value.

Aliases
crisk_multi
Usage
crisk_multi(dat, csurv, cevent, convars = NULL, catvars = NULL)
Arguments
dat
a data.frame in which to interpret the variables.
csurv
this is the follow up time.
cevent
the status indicator, normally 0=alive, 1=dead.
convars
a vector of con variable names.
catvars
a vector of cat variable names.
Value
a tibble of competing risk analysis output.
Examples
Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 con_var <- c("age","thickness") cat_var <- c("sex","ulcer") multi_out <- crisk_multi(Dat, "time", "status", catvars = cat_var, convars =con_var)
crisk_multiuni
Modify the Output for Multiple Uni-variable Competing Risk Analysis .
CRAN · 0.1.0 · survout/man/crisk_multiuni.Rd · 2026-05-07

This function generates a table of competing risk analysis result with number of patients, number of event, number of competing event,

Aliases
crisk_multiuni
Usage
crisk_multiuni( dat, csurv, cevent, catvars = NULL, convars = NULL, ordvars = NULL, y1 = TRUE, y2 = TRUE, y5 = TRUE, month = 0 )
Arguments
dat
a data.frame in which to interpret the variables.
csurv
this is the follow up time.
cevent
the status indicator, normally 0=alive, 1=dead.
catvars
a vector of cat variable names.
convars
a vector of con variable names.
ordvars
a vector of ordinal variable names.
y1
logical value indicating whether the 1-year competing risk rate should be reported.
y2
logical value indicating whether the 2-year competing risk rate should be reported.
y5
logical value indicating whether the 5-year competing risk rate should be reported.
month
a number to get the month-rate of competing risk.
Value
a tibble of competing risk analysis output.
Examples
Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 Dat$ulcer <- as.factor(Dat$ulcer) con_var <- c("age") ord_var <- c("ulcer") cat_var <- c("sex") uni_out <- crisk_multiuni(Dat, "time", "status",cat_var, con_var, ord_var)
crisk_ord
Modify the Output for Uni-variable and Multi-variable Competing Risk Analysis (Ordinal Only)
CRAN · 0.1.0 · survout/man/crisk_ord.Rd · 2026-05-07

This function generates a table of competing risk analysis result with number of patients, number of event, number of competing event,

Aliases
crisk_ord
Usage
crisk_ord( csurv, cevent, cvars, gnames, month = 0, y1 = TRUE, y2 = TRUE, y5 = TRUE )
Arguments
csurv
the duration of follow-up time in months.
cevent
the status indicator, which is generally 0 = alive, 1 = event, 2 = other event
cvars
a vector, which has the variable's values (ordinal only)
gnames
a text string, which is the name of the variable.
month
a number to get the month-rate of competing risk.
y1
logical value indicating whether the 1-year competing risk rate should be reported.
y2
logical value indicating whether the 2-year competing risk rate should be reported.
y5
logical value indicating whether the 5-year competing risk rate should be reported.
Value
a tibble of competing risk analysis output.
Examples
Dat <- MASS::Melanoma Dat$time <- Dat$time/30.5 output <- crisk_ord(Dat$time, Dat$status, as.factor(Dat$year), "year")
factor2ind
Make An Integer Matrix Out of A Factor Variable.
CRAN · 0.1.0 · survout/man/factor2ind.Rd · 2026-05-07

Create an indicator matrix of dimension length(x) x (nlevels(x)-1) with the column corresponding to the baseline level removed (by default the first level is used as baseline).

Aliases
factor2ind
Usage
factor2ind(x, baseline)
Arguments
x
a variable.
baseline
a string indicating the reference level.
Value
a matrix
Examples
x = gl(4, 2, labels = c( "A", "B", "C", "D")) factor2ind(x) factor2ind(x, "C")
p2excel
Export the A Single Dataframe to An Excel Sheet
CRAN · 0.1.0 · survout/man/p2excel.Rd · 2026-05-07

The function saves a dataframe into an excel sheet with a predetermined format.

Aliases
p2excel
Usage
p2excel( tabname = "Default", datastable, tablename = "Default", filename = "Default.xlsx" )
Arguments
tabname
a string with the tab's name.
datastable
the dataframe that will be exported to Excel.
tablename
a string containing the table label and title, which will appear as the first row
filename
the name of the spreadsheet
Value
a spreadsheet containing an exported tables
p2excel_pre
Prepare to Export the Dataframe to An Excel Sheet.
CRAN · 0.1.0 · survout/man/p2excel_pre.Rd · 2026-05-07

The function saves the dataframe as a tab and prepares it for output into an excel sheet with a predetermined format.

Aliases
p2excel_pre
Usage
p2excel_pre(tabname = "Default", datastable, tablename = "Default", filename)
Arguments
tabname
a string with the tab's name.
datastable
the dataframe that will be exported to Excel.
tablename
a string containing the table label and title, which will appear as the first row
filename
the name of the spreadsheet
Value
a spreadsheet containing all of the exported tables
Examples
Dat <- survival::lung results <- surv_uni_cat(Dat, "time", "status", "sex", report_index = TRUE) wb <- openxlsx::createWorkbook() wb <- p2excel_pre("survival_results",results,"Table 1. Overall Survival anlaysis",wb) ## Not run: ## saveWorkbook(wb, file = "os.xlsx", overwrite = TRUE) ## End(Not run)
surv_multi
Modify the Output for a Multi-variable Survival Analysis.
CRAN · 0.1.0 · survout/man/surv_multi.Rd · 2026-05-07

Create a table with the general multi-variable survival analysis results, including the HR (95 percent CI), P value.

Aliases
surv_multi
Usage
surv_multi(...)
Arguments
...
arguments will be passed to coxph
Value
a dataframe containing coxph output that includes variable names, HRs (95% CIs), and P values.
Examples
Dat <- survival::lung surv_multi(survival::Surv(time, status) ~ as.factor(sex) + age + meal.cal, data = Dat)
surv_multiuni
Modify the Output for Multiple Uni-variable Survival Analysis
CRAN · 0.1.0 · survout/man/surv_multiuni.Rd · 2026-05-07

This function generates a table with the general survival analysis results, including the number of total patients, the number of sevents, the estimated median, the 1,2,5 year rate, the HR (95 percent confidence interval), the P value, the AIC, and the C index. This function just modifies the output table's format.

Aliases
surv_multiuni
Usage
surv_multiuni( dat, stime, sevent, catvars = NULL, convars = NULL, y1 = TRUE, y2 = TRUE, y5 = TRUE, medianCI = FALSE, report_index = FALSE )
Arguments
dat
a dat.frame.
stime
the duration of follow-up time in months.
sevent
the status indicator, which is generally 0 = alive, 1 = dead.
catvars
a vector of categorical variable names.
convars
a vector of continuous variables names.
y1
logical value indicating whether the 1-year survival rate should be reported.
y2
logical value indicating whether the 2-year survival rate should be reported.
y5
logical value indicating whether the 5-year survival rate should be reported.
medianCI
logical value indicating whether the 95 percent confidence interval of projected median survival should be reported.
report_index
logical value indicating if to report the show AIC and C index.
Value
A tibble of survival output
Examples
Dat <- survival::lung convars <- c("age","meal.cal") catvars <- c("sex") surv_multiuni(Dat, "time", "status", catvars, convars, medianCI = TRUE)
surv_uni_cat
Modify the Survival Output for a Categorical Variable.
CRAN · 0.1.0 · survout/man/surv_uni_cat.Rd · 2026-05-07

This function generates a table with the general survival analysis results, including the number of total patients, the number of sevents, the estimated median, the 1,2,5 year rate, the HR (95 percent confidence interval), the P value, the AIC, and the C index. This function just modifies the output table's format.

Aliases
surv_uni_cat
Usage
surv_uni_cat( dat, stime, sevent, svar, month = 0, medianCI = TRUE, y1 = TRUE, y2 = TRUE, y5 = TRUE, report_index = FALSE )
Arguments
dat
a data.frame.
stime
the duration of follow-up time in months.
sevent
the status indicator, which is generally 0 = alive, 1 = dead.
svar
a variable name.
month
a number to get the month-rate of survival.
medianCI
logical value indicating whether the 95 percent confidence interval of projected median survival should be reported.
y1
logical value indicating whether the 1-year survival rate should be reported.
y2
logical value indicating whether the 2-year survival rate should be reported.
y5
logical value indicating whether the 5-year survival rate should be reported.
report_index
logical value indicating if to report the show AIC and C index.
Value
a tibble of survival output
Examples
Dat <- survival::lung surv_uni_cat(Dat, "time", "status", "sex", report_index = TRUE)
surv_uni_con
Modify the Survival Output for a Continuous Variable.
CRAN · 0.1.0 · survout/man/surv_uni_con.Rd · 2026-05-07

This function generates a table with the general survival analysis results, including the number of total patients, the number of events, the P value, the AIC, and the C index. This function just modifies the output table's format.

Aliases
surv_uni_con
Usage
surv_uni_con(dat, stime, sevent, svar, report_index = FALSE)
Arguments
dat
a data.frame.
stime
the duration of follow-up time in months.
sevent
the status indicator, which is generally 0 = alive, 1 = dead.
svar
a variable name.
report_index
logical value indicating if to report the show AIC and C index.
Value
a tibble of survival results.
Examples
Dat <- survival::lung surv_uni_con(Dat, "time", "status", "age",report_index = TRUE)

버전 이력

RepositoryVersionPublishedFirst seenLast seenDocs
CRAN0.1.02026-05-292026-05-30

보안

표시할 OSV 데이터가 없습니다.

문헌 신호

표시할 OpenAlex 데이터가 없습니다.