man/survivalcont.Rd
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/survivalcont.h.R
\name{survivalcont}
\alias{survivalcont}
\title{Survival Analysis for Continuous Variable}
\usage{
survivalcont(
data,
elapsedtime,
tint = FALSE,
dxdate,
fudate,
contexpl,
outcome,
outcomeLevel,
dod,
dooc,
awd,
awod,
analysistype = "overall",
cutp = "12, 36, 60",
timetypedata = "ymd",
timetypeoutput = "months",
uselandmark = FALSE,
landmark = 3,
sc = FALSE,
kmunicate = FALSE,
ce = FALSE,
ch = FALSE,
endplot = 60,
ybegin_plot = 0,
yend_plot = 1,
byplot = 12,
findcut = FALSE,
multievent = FALSE,
ci95 = FALSE,
risktable = FALSE,
censored = FALSE
)
}
\arguments{
\item{data}{The data as a data frame.}
\item{elapsedtime}{.}
\item{tint}{.}
\item{dxdate}{.}
\item{fudate}{.}
\item{contexpl}{.}
\item{outcome}{.}
\item{outcomeLevel}{.}
\item{dod}{.}
\item{dooc}{.}
\item{awd}{.}
\item{awod}{.}
\item{analysistype}{.}
\item{cutp}{.}
\item{timetypedata}{select the time type in data}
\item{timetypeoutput}{select the time type in output}
\item{uselandmark}{.}
\item{landmark}{.}
\item{sc}{.}
\item{kmunicate}{.}
\item{ce}{.}
\item{ch}{.}
\item{endplot}{.}
\item{ybegin_plot}{.}
\item{yend_plot}{.}
\item{byplot}{.}
\item{findcut}{.}
\item{multievent}{.}
\item{ci95}{.}
\item{risktable}{.}
\item{censored}{.}
}
\value{
A results object containing:
\tabular{llllll}{
\code{results$todo} \tab \tab \tab \tab \tab a html \cr
\code{results$coxSummary} \tab \tab \tab \tab \tab a preformatted \cr
\code{results$coxTable} \tab \tab \tab \tab \tab a table \cr
\code{results$tCoxtext2} \tab \tab \tab \tab \tab a html \cr
\code{results$rescutTable} \tab \tab \tab \tab \tab a table \cr
\code{results$plot4} \tab \tab \tab \tab \tab an image \cr
\code{results$plot5} \tab \tab \tab \tab \tab an image \cr
\code{results$medianSummary} \tab \tab \tab \tab \tab a preformatted \cr
\code{results$medianTable} \tab \tab \tab \tab \tab a table \cr
\code{results$survTableSummary} \tab \tab \tab \tab \tab a preformatted \cr
\code{results$survTable} \tab \tab \tab \tab \tab a table \cr
\code{results$plot2} \tab \tab \tab \tab \tab an image \cr
\code{results$plot3} \tab \tab \tab \tab \tab an image \cr
\code{results$plot6} \tab \tab \tab \tab \tab an image \cr
\code{results$calculatedtime} \tab \tab \tab \tab \tab an output \cr
\code{results$outcomeredifened} \tab \tab \tab \tab \tab an output \cr
\code{results$calculatedcutoff} \tab \tab \tab \tab \tab an output \cr
}
Tables can be converted to data frames with \code{asDF} or \code{\link{as.data.frame}}. For example:
\code{results$coxTable$asDF}
\code{as.data.frame(results$coxTable)}
}
\description{
Survival Analysis for Continuous Variable
}