FreesearchR/inst/apps/data_analysis/www/report.qmd

69 lines
1.2 KiB
Text
Raw Normal View History

2024-11-08 15:13:33 +01:00
---
format:
html:
embed-resources: true
2024-11-08 15:13:33 +01:00
title: "webResearch analysis results"
date: today
author: webResearch Tool
toc: true
2024-11-08 15:13:33 +01:00
execute:
echo: false
params:
data.file: NA
---
```{r setup}
web_data <- readr::read_rds(file = params$data.file)
library(gtsummary)
library(gt)
library(easystats)
library(patchwork)
# library(webResearch)
2024-11-08 15:13:33 +01:00
```
## Introduction
Research should be free and open with easy access for all. The webResearch tool attempts to help lower the bar to participate in contributing to science.
2024-11-08 15:13:33 +01:00
## Methods
Analyses were conducted in R version `r paste(version["major"],version["minor"],sep=".")`.
2024-11-08 15:13:33 +01:00
## Results
Below is the baseline characteristics plotted.
```{r}
#| label: tbl-baseline
#| tbl-cap: Baseline characteristics of included data
2024-11-08 15:13:33 +01:00
web_data$table1
```
Here are the regression results.
```{r}
#| label: tbl-regression
#| tbl-cap: Regression analysis results
2024-11-08 15:13:33 +01:00
web_data$table2
```
## Discussion
Good luck on your further work!
## Sensitivity
Here are the results from testing the regression model:
```{r}
#| label: tbl-checks
#| fig-cap: Regression analysis checks
#| fig-height: 8
#| fig-width: 6
#| fig-dpi: 600
plot(web_data$check)
```