diff --git a/main/404.html b/main/404.html new file mode 100644 index 00000000..b21250d8 --- /dev/null +++ b/main/404.html @@ -0,0 +1,96 @@ + + + + + + + +Page not found (404) • autoslider.core + + + + + + + + + + + +
+
+ + + + +
+
+ + +Content not found. Please use links in the navbar. + +
+ + + +
+ + + + +
+ + + + + + + + diff --git a/main/CONTRIBUTING.html b/main/CONTRIBUTING.html new file mode 100644 index 00000000..c82b9592 --- /dev/null +++ b/main/CONTRIBUTING.html @@ -0,0 +1,188 @@ + +Contribution Guidelines • autoslider.core + + +
+
+ + + +
+
+ + +
+ +

🙏 Thank you for taking the time to contribute!

+

Your input is deeply valued, whether an issue, a pull request, or even feedback, regardless of size, content or scope.

+ +
+

Getting started

+

Please refer the project documentation for a brief introduction. Please also see other articles within the project documentation for additional information.

+
+
+

Code of Conduct

+

A Code of Conduct governs this project. Participants and contributors are expected to follow the rules outlined therein.

+
+
+

License

+

All your contributions will be covered by this project’s license.

+
+
+

Issues

+

We use GitHub to track issues, feature requests, and bugs. Before submitting a new issue, please check if the issue has already been reported. If the issue already exists, please upvote the existing issue 👍.

+

For new feature requests, please elaborate on the context and the benefit the feature will have for users, developers, or other relevant personas.

+
+
+

Pull requests

+
+

GitHub Flow

+

This repository uses the GitHub Flow model for collaboration. To submit a pull request:

+
  1. +

    Create a branch

    +

    Please see the branch naming convention below. If you don’t have write access to this repository, please fork it.

    +
  2. +
  3. +

    Make changes

    +

    Make sure your code

    +
    • passes all checks imposed by GitHub Actions
    • +
    • is well documented
    • +
    • is well tested with unit tests sufficiently covering the changes introduced
    • +
  4. +
  5. +

    Create a pull request (PR)

    +

    In the pull request description, please link the relevant issue (if any), provide a detailed description of the change, and include any assumptions.

    +
  6. +
  7. Address review comments, if any

  8. +
  9. +

    Post approval

    +

    Merge your PR if you have write access. Otherwise, the reviewer will merge the PR on your behalf.

    +
  10. +
  11. +

    Pat yourself on the back

    +

    Congratulations! 🎉 You are now an official contributor to this project! We are grateful for your contribution.

    +
  12. +
+
+

Branch naming convention

+

Suppose your changes are related to a current issue in the current project; please name your branch as follows: <issue_id>_<short_description>. Please use underscore (_) as a delimiter for word separation. For example, 420_fix_ui_bug would be a suitable branch name if your change is resolving and UI-related bug reported in issue number 420 in the current project.

+

If your change affects multiple repositories, please name your branches as follows: <issue_id>_<issue_repo>_<short description>. For example, 69_awesomeproject_fix_spelling_error would reference issue 69 reported in project awesomeproject and aims to resolve one or more spelling errors in multiple (likely related) repositories.

+
+
+

+monorepo and staged.dependencies +

+

Sometimes you might need to change upstream dependent package(s) to be able to submit a meaningful change. We are using staged.dependencies functionality to simulate a monorepo behavior. The dependency configuration is already specified in this project’s staged_dependencies.yaml file. You need to name the feature branches appropriately. This is the only exception from the branch naming convention described above.

+

Please refer to the staged.dependencies package documentation for more details.

+
+
+
+

Coding guidelines

+

This repository follows some unified processes and standards adopted by its maintainers to ensure software development is carried out consistently within teams and cohesively across other repositories.

+
+

Style guide

+

This repository follows the standard tidyverse style guide and uses lintr for lint checks. Customized lint configurations are available in this repository’s .lintr file.

+
+
+

Dependency management

+

Lightweight is the right weight. This repository follows tinyverse recommedations of limiting dependencies to minimum.

+
+
+

Dependency version management

+

If the code is not compatible with all (!) historical versions of a given dependenct package, it is required to specify minimal version in the DESCRIPTION file. In particular: if the development version requires (imports) the development version of another package - it is required to put abc (>= 1.2.3.9000).

+
+
+ +
+

R & package versions

+

We continuously test our packages against the newest R version along with the most recent dependencies from CRAN and BioConductor. We recommend that your working environment is also set up in the same way. You can find the details about the R version and packages used in the R CMD check GitHub Action execution log - there is a step that prints out the R sessionInfo().

+

If you discover bugs on older R versions or with an older set of dependencies, please create the relevant bug reports.

+
+
+

pre-commit

+

We highly recommend that you use the pre-commit tool combined with R hooks for pre-commit to execute some of the checks before committing and pushing your changes.

+

Pre-commit hooks are already available in this repository’s .pre-commit-config.yaml file.

+
+
+
+
+

Recognition model

+

As mentioned previously, all contributions are deeply valued and appreciated. While all contribution data is available as part of the repository insights, to recognize a significant contribution and hence add the contributor to the package authors list, the following rules are enforced:

+
  • Minimum 5% of lines of code authored* (determined by git blame query) OR
  • +
  • Being at the top 5 contributors in terms of number of commits OR lines added OR lines removed*
  • +

*Excluding auto-generated code, including but not limited to roxygen comments or renv.lock files.

+

The package maintainer also reserves the right to adjust the criteria to recognize contributions.

+
+
+

Questions

+

If you have further questions regarding the contribution guidelines, please contact the package/repository maintainer.

+ +
+
+ +
+ + + +
+ + + +
+ + + + + + + + diff --git a/main/LICENSE-text.html b/main/LICENSE-text.html new file mode 100644 index 00000000..218969b1 --- /dev/null +++ b/main/LICENSE-text.html @@ -0,0 +1,84 @@ + +License • autoslider.core + + +
+
+ + + +
+
+ + +
Copyright 2022 F. Hoffmann-La Roche AG
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+    https://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+
+ +
+ + + +
+ + + +
+ + + + + + + + diff --git a/main/authors.html b/main/authors.html new file mode 100644 index 00000000..bbd8d328 --- /dev/null +++ b/main/authors.html @@ -0,0 +1,148 @@ + +Authors and Citation • autoslider.core + + +
+
+ + + +
+
+
+ + + +
  • +

    Joe Zhu. Maintainer, author. +

    +
  • +
  • +

    Heng Wang. Author. +

    +
  • +
  • +

    Yinqi Zhao. Author. +

    +
  • +
  • +

    Bo Ci. Author. +

    +
  • +
  • +

    Liming Li. Author. +

    +
  • +
  • +

    Laura Wang. Contributor. +

    +
  • +
  • +

    Xiaoli Duan. Contributor. +

    +
  • +
  • +

    Stefan Pascal Thoma. Contributor. +

    +
  • +
  • +

    Miles Almond. Contributor. +

    +
  • +
  • +

    Mahdi About. Contributor. +

    +
  • +
  • +

    Kai Lim. Contributor. +

    +
  • +
  • +

    Nolan Steed. Contributor. +

    +
  • +
  • +

    Daoling Pang. Contributor. +

    +
  • +
  • +

    Elisabeth Deutschmann. Contributor. +

    +
  • +
  • +

    Chenkai Lv. Author. +

    +
  • +
+
+
+

Citation

+ +
+
+ + +

Zhu J, Wang H, Zhao Y, Ci B, Li L, Lv C (2024). +autoslider.core: Slides automation with R. +R package version 0.0.1.9004, https://dss-rac.pages.roche.com/autoslideR/. +

+
@Manual{,
+  title = {autoslider.core: Slides automation with R},
+  author = {Joe Zhu and Heng Wang and Yinqi Zhao and Bo Ci and Liming Li and Chenkai Lv},
+  year = {2024},
+  note = {R package version 0.0.1.9004},
+  url = {https://dss-rac.pages.roche.com/autoslideR/},
+}
+ +
+ +
+ + + +
+ + + + + + + + diff --git a/main/bootstrap-toc.css b/main/bootstrap-toc.css new file mode 100644 index 00000000..5a859415 --- /dev/null +++ b/main/bootstrap-toc.css @@ -0,0 +1,60 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ + +/* modified from https://github.com/twbs/bootstrap/blob/94b4076dd2efba9af71f0b18d4ee4b163aa9e0dd/docs/assets/css/src/docs.css#L548-L601 */ + +/* All levels of nav */ +nav[data-toggle='toc'] .nav > li > a { + display: block; + padding: 4px 20px; + font-size: 13px; + font-weight: 500; + color: #767676; +} +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 19px; + color: #563d7c; + text-decoration: none; + background-color: transparent; + border-left: 1px solid #563d7c; +} +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 18px; + font-weight: bold; + color: #563d7c; + background-color: transparent; + border-left: 2px solid #563d7c; +} + +/* Nav: second level (shown on .active) */ +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} +nav[data-toggle='toc'] .nav .nav > li > a { + padding-top: 1px; + padding-bottom: 1px; + padding-left: 30px; + font-size: 12px; + font-weight: normal; +} +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 29px; +} +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 28px; + font-weight: 500; +} + +/* from https://github.com/twbs/bootstrap/blob/e38f066d8c203c3e032da0ff23cd2d6098ee2dd6/docs/assets/css/src/docs.css#L631-L634 */ +nav[data-toggle='toc'] .nav > .active > ul { + display: block; +} diff --git a/main/bootstrap-toc.js b/main/bootstrap-toc.js new file mode 100644 index 00000000..1cdd573b --- /dev/null +++ b/main/bootstrap-toc.js @@ -0,0 +1,159 @@ +/*! + * Bootstrap Table of Contents v0.4.1 (http://afeld.github.io/bootstrap-toc/) + * Copyright 2015 Aidan Feldman + * Licensed under MIT (https://github.com/afeld/bootstrap-toc/blob/gh-pages/LICENSE.md) */ +(function() { + 'use strict'; + + window.Toc = { + helpers: { + // return all matching elements in the set, or their descendants + findOrFilter: function($el, selector) { + // http://danielnouri.org/notes/2011/03/14/a-jquery-find-that-also-finds-the-root-element/ + // http://stackoverflow.com/a/12731439/358804 + var $descendants = $el.find(selector); + return $el.filter(selector).add($descendants).filter(':not([data-toc-skip])'); + }, + + generateUniqueIdBase: function(el) { + var text = $(el).text(); + var anchor = text.trim().toLowerCase().replace(/[^A-Za-z0-9]+/g, '-'); + return anchor || el.tagName.toLowerCase(); + }, + + generateUniqueId: function(el) { + var anchorBase = this.generateUniqueIdBase(el); + for (var i = 0; ; i++) { + var anchor = anchorBase; + if (i > 0) { + // add suffix + anchor += '-' + i; + } + // check if ID already exists + if (!document.getElementById(anchor)) { + return anchor; + } + } + }, + + generateAnchor: function(el) { + if (el.id) { + return el.id; + } else { + var anchor = this.generateUniqueId(el); + el.id = anchor; + return anchor; + } + }, + + createNavList: function() { + return $(''); + }, + + createChildNavList: function($parent) { + var $childList = this.createNavList(); + $parent.append($childList); + return $childList; + }, + + generateNavEl: function(anchor, text) { + var $a = $(''); + $a.attr('href', '#' + anchor); + $a.text(text); + var $li = $('
  • '); + $li.append($a); + return $li; + }, + + generateNavItem: function(headingEl) { + var anchor = this.generateAnchor(headingEl); + var $heading = $(headingEl); + var text = $heading.data('toc-text') || $heading.text(); + return this.generateNavEl(anchor, text); + }, + + // Find the first heading level (`

    `, then `

    `, etc.) that has more than one element. Defaults to 1 (for `

    `). + getTopLevel: function($scope) { + for (var i = 1; i <= 6; i++) { + var $headings = this.findOrFilter($scope, 'h' + i); + if ($headings.length > 1) { + return i; + } + } + + return 1; + }, + + // returns the elements for the top level, and the next below it + getHeadings: function($scope, topLevel) { + var topSelector = 'h' + topLevel; + + var secondaryLevel = topLevel + 1; + var secondarySelector = 'h' + secondaryLevel; + + return this.findOrFilter($scope, topSelector + ',' + secondarySelector); + }, + + getNavLevel: function(el) { + return parseInt(el.tagName.charAt(1), 10); + }, + + populateNav: function($topContext, topLevel, $headings) { + var $context = $topContext; + var $prevNav; + + var helpers = this; + $headings.each(function(i, el) { + var $newNav = helpers.generateNavItem(el); + var navLevel = helpers.getNavLevel(el); + + // determine the proper $context + if (navLevel === topLevel) { + // use top level + $context = $topContext; + } else if ($prevNav && $context === $topContext) { + // create a new level of the tree and switch to it + $context = helpers.createChildNavList($prevNav); + } // else use the current $context + + $context.append($newNav); + + $prevNav = $newNav; + }); + }, + + parseOps: function(arg) { + var opts; + if (arg.jquery) { + opts = { + $nav: arg + }; + } else { + opts = arg; + } + opts.$scope = opts.$scope || $(document.body); + return opts; + } + }, + + // accepts a jQuery object, or an options object + init: function(opts) { + opts = this.helpers.parseOps(opts); + + // ensure that the data attribute is in place for styling + opts.$nav.attr('data-toggle', 'toc'); + + var $topContext = this.helpers.createChildNavList(opts.$nav); + var topLevel = this.helpers.getTopLevel(opts.$scope); + var $headings = this.helpers.getHeadings(opts.$scope, topLevel); + this.helpers.populateNav($topContext, topLevel, $headings); + } + }; + + $(function() { + $('nav[data-toggle="toc"]').each(function(i, el) { + var $nav = $(el); + Toc.init($nav); + }); + }); +})(); diff --git a/main/docsearch.css b/main/docsearch.css new file mode 100644 index 00000000..e5f1fe1d --- /dev/null +++ b/main/docsearch.css @@ -0,0 +1,148 @@ +/* Docsearch -------------------------------------------------------------- */ +/* + Source: https://github.com/algolia/docsearch/ + License: MIT +*/ + +.algolia-autocomplete { + display: block; + -webkit-box-flex: 1; + -ms-flex: 1; + flex: 1 +} + +.algolia-autocomplete .ds-dropdown-menu { + width: 100%; + min-width: none; + max-width: none; + padding: .75rem 0; + background-color: #fff; + background-clip: padding-box; + border: 1px solid rgba(0, 0, 0, .1); + box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .175); +} + +@media (min-width:768px) { + .algolia-autocomplete .ds-dropdown-menu { + width: 175% + } +} + +.algolia-autocomplete .ds-dropdown-menu::before { + display: none +} + +.algolia-autocomplete .ds-dropdown-menu [class^=ds-dataset-] { + padding: 0; + background-color: rgb(255,255,255); + border: 0; + max-height: 80vh; +} + +.algolia-autocomplete .ds-dropdown-menu .ds-suggestions { + margin-top: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion { + padding: 0; + overflow: visible +} + +.algolia-autocomplete .algolia-docsearch-suggestion--category-header { + padding: .125rem 1rem; + margin-top: 0; + font-size: 1.3em; + font-weight: 500; + color: #00008B; + border-bottom: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--wrapper { + float: none; + padding-top: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--subcategory-column { + float: none; + width: auto; + padding: 0; + text-align: left +} + +.algolia-autocomplete .algolia-docsearch-suggestion--content { + float: none; + width: auto; + padding: 0 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--content::before { + display: none +} + +.algolia-autocomplete .ds-suggestion:not(:first-child) .algolia-docsearch-suggestion--category-header { + padding-top: .75rem; + margin-top: .75rem; + border-top: 1px solid rgba(0, 0, 0, .1) +} + +.algolia-autocomplete .ds-suggestion .algolia-docsearch-suggestion--subcategory-column { + display: block; + padding: .1rem 1rem; + margin-bottom: 0.1; + font-size: 1.0em; + font-weight: 400 + /* display: none */ +} + +.algolia-autocomplete .algolia-docsearch-suggestion--title { + display: block; + padding: .25rem 1rem; + margin-bottom: 0; + font-size: 0.9em; + font-weight: 400 +} + +.algolia-autocomplete .algolia-docsearch-suggestion--text { + padding: 0 1rem .5rem; + margin-top: -.25rem; + font-size: 0.8em; + font-weight: 400; + line-height: 1.25 +} + +.algolia-autocomplete .algolia-docsearch-footer { + width: 110px; + height: 20px; + z-index: 3; + margin-top: 10.66667px; + float: right; + font-size: 0; + line-height: 0; +} + +.algolia-autocomplete .algolia-docsearch-footer--logo { + background-image: url("data:image/svg+xml;utf8,"); + background-repeat: no-repeat; + background-position: 50%; + background-size: 100%; + overflow: hidden; + text-indent: -9000px; + width: 100%; + height: 100%; + display: block; + transform: translate(-8px); +} + +.algolia-autocomplete .algolia-docsearch-suggestion--highlight { + color: #FF8C00; + background: rgba(232, 189, 54, 0.1) +} + + +.algolia-autocomplete .algolia-docsearch-suggestion--text .algolia-docsearch-suggestion--highlight { + box-shadow: inset 0 -2px 0 0 rgba(105, 105, 105, .5) +} + +.algolia-autocomplete .ds-suggestion.ds-cursor .algolia-docsearch-suggestion--content { + background-color: rgba(192, 192, 192, .15) +} diff --git a/main/docsearch.js b/main/docsearch.js new file mode 100644 index 00000000..b35504cd --- /dev/null +++ b/main/docsearch.js @@ -0,0 +1,85 @@ +$(function() { + + // register a handler to move the focus to the search bar + // upon pressing shift + "/" (i.e. "?") + $(document).on('keydown', function(e) { + if (e.shiftKey && e.keyCode == 191) { + e.preventDefault(); + $("#search-input").focus(); + } + }); + + $(document).ready(function() { + // do keyword highlighting + /* modified from https://jsfiddle.net/julmot/bL6bb5oo/ */ + var mark = function() { + + var referrer = document.URL ; + var paramKey = "q" ; + + if (referrer.indexOf("?") !== -1) { + var qs = referrer.substr(referrer.indexOf('?') + 1); + var qs_noanchor = qs.split('#')[0]; + var qsa = qs_noanchor.split('&'); + var keyword = ""; + + for (var i = 0; i < qsa.length; i++) { + var currentParam = qsa[i].split('='); + + if (currentParam.length !== 2) { + continue; + } + + if (currentParam[0] == paramKey) { + keyword = decodeURIComponent(currentParam[1].replace(/\+/g, "%20")); + } + } + + if (keyword !== "") { + $(".contents").unmark({ + done: function() { + $(".contents").mark(keyword); + } + }); + } + } + }; + + mark(); + }); +}); + +/* Search term highlighting ------------------------------*/ + +function matchedWords(hit) { + var words = []; + + var hierarchy = hit._highlightResult.hierarchy; + // loop to fetch from lvl0, lvl1, etc. + for (var idx in hierarchy) { + words = words.concat(hierarchy[idx].matchedWords); + } + + var content = hit._highlightResult.content; + if (content) { + words = words.concat(content.matchedWords); + } + + // return unique words + var words_uniq = [...new Set(words)]; + return words_uniq; +} + +function updateHitURL(hit) { + + var words = matchedWords(hit); + var url = ""; + + if (hit.anchor) { + url = hit.url_without_anchor + '?q=' + escape(words.join(" ")) + '#' + hit.anchor; + } else { + url = hit.url + '?q=' + escape(words.join(" ")); + } + + return url; +} diff --git a/main/index.html b/main/index.html new file mode 100644 index 00000000..82f15569 --- /dev/null +++ b/main/index.html @@ -0,0 +1,125 @@ + + + + + + + +Slides automation with R • autoslider.core + + + + + + + + + + + + +
    +
    + + + + +
    +
    +Slides automation with R. +
    + + +
    + + +
    + +
    +

    +

    Site built with pkgdown 2.1.1.

    +
    + +
    +
    + + + + + + + + diff --git a/main/link.svg b/main/link.svg new file mode 100644 index 00000000..88ad8276 --- /dev/null +++ b/main/link.svg @@ -0,0 +1,12 @@ + + + + + + diff --git a/main/news/index.html b/main/news/index.html new file mode 100644 index 00000000..c928e910 --- /dev/null +++ b/main/news/index.html @@ -0,0 +1,72 @@ + +Changelog • autoslider.core + + +
    +
    + + + +
    +
    + + +
    + +
    +
    + + + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/pkgdown.css b/main/pkgdown.css new file mode 100644 index 00000000..80ea5b83 --- /dev/null +++ b/main/pkgdown.css @@ -0,0 +1,384 @@ +/* Sticky footer */ + +/** + * Basic idea: https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ + * Details: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css + * + * .Site -> body > .container + * .Site-content -> body > .container .row + * .footer -> footer + * + * Key idea seems to be to ensure that .container and __all its parents__ + * have height set to 100% + * + */ + +html, body { + height: 100%; +} + +body { + position: relative; +} + +body > .container { + display: flex; + height: 100%; + flex-direction: column; +} + +body > .container .row { + flex: 1 0 auto; +} + +footer { + margin-top: 45px; + padding: 35px 0 36px; + border-top: 1px solid #e5e5e5; + color: #666; + display: flex; + flex-shrink: 0; +} +footer p { + margin-bottom: 0; +} +footer div { + flex: 1; +} +footer .pkgdown { + text-align: right; +} +footer p { + margin-bottom: 0; +} + +img.icon { + float: right; +} + +/* Ensure in-page images don't run outside their container */ +.contents img { + max-width: 100%; + height: auto; +} + +/* Fix bug in bootstrap (only seen in firefox) */ +summary { + display: list-item; +} + +/* Typographic tweaking ---------------------------------*/ + +.contents .page-header { + margin-top: calc(-60px + 1em); +} + +dd { + margin-left: 3em; +} + +/* Section anchors ---------------------------------*/ + +a.anchor { + display: none; + margin-left: 5px; + width: 20px; + height: 20px; + + background-image: url(./link.svg); + background-repeat: no-repeat; + background-size: 20px 20px; + background-position: center center; +} + +h1:hover .anchor, +h2:hover .anchor, +h3:hover .anchor, +h4:hover .anchor, +h5:hover .anchor, +h6:hover .anchor { + display: inline-block; +} + +/* Fixes for fixed navbar --------------------------*/ + +.contents h1, .contents h2, .contents h3, .contents h4 { + padding-top: 60px; + margin-top: -40px; +} + +/* Navbar submenu --------------------------*/ + +.dropdown-submenu { + position: relative; +} + +.dropdown-submenu>.dropdown-menu { + top: 0; + left: 100%; + margin-top: -6px; + margin-left: -1px; + border-radius: 0 6px 6px 6px; +} + +.dropdown-submenu:hover>.dropdown-menu { + display: block; +} + +.dropdown-submenu>a:after { + display: block; + content: " "; + float: right; + width: 0; + height: 0; + border-color: transparent; + border-style: solid; + border-width: 5px 0 5px 5px; + border-left-color: #cccccc; + margin-top: 5px; + margin-right: -10px; +} + +.dropdown-submenu:hover>a:after { + border-left-color: #ffffff; +} + +.dropdown-submenu.pull-left { + float: none; +} + +.dropdown-submenu.pull-left>.dropdown-menu { + left: -100%; + margin-left: 10px; + border-radius: 6px 0 6px 6px; +} + +/* Sidebar --------------------------*/ + +#pkgdown-sidebar { + margin-top: 30px; + position: -webkit-sticky; + position: sticky; + top: 70px; +} + +#pkgdown-sidebar h2 { + font-size: 1.5em; + margin-top: 1em; +} + +#pkgdown-sidebar h2:first-child { + margin-top: 0; +} + +#pkgdown-sidebar .list-unstyled li { + margin-bottom: 0.5em; +} + +/* bootstrap-toc tweaks ------------------------------------------------------*/ + +/* All levels of nav */ + +nav[data-toggle='toc'] .nav > li > a { + padding: 4px 20px 4px 6px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; +} + +nav[data-toggle='toc'] .nav > li > a:hover, +nav[data-toggle='toc'] .nav > li > a:focus { + padding-left: 5px; + color: inherit; + border-left: 1px solid #878787; +} + +nav[data-toggle='toc'] .nav > .active > a, +nav[data-toggle='toc'] .nav > .active:hover > a, +nav[data-toggle='toc'] .nav > .active:focus > a { + padding-left: 5px; + font-size: 1.5rem; + font-weight: 400; + color: inherit; + border-left: 2px solid #878787; +} + +/* Nav: second level (shown on .active) */ + +nav[data-toggle='toc'] .nav .nav { + display: none; /* Hide by default, but at >768px, show it */ + padding-bottom: 10px; +} + +nav[data-toggle='toc'] .nav .nav > li > a { + padding-left: 16px; + font-size: 1.35rem; +} + +nav[data-toggle='toc'] .nav .nav > li > a:hover, +nav[data-toggle='toc'] .nav .nav > li > a:focus { + padding-left: 15px; +} + +nav[data-toggle='toc'] .nav .nav > .active > a, +nav[data-toggle='toc'] .nav .nav > .active:hover > a, +nav[data-toggle='toc'] .nav .nav > .active:focus > a { + padding-left: 15px; + font-weight: 500; + font-size: 1.35rem; +} + +/* orcid ------------------------------------------------------------------- */ + +.orcid { + font-size: 16px; + color: #A6CE39; + /* margins are required by official ORCID trademark and display guidelines */ + margin-left:4px; + margin-right:4px; + vertical-align: middle; +} + +/* Reference index & topics ----------------------------------------------- */ + +.ref-index th {font-weight: normal;} + +.ref-index td {vertical-align: top; min-width: 100px} +.ref-index .icon {width: 40px;} +.ref-index .alias {width: 40%;} +.ref-index-icons .alias {width: calc(40% - 40px);} +.ref-index .title {width: 60%;} + +.ref-arguments th {text-align: right; padding-right: 10px;} +.ref-arguments th, .ref-arguments td {vertical-align: top; min-width: 100px} +.ref-arguments .name {width: 20%;} +.ref-arguments .desc {width: 80%;} + +/* Nice scrolling for wide elements --------------------------------------- */ + +table { + display: block; + overflow: auto; +} + +/* Syntax highlighting ---------------------------------------------------- */ + +pre, code, pre code { + background-color: #f8f8f8; + color: #333; +} +pre, pre code { + white-space: pre-wrap; + word-break: break-all; + overflow-wrap: break-word; +} + +pre { + border: 1px solid #eee; +} + +pre .img, pre .r-plt { + margin: 5px 0; +} + +pre .img img, pre .r-plt img { + background-color: #fff; +} + +code a, pre a { + color: #375f84; +} + +a.sourceLine:hover { + text-decoration: none; +} + +.fl {color: #1514b5;} +.fu {color: #000000;} /* function */ +.ch,.st {color: #036a07;} /* string */ +.kw {color: #264D66;} /* keyword */ +.co {color: #888888;} /* comment */ + +.error {font-weight: bolder;} +.warning {font-weight: bolder;} + +/* Clipboard --------------------------*/ + +.hasCopyButton { + position: relative; +} + +.btn-copy-ex { + position: absolute; + right: 0; + top: 0; + visibility: hidden; +} + +.hasCopyButton:hover button.btn-copy-ex { + visibility: visible; +} + +/* headroom.js ------------------------ */ + +.headroom { + will-change: transform; + transition: transform 200ms linear; +} +.headroom--pinned { + transform: translateY(0%); +} +.headroom--unpinned { + transform: translateY(-100%); +} + +/* mark.js ----------------------------*/ + +mark { + background-color: rgba(255, 255, 51, 0.5); + border-bottom: 2px solid rgba(255, 153, 51, 0.3); + padding: 1px; +} + +/* vertical spacing after htmlwidgets */ +.html-widget { + margin-bottom: 10px; +} + +/* fontawesome ------------------------ */ + +.fab { + font-family: "Font Awesome 5 Brands" !important; +} + +/* don't display links in code chunks when printing */ +/* source: https://stackoverflow.com/a/10781533 */ +@media print { + code a:link:after, code a:visited:after { + content: ""; + } +} + +/* Section anchors --------------------------------- + Added in pandoc 2.11: https://github.com/jgm/pandoc-templates/commit/9904bf71 +*/ + +div.csl-bib-body { } +div.csl-entry { + clear: both; +} +.hanging-indent div.csl-entry { + margin-left:2em; + text-indent:-2em; +} +div.csl-left-margin { + min-width:2em; + float:left; +} +div.csl-right-inline { + margin-left:2em; + padding-left:1em; +} +div.csl-indent { + margin-left: 2em; +} diff --git a/main/pkgdown.js b/main/pkgdown.js new file mode 100644 index 00000000..6f0eee40 --- /dev/null +++ b/main/pkgdown.js @@ -0,0 +1,108 @@ +/* http://gregfranko.com/blog/jquery-best-practices/ */ +(function($) { + $(function() { + + $('.navbar-fixed-top').headroom(); + + $('body').css('padding-top', $('.navbar').height() + 10); + $(window).resize(function(){ + $('body').css('padding-top', $('.navbar').height() + 10); + }); + + $('[data-toggle="tooltip"]').tooltip(); + + var cur_path = paths(location.pathname); + var links = $("#navbar ul li a"); + var max_length = -1; + var pos = -1; + for (var i = 0; i < links.length; i++) { + if (links[i].getAttribute("href") === "#") + continue; + // Ignore external links + if (links[i].host !== location.host) + continue; + + var nav_path = paths(links[i].pathname); + + var length = prefix_length(nav_path, cur_path); + if (length > max_length) { + max_length = length; + pos = i; + } + } + + // Add class to parent
  • , and enclosing
  • if in dropdown + if (pos >= 0) { + var menu_anchor = $(links[pos]); + menu_anchor.parent().addClass("active"); + menu_anchor.closest("li.dropdown").addClass("active"); + } + }); + + function paths(pathname) { + var pieces = pathname.split("/"); + pieces.shift(); // always starts with / + + var end = pieces[pieces.length - 1]; + if (end === "index.html" || end === "") + pieces.pop(); + return(pieces); + } + + // Returns -1 if not found + function prefix_length(needle, haystack) { + if (needle.length > haystack.length) + return(-1); + + // Special case for length-0 haystack, since for loop won't run + if (haystack.length === 0) { + return(needle.length === 0 ? 0 : -1); + } + + for (var i = 0; i < haystack.length; i++) { + if (needle[i] != haystack[i]) + return(i); + } + + return(haystack.length); + } + + /* Clipboard --------------------------*/ + + function changeTooltipMessage(element, msg) { + var tooltipOriginalTitle=element.getAttribute('data-original-title'); + element.setAttribute('data-original-title', msg); + $(element).tooltip('show'); + element.setAttribute('data-original-title', tooltipOriginalTitle); + } + + if(ClipboardJS.isSupported()) { + $(document).ready(function() { + var copyButton = ""; + + $("div.sourceCode").addClass("hasCopyButton"); + + // Insert copy buttons: + $(copyButton).prependTo(".hasCopyButton"); + + // Initialize tooltips: + $('.btn-copy-ex').tooltip({container: 'body'}); + + // Initialize clipboard: + var clipboardBtnCopies = new ClipboardJS('[data-clipboard-copy]', { + text: function(trigger) { + return trigger.parentNode.textContent.replace(/\n#>[^\n]*/g, ""); + } + }); + + clipboardBtnCopies.on('success', function(e) { + changeTooltipMessage(e.trigger, 'Copied!'); + e.clearSelection(); + }); + + clipboardBtnCopies.on('error', function() { + changeTooltipMessage(e.trigger,'Press Ctrl+C or Command+C to copy'); + }); + }); + } +})(window.jQuery || window.$) diff --git a/main/pkgdown.yml b/main/pkgdown.yml new file mode 100644 index 00000000..738ef942 --- /dev/null +++ b/main/pkgdown.yml @@ -0,0 +1,5 @@ +pandoc: '3.4' +pkgdown: 2.1.1 +pkgdown_sha: ~ +articles: {} +last_built: 2024-11-11T03:38Z diff --git a/main/reference/ae.pptx b/main/reference/ae.pptx new file mode 100644 index 00000000..e6cf694f Binary files /dev/null and b/main/reference/ae.pptx differ diff --git a/main/reference/ae_summary.pptx b/main/reference/ae_summary.pptx new file mode 100644 index 00000000..4a78cb82 Binary files /dev/null and b/main/reference/ae_summary.pptx differ diff --git a/main/reference/autoslider.core-package.html b/main/reference/autoslider.core-package.html new file mode 100644 index 00000000..f2b7d9dc --- /dev/null +++ b/main/reference/autoslider.core-package.html @@ -0,0 +1,97 @@ + +autoslider.core Package — autoslider.core-package • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Slides automation with R.

    +
    + + +
    +

    See also

    + +
    +
    +

    Author

    +

    Maintainer: Joe Zhu joe.zhu@roche.com

    +

    Authors:

    Other contributors:

    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/autoslider_format.html b/main/reference/autoslider_format.html new file mode 100644 index 00000000..77246cf2 --- /dev/null +++ b/main/reference/autoslider_format.html @@ -0,0 +1,156 @@ + +Table color and font — autoslider_format • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Zebra themed color

    +
    + +
    +
    autoslider_format(
    +  ft,
    +  odd_header = "#0EAED5",
    +  odd_body = "#EBF5FA",
    +  even_header = "#0EAED5",
    +  even_body = "#D0E4F2",
    +  font_name = "arial",
    +  body_font_size = 12,
    +  header_font_size = 14
    +)
    +
    +blue_format(ft, ...)
    +
    +orange_format(ft, ...)
    +
    +red_format(ft, ...)
    +
    +purple_format(ft, ...)
    +
    +autoslider_dose_format(ft, header_vals = names(ft))
    +
    +white_format(ft, ...)
    +
    +black_format(ft, ...)
    +
    + +
    +

    Arguments

    + + +
    ft
    +

    flextable object

    + + +
    odd_header
    +

    Hex color code, default to deep sky blue

    + + +
    odd_body
    +

    Hex color code, default to alice blue

    + + +
    even_header
    +

    Hex color code, default to slate gray

    + + +
    even_body
    +

    Hex color code, default to slate gray

    + + +
    font_name
    +

    Font name, default to arial

    + + +
    body_font_size
    +

    Font size of the table content, default to 12

    + + +
    header_font_size
    +

    Font size of the table header, default to 14

    + + +
    ...
    +

    arguments passed to program

    + + +
    header_vals
    +

    Header

    + +
    +
    +

    Functions

    + +
    • autoslider_format(): User defined color code and font size

    • +
    • blue_format(): Blue color theme

    • +
    • orange_format(): Orange color theme

    • +
    • red_format(): Red color theme

    • +
    • purple_format(): Purple color theme

    • +
    • autoslider_dose_format(): `AutoslideR` dose formats

    • +
    • white_format(): White color theme

    • +
    • black_format(): Black color theme

    • +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/center_figure_loc.html b/main/reference/center_figure_loc.html new file mode 100644 index 00000000..1b13a7a0 --- /dev/null +++ b/main/reference/center_figure_loc.html @@ -0,0 +1,103 @@ + +Create location container to center the figure, based on ppt size and user specified figure size — center_figure_loc • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Create location container to center the figure, based on ppt size and +user specified figure size

    +
    + +
    +
    center_figure_loc(fig_width, fig_height, ppt_width, ppt_height)
    +
    + +
    +

    Arguments

    + + +
    fig_width
    +

    Figure width

    + + +
    fig_height
    +

    Figure height

    + + +
    ppt_width
    +

    Slide width

    + + +
    ppt_height
    +

    Slide height

    + +
    +
    +

    Value

    +

    Location for a placeholder from scratch

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/center_table_loc.html b/main/reference/center_table_loc.html new file mode 100644 index 00000000..9f751383 --- /dev/null +++ b/main/reference/center_table_loc.html @@ -0,0 +1,97 @@ + +create location container to center the table — center_table_loc • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    create location container to center the table

    +
    + +
    +
    center_table_loc(ft, ppt_width, ppt_height)
    +
    + +
    +

    Arguments

    + + +
    ft
    +

    Flextable object

    + + +
    ppt_width
    +

    Powerpoint width

    + + +
    ppt_height
    +

    Powerpoint height

    + +
    +
    +

    Value

    +

    Location for a placeholder

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/check_and_set_cutoff.html b/main/reference/check_and_set_cutoff.html new file mode 100644 index 00000000..c0c06d8f --- /dev/null +++ b/main/reference/check_and_set_cutoff.html @@ -0,0 +1,89 @@ + +Assert function to check the cutoff — check_and_set_cutoff • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Assert function to check the cutoff

    +
    + +
    +
    check_and_set_cutoff(data, cutoff)
    +
    + +
    +

    Arguments

    + + +
    data
    +

    dataframe

    + + +
    cutoff
    +

    cutoff threshold

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/dd.pptx b/main/reference/dd.pptx new file mode 100644 index 00000000..266e44a4 Binary files /dev/null and b/main/reference/dd.pptx differ diff --git a/main/reference/dec_paste.html b/main/reference/dec_paste.html new file mode 100644 index 00000000..8da0c86a --- /dev/null +++ b/main/reference/dec_paste.html @@ -0,0 +1,85 @@ + +Concatenate arguments into a string — dec_paste • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Concatenate arguments into a string

    +
    + +
    +
    dec_paste(...)
    +
    + +
    +

    Arguments

    + + +
    ...
    +

    arguments passed to program

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate-VTableTree-method.html b/main/reference/decorate-VTableTree-method.html new file mode 100644 index 00000000..b3d99427 --- /dev/null +++ b/main/reference/decorate-VTableTree-method.html @@ -0,0 +1,106 @@ + +Decorate TableTree — decorate,VTableTree-method • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Decorate TableTree

    +
    + +
    +
    # S4 method for class 'VTableTree'
    +decorate(x, titles = "", footnotes = "", paper = "P8", for_test = FALSE, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    A VTableTree object representing the data to be decorated.

    + + +
    titles
    +

    Title to be added to the table.

    + + +
    footnotes
    +

    Footnote to be added to the table

    + + +
    paper
    +

    Orientation and font size as string, e.g. "P8"; "L11"

    + + +
    for_test
    +

    `logic` CICD parameter

    + + +
    ...
    +

    Additional arguments passed to the decoration function.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate-listing_df-method.html b/main/reference/decorate-listing_df-method.html new file mode 100644 index 00000000..497da3ce --- /dev/null +++ b/main/reference/decorate-listing_df-method.html @@ -0,0 +1,106 @@ + +decorate listing — decorate,listing_df-method • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    decorate listing

    +
    + +
    +
    # S4 method for class 'listing_df'
    +decorate(x, titles = "", footnotes = "", paper = "P8", for_test = FALSE, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    A listing_df object representing the data to be decorated.

    + + +
    titles
    +

    Title to be added to the table.

    + + +
    footnotes
    +

    Footnote to be added to the table

    + + +
    paper
    +

    Orientation and font size as string, e.g. "P8"; "L11"

    + + +
    for_test
    +

    `logic` CICD parameter

    + + +
    ...
    +

    Additional arguments. not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.autoslider_error.html b/main/reference/decorate.autoslider_error.html new file mode 100644 index 00000000..0ba906d5 --- /dev/null +++ b/main/reference/decorate.autoslider_error.html @@ -0,0 +1,89 @@ + +decorate method for autoslider_error class — decorate.autoslider_error • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    decorate method for autoslider_error class

    +
    + +
    +
    decorate.autoslider_error(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to decorate

    + + +
    ...
    +

    additional arguments. not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.default.html b/main/reference/decorate.default.html new file mode 100644 index 00000000..49b275fc --- /dev/null +++ b/main/reference/decorate.default.html @@ -0,0 +1,89 @@ + +default method to decorate — decorate.default • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    default method to decorate

    +
    + +
    +
    decorate.default(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to decorate

    + + +
    ...
    +

    additional arguments. not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.ggplot.html b/main/reference/decorate.ggplot.html new file mode 100644 index 00000000..b824f95a --- /dev/null +++ b/main/reference/decorate.ggplot.html @@ -0,0 +1,117 @@ + +Decorate ggplot object — decorate.ggplot • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Decorate ggplot object

    +
    + +
    +
    decorate.ggplot(
    +  x,
    +  titles = "",
    +  footnotes = "",
    +  paper = "L11",
    +  for_test = FALSE,
    +  ...
    +)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    An object to decorate

    + + +
    titles
    +

    Plot titles

    + + +
    footnotes
    +

    Plot footnotes

    + + +
    paper
    +

    Paper size, by default "L11"

    + + +
    for_test
    +

    `logic` CICD parameter

    + + +
    ...
    +

    additional arguments. not used.

    + +
    +
    +

    Details

    +

    The paper default paper size, `L11`, indicate that the fontsize is 11. +The fontsize of the footnotes, is the fontsize of the titles minus 2.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.grob.html b/main/reference/decorate.grob.html new file mode 100644 index 00000000..6dec3113 --- /dev/null +++ b/main/reference/decorate.grob.html @@ -0,0 +1,110 @@ + +decorate grob — decorate.grob • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    decorate grob

    +
    + +
    +
    decorate.grob(x, titles, footnotes, paper = "L11", for_test = FALSE, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to decorate

    + + +
    titles
    +

    graph titles

    + + +
    footnotes
    +

    graph footnotes

    + + +
    paper
    +

    paper size. default is "L8".

    + + +
    for_test
    +

    `logic` CICD parameter

    + + +
    ...
    +

    Additional arguments. not used.

    + +
    +
    +

    Details

    +

    The paper default paper size, `L11`, indicate that the fontsize is 11. +The fontsize of the footnotes, is the fontsize of the titles minus 2.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.html b/main/reference/decorate.html new file mode 100644 index 00000000..b1de2b20 --- /dev/null +++ b/main/reference/decorate.html @@ -0,0 +1,93 @@ + +generic function decorate — decorate • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    generic function decorate

    +

    s3 method for decorate

    +
    + +
    +
    decorate(x, ...)
    +
    +decorate(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to decorate

    + + +
    ...
    +

    additional arguments passed to methods

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate.list.html b/main/reference/decorate.list.html new file mode 100644 index 00000000..1a4f9eed --- /dev/null +++ b/main/reference/decorate.list.html @@ -0,0 +1,110 @@ + +decorate list of grobs — decorate.list • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    decorate list of grobs

    +
    + +
    +
    decorate.list(x, titles, footnotes, paper = "L11", for_test = FALSE, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to decorate

    + + +
    titles
    +

    graph titles

    + + +
    footnotes
    +

    graph footnotes

    + + +
    paper
    +

    paper size. default is "L11".

    + + +
    for_test
    +

    `logic` CICD parameter

    + + +
    ...
    +

    additional arguments. not used

    + +
    +
    +

    Details

    +

    The paper default paper size, `L11`, indicate that the fontsize is 11. +The fontsize of the footnotes, is the fontsize of the titles minus 2.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/decorate_outputs.html b/main/reference/decorate_outputs.html new file mode 100644 index 00000000..6c1b1539 --- /dev/null +++ b/main/reference/decorate_outputs.html @@ -0,0 +1,117 @@ + +Decorate outputs — decorate_outputs • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Decorate outputs with titles and footnotes

    +
    + +
    +
    decorate_outputs(
    +  outputs,
    +  generic_title = NULL,
    +  generic_footnote = "Confidential and for internal use only",
    +  version_label = get_version_label_output(),
    +  for_test = FALSE
    +)
    +
    + +
    +

    Arguments

    + + +
    outputs
    +

    `list` of output objects as created by `generate_outputs`

    + + +
    generic_title
    +

    `character` vector of titles

    + + +
    generic_footnote
    +

    `character` vector of footnotes

    + + +
    version_label
    +

    `character`. A version label to be added to the title.

    + + +
    for_test
    +

    `logic` CICD parameter

    + +
    +
    +

    Details

    +

    `generic_title` and `generic_footnote` will be added to *all* outputs. The use +case is to add information such as protocol number and snapshot date defined +in a central place (e.g. metadata.yml) to *every* output.

    +

    `version_label` must be either `"DRAFT"`, `"APPROVED"` or `NULL`. By default, +when outputs are created on the master branch it is set to `NULL`, i.e. no +version label will be displayed. Otherwise `"DRAFT"` will be added. To add +`"APPROVED"` to the title you will need to explicitly set `version_label = "APPROVED"`.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/dor.pptx b/main/reference/dor.pptx new file mode 100644 index 00000000..0df3adc7 Binary files /dev/null and b/main/reference/dor.pptx differ diff --git a/main/reference/eg_adae.html b/main/reference/eg_adae.html new file mode 100644 index 00000000..edbd0d6d --- /dev/null +++ b/main/reference/eg_adae.html @@ -0,0 +1,81 @@ + +Cached ADAE — eg_adae • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADAE data

    +
    + +
    +
    data(eg_adae)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 1934 rows and 93 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adeg.html b/main/reference/eg_adeg.html new file mode 100644 index 00000000..79e94ecf --- /dev/null +++ b/main/reference/eg_adeg.html @@ -0,0 +1,81 @@ + +Cached ADEG — eg_adeg • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADEG data

    +
    + +
    +
    data(eg_adeg)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 13600 rows and 88 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adex.html b/main/reference/eg_adex.html new file mode 100644 index 00000000..3bc62351 --- /dev/null +++ b/main/reference/eg_adex.html @@ -0,0 +1,81 @@ + +Cached ADEX — eg_adex • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADEX data

    +
    + +
    +
    data(eg_adex)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 6400 rows and 79 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adlb.html b/main/reference/eg_adlb.html new file mode 100644 index 00000000..b143daa3 --- /dev/null +++ b/main/reference/eg_adlb.html @@ -0,0 +1,83 @@ + +Cached ADLB — eg_adlb • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached +ADLB data

    +
    + +
    +
    data(eg_adlb)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 8400 rows and 102 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adrs.html b/main/reference/eg_adrs.html new file mode 100644 index 00000000..5266076c --- /dev/null +++ b/main/reference/eg_adrs.html @@ -0,0 +1,81 @@ + +Cached ADRS — eg_adrs • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADRS data

    +
    + +
    +
    data(eg_adrs)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 3200 rows and 65 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adsl.html b/main/reference/eg_adsl.html new file mode 100644 index 00000000..3b847c93 --- /dev/null +++ b/main/reference/eg_adsl.html @@ -0,0 +1,81 @@ + +Cached ADSL — eg_adsl • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADSL data

    +
    + +
    +
    data(eg_adsl)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 400 rows and 55 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adtr.html b/main/reference/eg_adtr.html new file mode 100644 index 00000000..33a0d914 --- /dev/null +++ b/main/reference/eg_adtr.html @@ -0,0 +1,81 @@ + +Cached ADTR — eg_adtr • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADTR data

    +
    + +
    +
    data(eg_adtr)
    +
    + +
    +

    Format

    +

    An object of class data.frame with 2800 rows and 76 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_adtte.html b/main/reference/eg_adtte.html new file mode 100644 index 00000000..f540e979 --- /dev/null +++ b/main/reference/eg_adtte.html @@ -0,0 +1,81 @@ + +Cached ADTTE — eg_adtte • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADTTE data

    +
    + +
    +
    data(eg_adtte)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 2000 rows and 67 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/eg_advs.html b/main/reference/eg_advs.html new file mode 100644 index 00000000..c0cfad4f --- /dev/null +++ b/main/reference/eg_advs.html @@ -0,0 +1,81 @@ + +Cached ADVS — eg_advs • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Cached ADVS data

    +
    + +
    +
    data(eg_advs)
    +
    + +
    +

    Format

    +

    An object of class tbl_df (inherits from tbl, data.frame) with 16800 rows and 87 columns.

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/fastDoCall.html b/main/reference/fastDoCall.html new file mode 100644 index 00000000..249c67e3 --- /dev/null +++ b/main/reference/fastDoCall.html @@ -0,0 +1,98 @@ + +Does do.call quicker, and avoids issues with debug mode within do.call — fastDoCall • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    copied from ms showcase app

    +
    + +
    +
    fastDoCall(what, args, quote = FALSE, envir = parent.frame())
    +
    + +
    +

    Arguments

    + + +
    what
    +

    either a function or a non-empty character string naming the function to be called.

    + + +
    args
    +

    a list of arguments to the function call. The names attribute of args gives the argument names.

    + + +
    quote
    +

    a logical value indicating whether to quote the arguments.

    + + +
    envir
    +

    an environment within which to evaluate the call. This will be most useful if what is a character +string and the arguments are symbols or quoted expressions.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/figure_to_slide.html b/main/reference/figure_to_slide.html new file mode 100644 index 00000000..8bfcdafe --- /dev/null +++ b/main/reference/figure_to_slide.html @@ -0,0 +1,121 @@ + +Add figure to slides — figure_to_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Add figure to slides

    +
    + +
    +
    figure_to_slide(
    +  ppt,
    +  content,
    +  decor = TRUE,
    +  fig_width,
    +  fig_height,
    +  figure_loc = ph_location_type("body"),
    +  ...
    +)
    +
    + +
    +

    Arguments

    + + +
    ppt
    +

    slide page

    + + +
    content
    +

    content to be added

    + + +
    decor
    +

    should decoration be added

    + + +
    fig_width
    +

    user specified figure width

    + + +
    fig_height
    +

    user specified figure height

    + + +
    figure_loc
    +

    location of the figure. Defaults to `ph_location_type("body")`

    + + +
    ...
    +

    arguments passed to program

    + +
    +
    +

    Value

    +

    slide with the added content

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/format_3d.html b/main/reference/format_3d.html new file mode 100644 index 00000000..9f617902 --- /dev/null +++ b/main/reference/format_3d.html @@ -0,0 +1,89 @@ + +Format of xx.xx (xx.xx, xx.xx) — format_3d • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Format of xx.xx (xx.xx, xx.xx)

    +
    + +
    +
    format_3d(x, output)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    input array

    + + +
    output
    +

    output handle

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/format_date.html b/main/reference/format_date.html new file mode 100644 index 00000000..4a43b351 --- /dev/null +++ b/main/reference/format_date.html @@ -0,0 +1,122 @@ + +Convert dates from `yyyy-mm-dd` format into 20APR2019 format `Datetime` format removes the time and outputs date in the same way Able to handle truncated dates as well (e.g. just the year or year and month) — format_date • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    `dplyr::case_when()` will check all RHS expressions on the input, this means if +these expressions return warnings, they will happen even then the input doesn't +doesn't satisfy the LHS. For this reason, I had to 'quiet' all `lubridate` functions. +This `format_date()` function was tested with the inputs in the examples, all gave the +expected returned value, so there should be no issues.

    +
    + +
    +
    format_date(x)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    vector of dates in character, in `yyyy-mm-dd` format

    + +
    +
    +

    Value

    +

    A vector.

    +
    + +
    +

    Examples

    +
    
    +# expected to return "2019"
    +format_date("2019")
    +#> [1] "2019"
    +
    +# expected to return "20APR2019"
    +format_date("2019-04-20")
    +#> [1] "20APR2019"
    +
    +# expected to return ""
    +format_date("")
    +#> [1] ""
    +
    +# expected to return "18JUN2019"
    +format_date("2019-06-18T10:32")
    +#> [1] "18JUN2019"
    +
    +# expected to return "APR2019"
    +format_date("2019-04")
    +#> [1] "APR2019"
    +
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/func_wrapper.html b/main/reference/func_wrapper.html new file mode 100644 index 00000000..30b5713a --- /dev/null +++ b/main/reference/func_wrapper.html @@ -0,0 +1,101 @@ + +function wrapper to pass filtered data — func_wrapper • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    function wrapper to pass filtered data

    +
    + +
    +
    func_wrapper(func, datasets, spec, verbose = TRUE)
    +
    + +
    +

    Arguments

    + + +
    func
    +

    function name

    + + +
    datasets
    +

    list of raw datasets

    + + +
    spec
    +

    spec

    + + +
    verbose
    +

    whether to show verbose information

    + +
    +
    +

    Value

    +

    a wrapped function using filtered adam

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/gen_notes.html b/main/reference/gen_notes.html new file mode 100644 index 00000000..2426213e --- /dev/null +++ b/main/reference/gen_notes.html @@ -0,0 +1,82 @@ + +General notes — gen_notes • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    General notes

    +
    + +
    +
    gen_notes()
    +
    + +
    +

    Note

    +

    * Default arm variables are set to `"TRT01A"` for safety output, and + `"TRT01P"` for efficacy output

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/generate_output.html b/main/reference/generate_output.html new file mode 100644 index 00000000..5ecc9e41 --- /dev/null +++ b/main/reference/generate_output.html @@ -0,0 +1,132 @@ + +Generate output and apply filters, titles, and footnotes — generate_output • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Generate output and apply filters, titles, and footnotes

    +
    + +
    +
    generate_output(program, datasets, spec, verbose_level = 2, ...)
    +
    + +
    +

    Arguments

    + + +
    program
    +

    program name

    + + +
    datasets
    +

    list of datasets

    + + +
    spec
    +

    spec

    + + +
    verbose_level
    +

    Verbose level of messages be displayed. See details for further information.

    + + +
    ...
    +

    arguments passed to program

    + +
    +
    +

    Details

    +

    `verbose_level` is used to control how many messages are printed out. +By default, `2` will show all filter messages and show output generation message. +`1` will show output generation message only. +`0` will display no message.

    +
    +
    +

    Author

    +

    Liming Li (`Lil128`)

    +
    + +
    +

    Examples

    +
    filters::load_filters(
    +  yaml_file = system.file("filters.yml", package = "autoslider.core"),
    +  overwrite = TRUE
    +)
    +
    +spec_file <- system.file("spec.yml", package = "autoslider.core")
    +spec <- spec_file %>% read_spec()
    +#> Error in read_spec(.): could not find function "read_spec"
    +
    +data <- list(
    +  adsl = eg_adsl,
    +  adae = eg_adae
    +)
    +generate_output("t_ae_slide", data, spec$t_ae_slide_SE)
    +#> Error: object 'spec' not found
    +
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/generate_outputs.html b/main/reference/generate_outputs.html new file mode 100644 index 00000000..a8c68ee2 --- /dev/null +++ b/main/reference/generate_outputs.html @@ -0,0 +1,126 @@ + +Generate all outputs from a spec — generate_outputs • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Generate all outputs from a spec

    +
    + +
    +
    generate_outputs(spec, datasets, verbose_level = 2)
    +
    + +
    +

    Arguments

    + + +
    spec
    +

    Specification list generated by `read_spec`

    + + +
    datasets
    +

    A `list` of datasets

    + + +
    verbose_level
    +

    Verbose level of messages be displayed. See details for further information.

    + +
    +
    +

    Details

    +

    `verbose_level` is used to control how many messages are printed out. +By default, `2` will show all filter messages and show output generation message. +`1` will show output generation message only. +`0` will display no message.

    +
    +
    +

    Author

    +

    - Thomas Neitmann (`neitmant`) +- Liming Li (`Lil128`)

    +
    + +
    +

    Examples

    +
    library(dplyr, warn.conflicts = FALSE)
    +data <- list(
    +  adsl = eg_adsl,
    +  adae = eg_adae
    +)
    +filters::load_filters(
    +  yaml_file = system.file("filters.yml", package = "autoslider.core"),
    +  overwrite = TRUE
    +)
    +
    +spec_file <- system.file("spec.yml", package = "autoslider.core")
    +spec_file %>%
    +  read_spec() %>%
    +  filter_spec(output %in% c("t_dm_slide_IT", "t_ae_slide_SE")) %>%
    +  generate_outputs(datasets = data)
    +#> Error in filter_spec(., output %in% c("t_dm_slide_IT", "t_ae_slide_SE")): could not find function "filter_spec"
    +
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/generate_slides.html b/main/reference/generate_slides.html new file mode 100644 index 00000000..c11574a9 --- /dev/null +++ b/main/reference/generate_slides.html @@ -0,0 +1,171 @@ + +generate slides based on output from enableRF — generate_slides • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    generate slides based on output from enableRF

    +
    + +
    +
    generate_slides(
    +  outputs,
    +  outfile = "output.pptx",
    +  template = file.path(system.file(package = "autoslider.core"), "theme/basic.pptx"),
    +  fig_width = 9,
    +  fig_height = 6,
    +  t_lpp = 20,
    +  t_cpp = 200,
    +  l_lpp = 20,
    +  l_cpp = 150,
    +  ...
    +)
    +
    + +
    +

    Arguments

    + + +
    outputs
    +

    List of output

    + + +
    outfile
    +

    Out file path

    + + +
    template
    +

    Template file path

    + + +
    fig_width
    +

    figure width in inch

    + + +
    fig_height
    +

    figure height in inch

    + + +
    t_lpp
    +

    An integer specifying the table lines per page
    +Specify this optional argument to modify the length of all of the table displays

    + + +
    t_cpp
    +

    An integer specifying the table columns per page
    +Specify this optional argument to modify the width of all of the table displays

    + + +
    l_lpp
    +

    An integer specifying the listing lines per page
    +Specify this optional argument to modify the length of all of the listings display

    + + +
    l_cpp
    +

    An integer specifying the listing columns per page
    +Specify this optional argument to modify the width of all of the listings display

    + + +
    ...
    +

    arguments passed to program

    + +
    + +
    +

    Examples

    +
    
    +# Example 1. When applying to the whole pipeline
    +data <- list(
    +  adsl = eg_adsl %>% dplyr::mutate(FASFL = SAFFL),
    +  adae = eg_adae
    +)
    +
    +
    +filters::load_filters(
    +  yaml_file = system.file("filters.yml", package = "autoslider.core"),
    +  overwrite = TRUE
    +)
    +
    +
    +spec_file <- system.file("spec.yml", package = "autoslider.core")
    +spec_file %>%
    +  read_spec() %>%
    +  filter_spec(program %in% c("t_dm_slide")) %>% # removed "l_dsl01_slide" atm
    +  generate_outputs(datasets = data) %>%
    +  decorate_outputs() %>%
    +  generate_slides()
    +#> Error in get_version_label_output(): could not find function "get_version_label_output"
    +
    +# Example 2. When applying to an rtable object or an rlisting object
    +adsl <- eg_adsl
    +t_dm_slide(adsl, "TRT01P", c("SEX", "AGE")) %>%
    +  generate_slides()
    +#> Error in t_dm_slide_to_df(result): could not find function "t_dm_slide_to_df"
    +
    +l_dsl01_slide(adsl) %>% generate_slides()
    +#> Error in l_dsl01_slide(adsl): could not find function "l_dsl01_slide"
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/get_proper_title.html b/main/reference/get_proper_title.html new file mode 100644 index 00000000..a0454f78 --- /dev/null +++ b/main/reference/get_proper_title.html @@ -0,0 +1,93 @@ + +Adjust title line break and font size — get_proper_title • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Adjust title line break and font size

    +
    + +
    +
    get_proper_title(title, max_char = 60, title_color = "#1C2B39")
    +
    + +
    +

    Arguments

    + + +
    title
    +

    Character string

    + + +
    max_char
    +

    Integer specifying the maximum number of characters in one line

    + + +
    title_color
    +

    Title color

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/if_display_pp.html b/main/reference/if_display_pp.html new file mode 100644 index 00000000..ec62c3ea --- /dev/null +++ b/main/reference/if_display_pp.html @@ -0,0 +1,89 @@ + +Checker of data frame display per patient (or not) — if_display_pp • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Checker of data frame display per patient (or not)

    +
    + +
    +
    if_display_pp(pp, colname = FALSE)
    +
    + +
    +

    Arguments

    + + +
    pp
    +

    per patient

    + + +
    colname
    +

    name of column

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/index.html b/main/reference/index.html new file mode 100644 index 00000000..e1f073fa --- /dev/null +++ b/main/reference/index.html @@ -0,0 +1,331 @@ + +Package index • autoslider.core + + +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    All functions

    +

    +
    +

    autoslider.core autoslider.core-package

    +

    autoslider.core Package

    +

    autoslider_format() blue_format() orange_format() red_format() purple_format() autoslider_dose_format() white_format() black_format()

    +

    Table color and font

    +

    center_figure_loc()

    +

    Create location container to center the figure, based on ppt size and user specified figure size

    +

    center_table_loc()

    +

    create location container to center the table

    +

    check_and_set_cutoff()

    +

    Assert function to check the cutoff

    +

    dec_paste()

    +

    Concatenate arguments into a string

    +

    decorate(<VTableTree>)

    +

    Decorate TableTree

    +

    decorate(<listing_df>)

    +

    decorate listing

    +

    decorate()

    +

    generic function decorate

    +

    decorate.autoslider_error()

    +

    decorate method for autoslider_error class

    +

    decorate.default()

    +

    default method to decorate

    +

    decorate.ggplot()

    +

    Decorate ggplot object

    +

    decorate.grob()

    +

    decorate grob

    +

    decorate.list()

    +

    decorate list of grobs

    +

    decorate_outputs()

    +

    Decorate outputs

    +

    eg_adae

    +

    Cached ADAE

    +

    eg_adeg

    +

    Cached ADEG

    +

    eg_adex

    +

    Cached ADEX

    +

    eg_adlb

    +

    Cached ADLB

    +

    eg_adrs

    +

    Cached ADRS

    +

    eg_adsl

    +

    Cached ADSL

    +

    eg_adtr

    +

    Cached ADTR

    +

    eg_adtte

    +

    Cached ADTTE

    +

    eg_advs

    +

    Cached ADVS

    +

    fastDoCall()

    +

    Does do.call quicker, and avoids issues with debug mode within do.call

    +

    figure_to_slide()

    +

    Add figure to slides

    +

    format_3d()

    +

    Format of xx.xx (xx.xx, xx.xx)

    +

    format_date()

    +

    Convert dates from `yyyy-mm-dd` format into 20APR2019 format `Datetime` format removes the time and outputs date in the same way Able to handle truncated dates as well (e.g. just the year or year and month)

    +

    func_wrapper()

    +

    function wrapper to pass filtered data

    +

    gen_notes()

    +

    General notes

    +

    generate_output()

    +

    Generate output and apply filters, titles, and footnotes

    +

    generate_outputs()

    +

    Generate all outputs from a spec

    +

    generate_slides()

    +

    generate slides based on output from enableRF

    +

    get_proper_title()

    +

    Adjust title line break and font size

    +

    if_display_pp()

    +

    Checker of data frame display per patient (or not)

    +

    lyt_to_side_by_side()

    +

    Build side by side layout by cbind

    +

    lyt_to_side_by_side_two_data()

    +

    Build side by side layout by cbind

    +

    mutate_actarm()

    +

    Refactor active arm

    +

    na_replace()

    +

    Replace NAs to NA

    +

    perc_perc()

    +

    Format of (xx%, xx%)

    +

    ph_with_img()

    +

    Placeholder for ph_with_img

    +

    preprocess_t_dd()

    +

    Preprocess t_dd function

    +

    preprocess_t_ds()

    +

    Preprocess t_ds function

    +

    print(<decoratedGrob>)

    +

    Print decorated grob

    +

    print(<decoratedGrobSet>)

    +

    Print decorated grob set

    +

    s_proportion_1()

    +

    survival proportion afun

    +

    s_surv_time_1()

    +

    survival time afun

    +

    slides_preview()

    +

    Generate flextable for preview first page

    +

    t_ae_slide()

    +

    Adverse event table

    +

    t_ae_summ_slide()

    +

    Adverse event summary table

    +

    t_aesi_slide()

    +

    Table of AEs of Special Interest adapted from https://insightsengineering.github.io/tlg-catalog/stable/tables/adverse-events/aet01_aesi.html

    +

    t_dd_slide()

    +

    Death table

    +

    t_dm_slide()

    +

    Demographic table

    +

    t_dor_slide()

    +

    DOR table

    +

    table_to_slide()

    +

    Add decorated flextable to slides

    +

    to_flextable(<Ddataframe>)

    +

    To flextable

    +

    to_flextable()

    +

    s3 method for to_flextable

    +

    to_flextable(<VTableTree>)

    +

    Covert rtables object to flextable

    +

    to_flextable(<dVTableTree>)

    +

    To flextable

    +

    to_flextable(<data.frame>)

    +

    convert data.frame to flextable

    +

    to_flextable(<default>)

    +

    default method to to_flextable

    +

    to_flextable(<dlisting>)

    +

    convert listing to flextable

    +

    to_vector()

    +

    Convert list of numbers to vectors

    +

    trim_perc()

    +

    Format of xx.xx (xx.x)

    +

    trim_perc1()

    +

    Format of xx.xx (xx.xx)

    + + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/lyt_to_side_by_side.html b/main/reference/lyt_to_side_by_side.html new file mode 100644 index 00000000..4511bbed --- /dev/null +++ b/main/reference/lyt_to_side_by_side.html @@ -0,0 +1,93 @@ + +Build side by side layout by cbind — lyt_to_side_by_side • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Build side by side layout by cbind

    +
    + +
    +
    lyt_to_side_by_side(lyt, anl, side_by_side = NULL)
    +
    + +
    +

    Arguments

    + + +
    lyt
    +

    layout object

    + + +
    anl
    +

    analysis data object

    + + +
    side_by_side
    +

    A logical value indicating whether to display the data side by side.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/lyt_to_side_by_side_two_data.html b/main/reference/lyt_to_side_by_side_two_data.html new file mode 100644 index 00000000..86e363cd --- /dev/null +++ b/main/reference/lyt_to_side_by_side_two_data.html @@ -0,0 +1,97 @@ + +Build side by side layout by cbind — lyt_to_side_by_side_two_data • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Build side by side layout by cbind

    +
    + +
    +
    lyt_to_side_by_side_two_data(lyt, anl, alt_counts_df, side_by_side = NULL)
    +
    + +
    +

    Arguments

    + + +
    lyt
    +

    layout object

    + + +
    anl
    +

    analysis data object

    + + +
    alt_counts_df
    +

    alternative data frame for counts

    + + +
    side_by_side
    +

    A logical value indicating whether to display the data side by side.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/mutate_actarm.html b/main/reference/mutate_actarm.html new file mode 100644 index 00000000..08960434 --- /dev/null +++ b/main/reference/mutate_actarm.html @@ -0,0 +1,103 @@ + +Refactor active arm — mutate_actarm • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Refactor active arm

    +
    + +
    +
    mutate_actarm(
    +  df,
    +  arm_var = "TRT01A",
    +  levels = c("PLACEBO + PACLITAXEL + CISPLATIN",
    +    "ATEZOLIZUMAB + TIRAGOLUMAB + PACLITAXEL + CISPLATIN"),
    +  labels = c("Pbo+Pbo+PC", "Tira+Atezo+PC")
    +)
    +
    + +
    +

    Arguments

    + + +
    df
    +

    Input dataframe

    + + +
    arm_var
    +

    Arm variable

    + + +
    levels
    +

    factor levels

    + + +
    labels
    +

    factor labels

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/na_replace.html b/main/reference/na_replace.html new file mode 100644 index 00000000..020e2ab6 --- /dev/null +++ b/main/reference/na_replace.html @@ -0,0 +1,85 @@ + +Replace NAs to NA — na_replace • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Replace NAs to NA

    +
    + +
    +
    na_replace(table_df)
    +
    + +
    +

    Arguments

    + + +
    table_df
    +

    Table dataframe

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/perc_perc.html b/main/reference/perc_perc.html new file mode 100644 index 00000000..1bd6d033 --- /dev/null +++ b/main/reference/perc_perc.html @@ -0,0 +1,89 @@ + +Format of (xx%, xx%) — perc_perc • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Format of (xx%, xx%)

    +
    + +
    +
    perc_perc(x, output)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    input array

    + + +
    output
    +

    output handle

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/ph_with_img.html b/main/reference/ph_with_img.html new file mode 100644 index 00000000..46375922 --- /dev/null +++ b/main/reference/ph_with_img.html @@ -0,0 +1,101 @@ + +Placeholder for ph_with_img — ph_with_img • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Placeholder for ph_with_img

    +
    + +
    +
    ph_with_img(ppt, figure, fig_width, fig_height, figure_loc)
    +
    + +
    +

    Arguments

    + + +
    ppt
    +

    power point file

    + + +
    figure
    +

    image object

    + + +
    fig_width
    +

    width of figure

    + + +
    fig_height
    +

    height of figure

    + + +
    figure_loc
    +

    location of figure

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/preprocess_t_dd.html b/main/reference/preprocess_t_dd.html new file mode 100644 index 00000000..467f245b --- /dev/null +++ b/main/reference/preprocess_t_dd.html @@ -0,0 +1,97 @@ + +Preprocess t_dd function — preprocess_t_dd • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Preprocess t_dd function

    +
    + +
    +
    preprocess_t_dd(
    +  df,
    +  levels = c("PROGRESSIVE DISEASE", "ADVERSE EVENT", "OTHER", "<Missing>"),
    +  labels = c("Progressive Disease", "Adverse Events", "Other", "<Missing>")
    +)
    +
    + +
    +

    Arguments

    + + +
    df
    +

    Input dataframe

    + + +
    levels
    +

    factor levels

    + + +
    labels
    +

    factor labels

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/preprocess_t_ds.html b/main/reference/preprocess_t_ds.html new file mode 100644 index 00000000..18be8a44 --- /dev/null +++ b/main/reference/preprocess_t_ds.html @@ -0,0 +1,97 @@ + +Preprocess t_ds function — preprocess_t_ds • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Preprocess t_ds function

    +
    + +
    +
    preprocess_t_ds(
    +  df,
    +  levels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>"),
    +  labels = c("Alive: On Treatment", "Alive: In Follow-up", "<Missing>")
    +)
    +
    + +
    +

    Arguments

    + + +
    df
    +

    Input dataframe

    + + +
    levels
    +

    factor levels

    + + +
    labels
    +

    factor labels

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/print.decoratedGrob.html b/main/reference/print.decoratedGrob.html new file mode 100644 index 00000000..22907723 --- /dev/null +++ b/main/reference/print.decoratedGrob.html @@ -0,0 +1,90 @@ + +Print decorated grob — print.decoratedGrob • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Print decorated grob

    +
    + +
    +
    # S3 method for class 'decoratedGrob'
    +print(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    An object of class `decoratedGrob`

    + + +
    ...
    +

    not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/print.decoratedGrobSet.html b/main/reference/print.decoratedGrobSet.html new file mode 100644 index 00000000..b58b06ab --- /dev/null +++ b/main/reference/print.decoratedGrobSet.html @@ -0,0 +1,90 @@ + +Print decorated grob set — print.decoratedGrobSet • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Print decorated grob set

    +
    + +
    +
    # S3 method for class 'decoratedGrobSet'
    +print(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    An object of class `decoratedGrobSet`

    + + +
    ...
    +

    not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/s_proportion_1.html b/main/reference/s_proportion_1.html new file mode 100644 index 00000000..381b4a5d --- /dev/null +++ b/main/reference/s_proportion_1.html @@ -0,0 +1,102 @@ + +survival proportion afun — s_proportion_1 • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    survival proportion afun

    +
    + +
    +
    s_proportion_1(
    +  x,
    +  conf_level = 0.95,
    +  method = c("waldcc", "wald", "clopper-pearson", "wilson", "agresti-coull", "jeffreys"),
    +  long = FALSE
    +)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    data vector

    + + +
    conf_level
    +

    confidence level

    + + +
    method
    +

    type of method for calculation

    + + +
    long
    +

    flag

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/s_surv_time_1.html b/main/reference/s_surv_time_1.html new file mode 100644 index 00000000..12c33e58 --- /dev/null +++ b/main/reference/s_surv_time_1.html @@ -0,0 +1,97 @@ + +survival time afun — s_surv_time_1 • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    survival time afun

    +
    + +
    +
    s_surv_time_1(df, .var, is_event, control = control_surv_time())
    +
    + +
    +

    Arguments

    + + +
    df
    +

    data

    + + +
    .var
    +

    variable of interest

    + + +
    is_event
    +

    vector indicating event

    + + +
    control
    +

    `control_surv_time()` by default

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/slides_preview.html b/main/reference/slides_preview.html new file mode 100644 index 00000000..766183c5 --- /dev/null +++ b/main/reference/slides_preview.html @@ -0,0 +1,98 @@ + +Generate flextable for preview first page — slides_preview • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Generate flextable for preview first page

    +
    + +
    +
    slides_preview(x)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    rtables or data.frame

    + +
    + +
    +

    Examples

    +
    # Example 1. preview table
    +library(dplyr)
    +adsl <- eg_adsl
    +t_dm_slide(adsl, "TRT01P", c("SEX", "AGE")) %>% slides_preview()
    +#> Error in t_dm_slide_to_df(result): could not find function "t_dm_slide_to_df"
    +
    +# Example 2. preview listing
    +l_dsl01_slide(adsl) %>% slides_preview()
    +#> Error in l_dsl01_slide(adsl): could not find function "l_dsl01_slide"
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_ae_slide.html b/main/reference/t_ae_slide.html new file mode 100644 index 00000000..62a4a48e --- /dev/null +++ b/main/reference/t_ae_slide.html @@ -0,0 +1,151 @@ + +Adverse event table — t_ae_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Adverse event table

    +
    + +
    +
    t_ae_slide(
    +  adsl,
    +  adae,
    +  arm = "TRT01A",
    +  split_by_study = FALSE,
    +  side_by_side = NULL
    +)
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL data set, dataframe

    + + +
    adae
    +

    ADAE data set, dataframe

    + + +
    arm
    +

    Arm variable, character, "`TRT01A" by default.

    + + +
    side_by_side
    +

    should table be displayed side by side

    + +
    +
    +

    Value

    +

    rtables object

    +
    +
    +

    Note

    +

    * Default arm variables are set to `"TRT01A"` for safety output, and + `"TRT01P"` for efficacy output

    +
    + +
    +

    Examples

    +
    adsl <- eg_adsl %>%
    +  dplyr::mutate(TRT01A = factor(TRT01A, levels = c("A: Drug X", "B: Placebo")))
    +adae <- eg_adae %>%
    +  dplyr::mutate(
    +    TRT01A = factor(TRT01A, levels = c("A: Drug X", "B: Placebo")),
    +    ATOXGR = AETOXGR
    +  )
    +out <- t_ae_slide(adsl, adae, "TRT01A")
    +print(out)
    +#> AE event table
    +#> 
    +#> ———————————————————————————————————————————————————————————————————————
    +#> MedDRA System Organ Class        A: Drug X    B: Placebo   All Patients
    +#>    MedDRA Preferred Term N (%)    (N=134)      (N=134)       (N=268)   
    +#> ———————————————————————————————————————————————————————————————————————
    +#> cl A.1                           78 (58.2%)   75 (56.0%)   153 (57.1%) 
    +#>   dcd A.1.1.1.2                  48 (35.8%)   48 (35.8%)    96 (35.8%) 
    +#>   dcd A.1.1.1.1                  50 (37.3%)   45 (33.6%)    95 (35.4%) 
    +#> cl B.2                           79 (59.0%)   74 (55.2%)   153 (57.1%) 
    +#>   dcd B.2.2.3.1                  48 (35.8%)   54 (40.3%)   102 (38.1%) 
    +#>   dcd B.2.1.2.1                  49 (36.6%)   44 (32.8%)    93 (34.7%) 
    +#> cl D.1                           79 (59.0%)   67 (50.0%)   146 (54.5%) 
    +#>   dcd D.1.1.1.1                  50 (37.3%)   42 (31.3%)    92 (34.3%) 
    +#>   dcd D.1.1.4.2                  48 (35.8%)   42 (31.3%)    90 (33.6%) 
    +#> cl D.2                           47 (35.1%)   58 (43.3%)   105 (39.2%) 
    +#>   dcd D.2.1.5.3                  47 (35.1%)   58 (43.3%)   105 (39.2%) 
    +#> cl B.1                           47 (35.1%)   49 (36.6%)    96 (35.8%) 
    +#>   dcd B.1.1.1.1                  47 (35.1%)   49 (36.6%)    96 (35.8%) 
    +#> cl C.1                           43 (32.1%)   46 (34.3%)    89 (33.2%) 
    +#>   dcd C.1.1.1.3                  43 (32.1%)   46 (34.3%)    89 (33.2%) 
    +#> cl C.2                           35 (26.1%)   48 (35.8%)    83 (31.0%) 
    +#>   dcd C.2.1.2.1                  35 (26.1%)   48 (35.8%)    83 (31.0%) 
    +generate_slides(out, "ae.pptx")
    +#> [1] "AE event table"
    +#> [1] "AE event table (cont.)"
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_ae_summ_slide.html b/main/reference/t_ae_summ_slide.html new file mode 100644 index 00000000..915de9ae --- /dev/null +++ b/main/reference/t_ae_summ_slide.html @@ -0,0 +1,211 @@ + +Adverse event summary table — t_ae_summ_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Adverse event summary table

    +
    + +
    +
    t_ae_summ_slide(
    +  adsl,
    +  adae,
    +  arm = "TRT01A",
    +  dose_adjust_flags = NA,
    +  dose_adjust_labels = NA,
    +  gr34_highest_grade_only = TRUE
    +)
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL dataset, dataframe

    + + +
    adae
    +

    ADAE dataset, dataframe

    + + +
    arm
    +

    Arm variable, character, "`TRT01A" by default.

    + + +
    dose_adjust_flags
    +

    Character or a vector of characters. Each character is a variable +name in adae dataset. These variables are Logical vectors which flag AEs +leading to dose adjustment, such as drug discontinuation, dose interruption +and reduction. The flag can be related to any drug, or a specific drug.

    + + +
    dose_adjust_labels
    +

    Character or a vector of characters. Each character represents +a label displayed in the AE summary table (e.g. AE leading to discontinuation +from drug X). The order of the labels should match the order of variable +names in dose_adjust_flags.

    + + +
    gr34_highest_grade_only
    +

    A logical value. Default is TRUE, such that +only patients with the highest AE grade as 3 or 4 are included for the count of the "Grade 3-4 AE" and +"Treatment-related Grade 3-4 AE" ; set it to FALSE if +you want to include patients with the highest AE grade as 5.

    + +
    +
    +

    Value

    +

    an rtables object

    +
    + +
    +

    Examples

    +
    ADSL <- eg_adsl
    +ADAE <- eg_adae
    +
    +ADAE <- ADAE %>%
    +  dplyr::mutate(ATOXGR = AETOXGR)
    +t_ae_summ_slide(adsl = ADSL, adae = ADAE)
    +#> Warning: Non-unique sibling analysis table names. Using Labels instead. Use the table_names argument to analyze to avoid this when analyzing the same variable multiple times.
    +#> 	occured at (row) path: root
    +#> AE summary table
    +#> 
    +#> ———————————————————————————————————————————————————————————————————————————————————
    +#>                             A: Drug X    B: Placebo   C: Combination   All Patients
    +#>                              (N=134)      (N=134)        (N=132)         (N=400)   
    +#> ———————————————————————————————————————————————————————————————————————————————————
    +#> All grade AEs, any cause   100 (74.6%)   98 (73.1%)    103 (78.0%)     301 (75.2%) 
    +#>   Related                  86 (64.2%)    85 (63.4%)     92 (69.7%)     263 (65.8%) 
    +#> Grade 3-4 AEs              26 (19.4%)    31 (23.1%)     29 (22.0%)      86 (21.5%) 
    +#>   Related                   13 (9.7%)    18 (13.4%)     15 (11.4%)      46 (11.5%) 
    +#> Grade 5 AE                 64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#>   Related                  64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#> SAEs                       85 (63.4%)    80 (59.7%)     87 (65.9%)     252 (63.0%) 
    +#>   Related                  64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +
    +# add flag for ae leading to dose reduction
    +ADAE$reduce_flg <- ifelse(ADAE$AEACN == "DOSE REDUCED", TRUE, FALSE)
    +t_ae_summ_slide(
    +  adsl = ADSL, adae = ADAE,
    +  dose_adjust_flags = c("reduce_flg"),
    +  dose_adjust_labels = c("AE leading to dose reduction of drug X")
    +)
    +#> Warning: Non-unique sibling analysis table names. Using Labels instead. Use the table_names argument to analyze to avoid this when analyzing the same variable multiple times.
    +#> 	occured at (row) path: root
    +#> AE summary table
    +#> 
    +#> —————————————————————————————————————————————————————————————————————————————————————————————————
    +#>                                           A: Drug X    B: Placebo   C: Combination   All Patients
    +#>                                            (N=134)      (N=134)        (N=132)         (N=400)   
    +#> —————————————————————————————————————————————————————————————————————————————————————————————————
    +#> All grade AEs, any cause                 100 (74.6%)   98 (73.1%)    103 (78.0%)     301 (75.2%) 
    +#>   Related                                86 (64.2%)    85 (63.4%)     92 (69.7%)     263 (65.8%) 
    +#> Grade 3-4 AEs                            26 (19.4%)    31 (23.1%)     29 (22.0%)      86 (21.5%) 
    +#>   Related                                 13 (9.7%)    18 (13.4%)     15 (11.4%)      46 (11.5%) 
    +#> Grade 5 AE                               64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#>   Related                                64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#> SAEs                                     85 (63.4%)    80 (59.7%)     87 (65.9%)     252 (63.0%) 
    +#>   Related                                64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#> AE leading to dose reduction of drug X   41 (30.6%)    37 (27.6%)     43 (32.6%)     121 (30.2%) 
    +# add flgs for ae leading to dose reduction, drug withdraw and drug interruption
    +ADAE$withdraw_flg <- ifelse(ADAE$AEACN == "DRUG WITHDRAWN", TRUE, FALSE)
    +ADAE$interrup_flg <- ifelse(ADAE$AEACN == "DRUG INTERRUPTED", TRUE, FALSE)
    +out <- t_ae_summ_slide(
    +  adsl = ADSL, adae = ADAE, arm = "TRT01A",
    +  dose_adjust_flags = c("withdraw_flg", "reduce_flg", "interrup_flg"),
    +  dose_adjust_labels = c(
    +    "AE leading to discontinuation from drug X",
    +    "AE leading to drug X reduction",
    +    "AE leading to drug X interruption"
    +  )
    +)
    +#> Warning: Non-unique sibling analysis table names. Using Labels instead. Use the table_names argument to analyze to avoid this when analyzing the same variable multiple times.
    +#> 	occured at (row) path: root
    +print(out)
    +#> AE summary table
    +#> 
    +#> ————————————————————————————————————————————————————————————————————————————————————————————————————
    +#>                                              A: Drug X    B: Placebo   C: Combination   All Patients
    +#>                                               (N=134)      (N=134)        (N=132)         (N=400)   
    +#> ————————————————————————————————————————————————————————————————————————————————————————————————————
    +#> All grade AEs, any cause                    100 (74.6%)   98 (73.1%)    103 (78.0%)     301 (75.2%) 
    +#>   Related                                   86 (64.2%)    85 (63.4%)     92 (69.7%)     263 (65.8%) 
    +#> Grade 3-4 AEs                               26 (19.4%)    31 (23.1%)     29 (22.0%)      86 (21.5%) 
    +#>   Related                                    13 (9.7%)    18 (13.4%)     15 (11.4%)      46 (11.5%) 
    +#> Grade 5 AE                                  64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#>   Related                                   64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#> SAEs                                        85 (63.4%)    80 (59.7%)     87 (65.9%)     252 (63.0%) 
    +#>   Related                                   64 (47.8%)    52 (38.8%)     64 (48.5%)     180 (45.0%) 
    +#> AE leading to discontinuation from drug X   22 (16.4%)    21 (15.7%)     28 (21.2%)      71 (17.8%) 
    +#> AE leading to drug X reduction              41 (30.6%)    37 (27.6%)     43 (32.6%)     121 (30.2%) 
    +#> AE leading to drug X interruption            4 (3.0%)      4 (3.0%)       3 (2.3%)       11 (2.8%)  
    +generate_slides(out, "ae_summary.pptx")
    +#> [1] "AE summary table"
    +#> [1] "AE summary table (cont.)"
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_aesi_slide.html b/main/reference/t_aesi_slide.html new file mode 100644 index 00000000..31cdef41 --- /dev/null +++ b/main/reference/t_aesi_slide.html @@ -0,0 +1,175 @@ + +Table of AEs of Special Interest adapted from https://insightsengineering.github.io/tlg-catalog/stable/tables/adverse-events/aet01_aesi.html — t_aesi_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Table of AEs of Special Interest +adapted from https://insightsengineering.github.io/tlg-catalog/stable/tables/adverse-events/aet01_aesi.html

    +
    + +
    +
    t_aesi_slide(adsl, adae, aesi, arm = "ACTARM", grad_var = "AETOXGR")
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL data set, dataframe

    + + +
    adae
    +

    ADAE data set, dataframe.

    + + +
    aesi
    +

    AESI variable which will act as a filter to select the rows required to create the table. +An example of AESI variable is CQ01NAM.

    + + +
    arm
    +

    Arm variable, character, `"ACTARM"` by default.

    + + +
    grad_var
    +

    Grading variable, character, `"AETOXGR"` by default.

    + +
    +
    +

    Value

    +

    rtables object

    +
    +
    +

    Author

    +

    Kai Xiang Lim (`limk43`)

    +
    + +
    +

    Examples

    +
    adsl <- eg_adsl
    +adae <- eg_adae
    +adae_atoxgr <- adae %>% dplyr::mutate(ATOXGR = AETOXGR)
    +t_aesi_slide(adsl, adae, aesi = "CQ01NAM")
    +#>                                                                                    A: Drug X    B: Placebo    C: Combination
    +#>                                                                                     (N=134)       (N=134)        (N=132)    
    +#> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
    +#> Total number of patients with at least one AESI                                   97 (72.4%)    93 (69.4%)      99 (75.0%)  
    +#> Total number of AESIs                                                                 396           380            465      
    +#> Total number of patients with at least one AESI by worst grade                                                              
    +#>   Grade 1                                                                          4 (3.0%)      3 (2.2%)           0       
    +#>   Grade 2                                                                          6 (4.5%)      10 (7.5%)       7 (5.3%)   
    +#>   Grade 3                                                                         18 (13.4%)    14 (10.4%)      16 (12.1%)  
    +#>   Grade 4                                                                         15 (11.2%)    20 (14.9%)      18 (13.6%)  
    +#>   Grade 5 (fatal outcome)                                                         76 (56.7%)    70 (52.2%)      75 (56.8%)  
    +#> Total number of patients with study drug withdrawn due to AESI                    21 (15.7%)    15 (11.2%)      26 (19.7%)  
    +#> Total number of patients with dose modified/interrupted due to AESI               56 (41.8%)    63 (47.0%)      64 (48.5%)  
    +#> Total number of patients with treatment received for AESI                         91 (67.9%)    93 (69.4%)      95 (72.0%)  
    +#> Total number of patients with all non-fatal AESIs resolved                        23 (17.2%)    17 (12.7%)      19 (14.4%)  
    +#> Total number of patients with at least one unresolved or ongoing non-fatal AESI   96 (71.6%)    100 (74.6%)     97 (73.5%)  
    +#> Total number of patients with at least one serious AESI                           104 (77.6%)   101 (75.4%)     99 (75.0%)  
    +#> Total number of patients with at least one related AESI                           99 (73.9%)    98 (73.1%)     102 (77.3%)  
    +t_aesi_slide(adsl, adae, aesi = "CQ01NAM", arm = "ARM", grad_var = "AESEV")
    +#>                                                                                    A: Drug X    B: Placebo    C: Combination
    +#>                                                                                     (N=134)       (N=134)        (N=132)    
    +#> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
    +#> Total number of patients with at least one AESI                                   97 (72.4%)    93 (69.4%)      99 (75.0%)  
    +#> Total number of AESIs                                                                 396           380            465      
    +#> Total number of patients with at least one AESI by worst grade                                                              
    +#>   Mild                                                                             4 (3.0%)      3 (2.2%)           0       
    +#>   Moderate                                                                        24 (17.9%)    24 (17.9%)      23 (17.4%)  
    +#>   Severe                                                                          91 (67.9%)    90 (67.2%)      93 (70.5%)  
    +#> Total number of patients with study drug withdrawn due to AESI                    21 (15.7%)    15 (11.2%)      26 (19.7%)  
    +#> Total number of patients with dose modified/interrupted due to AESI               56 (41.8%)    63 (47.0%)      64 (48.5%)  
    +#> Total number of patients with treatment received for AESI                         91 (67.9%)    93 (69.4%)      95 (72.0%)  
    +#> Total number of patients with all non-fatal AESIs resolved                        23 (17.2%)    17 (12.7%)      19 (14.4%)  
    +#> Total number of patients with at least one unresolved or ongoing non-fatal AESI   96 (71.6%)    100 (74.6%)     97 (73.5%)  
    +#> Total number of patients with at least one serious AESI                           104 (77.6%)   101 (75.4%)     99 (75.0%)  
    +#> Total number of patients with at least one related AESI                           99 (73.9%)    98 (73.1%)     102 (77.3%)  
    +t_aesi_slide(adsl, adae_atoxgr, aesi = "CQ01NAM", grad_var = "ATOXGR")
    +#>                                                                                    A: Drug X    B: Placebo    C: Combination
    +#>                                                                                     (N=134)       (N=134)        (N=132)    
    +#> ————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————————
    +#> Total number of patients with at least one AESI                                   97 (72.4%)    93 (69.4%)      99 (75.0%)  
    +#> Total number of AESIs                                                                 396           380            465      
    +#> Total number of patients with at least one AESI by worst grade                                                              
    +#>   Grade 1                                                                          4 (3.0%)      3 (2.2%)           0       
    +#>   Grade 2                                                                          6 (4.5%)      10 (7.5%)       7 (5.3%)   
    +#>   Grade 3                                                                         18 (13.4%)    14 (10.4%)      16 (12.1%)  
    +#>   Grade 4                                                                         15 (11.2%)    20 (14.9%)      18 (13.6%)  
    +#>   Grade 5 (fatal outcome)                                                         76 (56.7%)    70 (52.2%)      75 (56.8%)  
    +#> Total number of patients with study drug withdrawn due to AESI                    21 (15.7%)    15 (11.2%)      26 (19.7%)  
    +#> Total number of patients with dose modified/interrupted due to AESI               56 (41.8%)    63 (47.0%)      64 (48.5%)  
    +#> Total number of patients with treatment received for AESI                         91 (67.9%)    93 (69.4%)      95 (72.0%)  
    +#> Total number of patients with all non-fatal AESIs resolved                        23 (17.2%)    17 (12.7%)      19 (14.4%)  
    +#> Total number of patients with at least one unresolved or ongoing non-fatal AESI   96 (71.6%)    100 (74.6%)     97 (73.5%)  
    +#> Total number of patients with at least one serious AESI                           104 (77.6%)   101 (75.4%)     99 (75.0%)  
    +#> Total number of patients with at least one related AESI                           99 (73.9%)    98 (73.1%)     102 (77.3%)  
    +
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_dd_slide.html b/main/reference/t_dd_slide.html new file mode 100644 index 00000000..765f0dc7 --- /dev/null +++ b/main/reference/t_dd_slide.html @@ -0,0 +1,142 @@ + +Death table — t_dd_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Death table

    +
    + +
    +
    t_dd_slide(adsl, arm = "TRT01A", split_by_study = FALSE, side_by_side = NULL)
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL data set, dataframe

    + + +
    arm
    +

    Arm variable, character, "`TRT01A" by default.

    + + +
    split_by_study
    +

    Split by study, building structured header for tables

    + + +
    side_by_side
    +

    used for studies in China. "GlobalAsia" or "GlobalAsiaChina" to define +the side by side requirement.

    + +
    +
    +

    Value

    +

    rtables object

    +
    +
    +

    Note

    +

    * Default arm variables are set to `"TRT01A"` for safety output, and + `"TRT01P"` for efficacy output

    +
    + +
    +

    Examples

    +
    
    +adsl <- eg_adsl %>% preprocess_t_dd()
    +out1 <- t_dd_slide(adsl, "TRT01A")
    +print(out1)
    +#> Death table
    +#> 
    +#> —————————————————————————————————————————————————————————————————————————————————
    +#>                          A: Drug X    B: Placebo    C: Combination   All Patients
    +#> N (%)                     (N=134)       (N=134)        (N=132)         (N=400)   
    +#> —————————————————————————————————————————————————————————————————————————————————
    +#> All Deaths              25 (18.66%)   23 (17.16%)    22 (16.67%)     70 (17.50%) 
    +#>                                                                                  
    +#>   Progressive Disease     8 (32%)      6 (26.1%)      6 (27.3%)       20 (28.6%) 
    +#>   Adverse Events          9 (36%)      7 (30.4%)      10 (45.5%)      26 (37.1%) 
    +#>   Other                   8 (32%)     10 (43.5%)      6 (27.3%)       24 (34.3%) 
    +generate_slides(out1, "dd.pptx")
    +#> [1] "Death table"
    +
    +out2 <- t_dd_slide(adsl, "TRT01A", split_by_study = TRUE)
    +print(out2)
    +#> Death table
    +#> 
    +#> ———————————————————————————————————————————————————————————————————————————————————————————————————————————————
    +#>                                         AB12345-1                                    AB12345-2                 
    +#> N (%)                    A: Drug X    B: Placebo    C: Combination    A: Drug X    B: Placebo    C: Combination
    +#> ———————————————————————————————————————————————————————————————————————————————————————————————————————————————
    +#> All Deaths              12 (19.35%)   13 (17.57%)     7 (10.94%)     13 (18.06%)   10 (16.67%)    15 (22.06%)  
    +#>                                                                                                                
    +#>   Progressive Disease    4 (33.3%)     3 (23.1%)      3 (42.9%)       4 (30.8%)      3 (30%)        3 (20%)    
    +#>   Adverse Events         5 (41.7%)     5 (38.5%)      2 (28.6%)       4 (30.8%)      2 (20%)       8 (53.3%)   
    +#>   Other                   3 (25%)      5 (38.5%)      2 (28.6%)       5 (38.5%)      5 (50%)       4 (26.7%)   
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_dm_slide.html b/main/reference/t_dm_slide.html new file mode 100644 index 00000000..a7380985 --- /dev/null +++ b/main/reference/t_dm_slide.html @@ -0,0 +1,139 @@ + +Demographic table — t_dm_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Demographic table

    +
    + +
    +
    t_dm_slide(
    +  adsl,
    +  arm = "TRT01P",
    +  vars = c("AGEGR1", "SEX", "RACE", "BECOG", "BBMI"),
    +  stats = c("median", "range", "count_fraction"),
    +  split_by_study = FALSE,
    +  side_by_side = NULL
    +)
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL data set, dataframe

    + + +
    arm
    +

    Arm variable, character, "`TRT01P" by default.

    + + +
    vars
    +

    Characters of variables

    + + +
    stats
    +

    see `.stats` from [tern::analyze_vars()]

    + + +
    split_by_study
    +

    Split by study, building structured header for tables

    + + +
    side_by_side
    +

    "GlobalAsia" or "GlobalAsiaChina" to define the side by side requirement

    + +
    +
    +

    Value

    +

    rtables object

    +
    +
    +

    Note

    +

    * Default arm variables are set to `"TRT01A"` for safety output, and + `"TRT01P"` for efficacy output

    +
    + +
    +

    Examples

    +
    
    +adsl <- eg_adsl
    +out1 <- t_dm_slide(adsl, "TRT01P", c("SEX", "AGE", "RACE", "ETHNIC", "COUNTRY"))
    +#> Error in t_dm_slide_to_df(result): could not find function "t_dm_slide_to_df"
    +print(out1)
    +#> Error: object 'out1' not found
    +generate_slides(out1, "dm.pptx")
    +#> Error: object 'out1' not found
    +
    +out2 <- t_dm_slide(adsl, "TRT01P", c("SEX", "AGE", "RACE", "ETHNIC", "COUNTRY"), split_by_study = TRUE)
    +#> Error in t_dm_slide_to_df(result): could not find function "t_dm_slide_to_df"
    +print(out2)
    +#> Error: object 'out2' not found
    +
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/t_dor_slide.html b/main/reference/t_dor_slide.html new file mode 100644 index 00000000..cace1af8 --- /dev/null +++ b/main/reference/t_dor_slide.html @@ -0,0 +1,124 @@ + +DOR table — t_dor_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    DOR table

    +
    + +
    +
    t_dor_slide(adsl, adtte, arm = "TRT01P", refgroup = NULL)
    +
    + +
    +

    Arguments

    + + +
    adsl
    +

    ADSL dataset

    + + +
    adtte
    +

    ADTTE dataset

    + + +
    arm
    +

    Arm variable, character, "`TRT01P" by default.

    + + +
    refgroup
    +

    Reference group

    + +
    +
    +

    Note

    +

    * Default arm variables are set to `"TRT01A"` for safety output, and + `"TRT01P"` for efficacy output

    +
    + +
    +

    Examples

    +
    adsl <- eg_adsl %>%
    +  dplyr::mutate(TRT01P = factor(TRT01P, levels = c("A: Drug X", "B: Placebo", "C: Combination")))
    +adtte <- eg_adtte %>%
    +  dplyr::filter(PARAMCD == "OS") %>%
    +  dplyr::mutate(TRT01P = factor(TRT01P, levels = c("A: Drug X", "B: Placebo", "C: Combination")))
    +out <- t_dor_slide(adsl, adtte)
    +print(out)
    +#> DOR slide
    +#> 
    +#> ——————————————————————————————————————————————————————————————————————————
    +#>                                A: Drug X      B: Placebo    C: Combination
    +#>                                 (N=134)        (N=134)         (N=132)    
    +#> ——————————————————————————————————————————————————————————————————————————
    +#> Responders                        134            134             132      
    +#>   With subsequent event (%)    58 (43.3%)     58 (43.3%)      69 (52.3%)  
    +#>   Median (Months, 95% CI)     NA (9.3, NA)   NA (9.4, NA)   9.4 (7.6, NA) 
    +generate_slides(out, "dor.pptx")
    +#> [1] "DOR slide"
    +
    +
    +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/table_to_slide.html b/main/reference/table_to_slide.html new file mode 100644 index 00000000..ab3e15a4 --- /dev/null +++ b/main/reference/table_to_slide.html @@ -0,0 +1,111 @@ + +Add decorated flextable to slides — table_to_slide • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Add decorated flextable to slides

    +
    + +
    +
    table_to_slide(
    +  ppt,
    +  content,
    +  decor = TRUE,
    +  table_loc = ph_location_type("body"),
    +  ...
    +)
    +
    + +
    +

    Arguments

    + + +
    ppt
    +

    Slide

    + + +
    content
    +

    Content to be added

    + + +
    decor
    +

    Should table be decorated

    + + +
    table_loc
    +

    Table location

    + + +
    ...
    +

    additional arguments

    + +
    +
    +

    Value

    +

    Slide with added content

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.Ddataframe.html b/main/reference/to_flextable.Ddataframe.html new file mode 100644 index 00000000..490392e6 --- /dev/null +++ b/main/reference/to_flextable.Ddataframe.html @@ -0,0 +1,114 @@ + +To flextable — to_flextable.Ddataframe • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Convert the dataframe into flextable, and merge the cells +that have colspan > 1. align the columns to the middle, and the row.names to +the left. indent the row.names by 10 times indention.

    +
    + +
    +
    # S3 method for class 'Ddataframe'
    +to_flextable(x, lpp, table_format = table_format, ...)
    +
    +# S3 method for class 'Ddataframe'
    +to_flextable(x, lpp, table_format = table_format, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    dataframe

    + + +
    lpp
    +

    {lpp} from {paginate_table}. numeric. Maximum lines per page

    + + +
    table_format
    +

    Table format

    + + +
    ...
    +

    arguments passed to program

    + +
    +
    +

    Details

    +

    convert the dataframe object into flextable, and merge the cells +that have colspan > 1. align the columns to the middle, and the row.names to +the left. indent the row.names by 10 times indention. titles are added in headerlines, +footnotes are added in footer lines, +The width of the columns are aligned based on autofit() of officer function. +For paginated table, the width of the 1st column are set as the widest 1st column among paginated tables

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.VTableTree.html b/main/reference/to_flextable.VTableTree.html new file mode 100644 index 00000000..1f58c385 --- /dev/null +++ b/main/reference/to_flextable.VTableTree.html @@ -0,0 +1,90 @@ + +Covert rtables object to flextable — to_flextable.VTableTree • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Covert rtables object to flextable

    +
    + +
    +
    # S3 method for class 'VTableTree'
    +to_flextable(x, table_format = orange_format, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    rtable(VTableTree) object

    + + +
    table_format
    +

    a function that decorate a flextable and return a flextable

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.dVTableTree.html b/main/reference/to_flextable.dVTableTree.html new file mode 100644 index 00000000..58ab6e0f --- /dev/null +++ b/main/reference/to_flextable.dVTableTree.html @@ -0,0 +1,103 @@ + +To flextable — to_flextable.dVTableTree • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    To flextable

    +
    + +
    +
    # S3 method for class 'dVTableTree'
    +to_flextable(x, lpp, cpp, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    decorated rtable(dVTableTree) object

    + + +
    lpp
    +

    {lpp} from paginate_table. numeric. Maximum lines per page

    + + +
    ...
    +

    argument parameters

    + +
    +
    +

    Details

    +

    convert the VTableTree object into flextable, and merge the cells +that have colspan > 1. align the columns to the middle, and the row.names to +the left. indent the row.names by 10 times indention. titles are added in headerlines, +footnotes are added in footer lines, +The width of the columns are aligned based on autofit() of officer function. +For paginated table, the width of the 1st column are set as the widest 1st column among paginated tables

    +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.data.frame.html b/main/reference/to_flextable.data.frame.html new file mode 100644 index 00000000..de006e36 --- /dev/null +++ b/main/reference/to_flextable.data.frame.html @@ -0,0 +1,85 @@ + +convert data.frame to flextable — to_flextable.data.frame • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    convert data.frame to flextable

    +
    + +
    +
    # S3 method for class 'data.frame'
    +to_flextable(
    +  x,
    +  col_width = NULL,
    +  table_format = orange_format,
    +  dose_template = FALSE,
    +  font_size = 9,
    +  ...
    +)
    +
    + + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.default.html b/main/reference/to_flextable.default.html new file mode 100644 index 00000000..669b287a --- /dev/null +++ b/main/reference/to_flextable.default.html @@ -0,0 +1,90 @@ + +default method to to_flextable — to_flextable.default • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    default method to to_flextable

    +
    + +
    +
    # Default S3 method
    +to_flextable(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to to_flextable

    + + +
    ...
    +

    additional arguments. not used.

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.dlisting.html b/main/reference/to_flextable.dlisting.html new file mode 100644 index 00000000..38de415c --- /dev/null +++ b/main/reference/to_flextable.dlisting.html @@ -0,0 +1,78 @@ + +convert listing to flextable — to_flextable.dlisting • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    convert listing to flextable

    +
    + +
    +
    # S3 method for class 'dlisting'
    +to_flextable(x, cpp, lpp, ...)
    +
    + + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_flextable.html b/main/reference/to_flextable.html new file mode 100644 index 00000000..e258a949 --- /dev/null +++ b/main/reference/to_flextable.html @@ -0,0 +1,89 @@ + +s3 method for to_flextable — to_flextable • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    s3 method for to_flextable

    +
    + +
    +
    to_flextable(x, ...)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    object to to_flextable

    + + +
    ...
    +

    additional arguments passed to methods

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/to_vector.html b/main/reference/to_vector.html new file mode 100644 index 00000000..8dba3646 --- /dev/null +++ b/main/reference/to_vector.html @@ -0,0 +1,85 @@ + +Convert list of numbers to vectors — to_vector • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Convert list of numbers to vectors

    +
    + +
    +
    to_vector(num_list)
    +
    + +
    +

    Arguments

    + + +
    num_list
    +

    list of numbers

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/trim_perc.html b/main/reference/trim_perc.html new file mode 100644 index 00000000..2b02fff3 --- /dev/null +++ b/main/reference/trim_perc.html @@ -0,0 +1,89 @@ + +Format of xx.xx (xx.x) — trim_perc • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Format of xx.xx (xx.x)

    +
    + +
    +
    trim_perc(x, output)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    input array

    + + +
    output
    +

    output handle

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/reference/trim_perc1.html b/main/reference/trim_perc1.html new file mode 100644 index 00000000..69867f6a --- /dev/null +++ b/main/reference/trim_perc1.html @@ -0,0 +1,89 @@ + +Format of xx.xx (xx.xx) — trim_perc1 • autoslider.core + + +
    +
    + + + +
    +
    + + +
    +

    Format of xx.xx (xx.xx)

    +
    + +
    +
    trim_perc1(x, output)
    +
    + +
    +

    Arguments

    + + +
    x
    +

    input array

    + + +
    output
    +

    output handle

    + +
    + +
    + +
    + + +
    + +
    +

    Site built with pkgdown 2.1.1.

    +
    + +
    + + + + + + + + diff --git a/main/sitemap.xml b/main/sitemap.xml new file mode 100644 index 00000000..609f8190 --- /dev/null +++ b/main/sitemap.xml @@ -0,0 +1,75 @@ + +/404.html +/CONTRIBUTING.html +/LICENSE-text.html +/authors.html +/index.html +/news/index.html +/reference/autoslider.core-package.html +/reference/autoslider_format.html +/reference/center_figure_loc.html +/reference/center_table_loc.html +/reference/check_and_set_cutoff.html +/reference/dec_paste.html +/reference/decorate-VTableTree-method.html +/reference/decorate-listing_df-method.html +/reference/decorate.autoslider_error.html +/reference/decorate.default.html +/reference/decorate.ggplot.html +/reference/decorate.grob.html +/reference/decorate.html +/reference/decorate.list.html +/reference/decorate_outputs.html +/reference/eg_adae.html +/reference/eg_adeg.html +/reference/eg_adex.html +/reference/eg_adlb.html +/reference/eg_adrs.html +/reference/eg_adsl.html +/reference/eg_adtr.html +/reference/eg_adtte.html +/reference/eg_advs.html +/reference/fastDoCall.html +/reference/figure_to_slide.html +/reference/format_3d.html +/reference/format_date.html +/reference/func_wrapper.html +/reference/gen_notes.html +/reference/generate_output.html +/reference/generate_outputs.html +/reference/generate_slides.html +/reference/get_proper_title.html +/reference/if_display_pp.html +/reference/index.html +/reference/lyt_to_side_by_side.html +/reference/lyt_to_side_by_side_two_data.html +/reference/mutate_actarm.html +/reference/na_replace.html +/reference/perc_perc.html +/reference/ph_with_img.html +/reference/preprocess_t_dd.html +/reference/preprocess_t_ds.html +/reference/print.decoratedGrob.html +/reference/print.decoratedGrobSet.html +/reference/s_proportion_1.html +/reference/s_surv_time_1.html +/reference/slides_preview.html +/reference/t_ae_slide.html +/reference/t_ae_summ_slide.html +/reference/t_aesi_slide.html +/reference/t_dd_slide.html +/reference/t_dm_slide.html +/reference/t_dor_slide.html +/reference/table_to_slide.html +/reference/to_flextable.Ddataframe.html +/reference/to_flextable.VTableTree.html +/reference/to_flextable.dVTableTree.html +/reference/to_flextable.data.frame.html +/reference/to_flextable.default.html +/reference/to_flextable.dlisting.html +/reference/to_flextable.html +/reference/to_vector.html +/reference/trim_perc.html +/reference/trim_perc1.html + +