Automatic Linear and Logistic Regression and Survival Analysis

addFitSummary | Add model summary to an object of class gaze |

addLabelData | Add labels to data |

adjustedPlot | Draw an expected plot |

adjustedPlot2 | Draw a survfitted plot |

adjustedPlot2.survreg | Draw predicted survival curve as a ggplot with an object... |

adjustedPlot.survreg | Draw predicted survival curve with an object survreg |

anderson | Remission survival times of 42 leukemia patients |

anderson1 | Remission survival times of 42 leukemia patients |

anderson2 | Remission survival times of 31 leukemia patients |

as_printable | Convert data.frame to printable form |

autoReg | Perform univariable and multivariable regression and stepwise... |

autoRegCox | perform automatic regression for a class of coxph |

autoReg_sub | Perform univariable and multivariable regression and stepwise... |

autoRegsurvreg | perform automatic regression for a class of survreg |

beNumeric | Whether a string vector can be converted to numeric |

bootPredict | Bootstrap simulation for model prediction |

countGroups | Count groups |

coxzphplot | Graphical Test of Proportional Hazards |

crr2stats | Extract statistics from an object of class crr |

crrFormula | Competing Risk Regression with Formula |

descNum | Make description for numeric summary |

df2flextable | Convert data.frame to flextable |

drawline | draw line character |

expectedPlot | Draw an adjusted Plot for a numeric predictor |

filldown | filldown vector with lead value |

find1stDup | Find first duplicated position |

findDup | Find duplicated term |

fit2final | Make final model using stepwise backward elimination |

fit2lik | extract likelihood information with a coxph object |

fit2list | Make a list of univariable model with multivariable... |

fit2model | Restore fit model data containing AsIs expressions |

fit2multi | Make multivariable regression model by selecting univariable... |

fit2newdata | Make a new data of mean value or most frequent value |

fit2stats | Summarize statistics with a model |

fit2summary | Summarize statistics with a model or model list |

gaze | Produce table for descriptive statistics |

gazeCat | Summary function for categorical variable |

gazeCont | Summary function for continuous variable |

gaze.formula_sub | Produce table for descriptive statistics |

gaze_sub | Summary function for categorical/continuous variable |

getInteraction | Get interaction data from data |

getN | Get number of data specified by 'name' and 'desc' |

getSigVars | Get explanatory variables of a model with significance level... |

ggcmprsk | Draw Cumulative Incidence Curves for Competing Risks |

ggcmprsk2 | Compare cumulative incidence to th Kaplan-Meier estimate |

highlight2 | Highlight a data.frame |

imputedReg | Make a multiple imputed model |

is.mynumeric | Decide whether a vector can be treated as a numeric variable |

label_parse | takes the breaks as input and returns labels as output |

loglogplot | Draw log-log plot |

maxnchar | Return maximum character number except NA |

modelPlot | Draw coefficients/odds ratio/hazard ratio plot |

modelsSummary | Makes table summarizing list of models |

modelsSummaryTable | Makes flextable summarizing list of models |

my.chisq.test2 | Statistical test for categorical variables Statistical test... |

mycphSimple | Fit Simple Proportional Hazards Regression Model |

myformat | Convert data.frame to printable format |

myft | Convert data.frame into flextable |

mysurvregSimple | Fit Simple AFT Model |

my.t.test2 | Statistical test for continuous variables |

num2factor | Convert a numeric column in a data.frame to a factor |

num2stat | Summarize numeric vector to statistical summary |

OEplot | Draw an Observed vs Expected plot |

p2character2 | Change p value to string |

print.autoReg | S3 method print for an object of class autoReg |

printdf | Print function for data.frame |

print.gaze | S3 method print for an object of class gaze |

print.modelPlot | S3 method for an class modelPlot |

reexports | Objects exported from other packages |

removeDup | Remove duplicated term |

residualNull | Make a residual plot of NULL model |

residualPlot | Draw a residual plot with an object of class coxph |

restoreData | restore data with factor in column name |

restoreData2 | restore data with I() in column name |

restoreData3 | restore data with operator in column name |

revOperator | get opposite arithmetic operator |

roundDf | Convert numeric columns of data.frame to character |

setLabel | Add label to a vector |

shorten | Shorten an object of class gaze |

showEffect | Show effects of covariates |

strata2df | Convert a character vector to a data.frame |

survfit2df | Extract survival data from an object of class "survfit" |

survreg2final | Make final model using stepwise backward elimination |

survreg2multi | Make multivariable regression model by selecting univariable... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.