finalfit.org Open in urlscan Pro
185.199.109.153  Public Scan

Submitted URL: http://finalfit.org/
Effective URL: https://finalfit.org/
Submission Tags: @phish_report
Submission: On January 01 via api from FI — Scanned from FI

Form analysis 0 forms found in the DOM

Text Content

Toggle navigation finalfit 1.0.7
 * Get started
 * Reference
 * Articles
   * All plots examples
   * All tables examples
   * Bootstrap simulation for model prediction
   * Preparing data for finalfit
   * Exporting tables and plots
   * Missing data
   * Time-to-event (Survival)
 * Changelog

 * 


FINALFIT

The finalfit package provides functions that help you quickly create elegant
final results tables and plots when modelling in R. These can easily be exported
as Word documents, PDFs, or html files.

Its design follows Hadley Wickham’s tidy tool manifesto.

In addition, it provides functions for identifying and handling missing data,
together with a number of functions to bootstrap simulate regression model
results.


INSTALLATION

You can install finalfit from CRAN:

install.packages("finalfit")

It is recommended that this package is used together with dplyr which can be
installed via:

install.packages("dplyr")


DOCUMENTATION

The package documentation is maintained independently at finalfit.org.


EXAMPLES

See getting started and the All tables vignettes for extensive examples.


CROSSTABLE / TABLE 1

# Crosstable 
explanatory = c("age.factor", "sex.factor", "obstruct.factor")
dependent = 'mort_5yr'
colon_s %>%
  summary_factorlist(dependent, explanatory, 
  p=TRUE, add_dependent_label=TRUE) -> t1
knitr::kable(t1, align=c("l", "l", "r", "r", "r"))




REGRESSION TABLE

explanatory = c("age.factor", "sex.factor", 
  "obstruct.factor", "perfor.factor")
dependent = 'mort_5yr'
colon_s %>%
  finalfit(dependent, explanatory, metrics=TRUE) -> t2
knitr::kable(t2[[1]], row.names=FALSE, align=c("l", "l", "r", "r", "r", "r"))
knitr::kable(t2[[2]], row.names=FALSE, col.names="")

When exported to PDF:






REGRESSION PLOTS

explanatory = c("age.factor", "sex.factor", 
  "obstruct.factor", "perfor.factor")
dependent = 'mort_5yr'
colon_s %>%
  or_plot(dependent, explanatory)




LINKS

 * View on CRAN
 * Browse source code
 * Report a bug


LICENSE

 * MIT + file LICENCE


CITATION

 * Citing finalfit


DEVELOPERS

 * Ewen Harrison
   Author, maintainer
 * Tom Drake
   Author
 * Riinu Pius
   Author


DEV STATUS

 * 
 * 
 * 
 * 
 * 
 * 

Developed by Ewen Harrison, Tom Drake, Riinu Pius.

Site built with pkgdown 2.0.6.