Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure analysis results + add visit variable to pool data.frame #362

Open
wants to merge 85 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
782d08b
add change function and lst2df function to utility
pengguanya Apr 27, 2022
670d82e
wrap pool to return data.frame instead of list
pengguanya Apr 27, 2022
4150c76
use analysis_results object in ancova instead of named list
pengguanya May 6, 2022
6bf4538
update analysis function to handle analysis_result object
pengguanya May 6, 2022
14f532c
add meta data to lsm0 and lsm1 in ancova
pengguanya May 6, 2022
22fd021
add util function of add meta
pengguanya May 6, 2022
caf8a2d
update example of analysis function in the header
pengguanya May 6, 2022
6a97460
update print.analysis function to print analysis info in a tabular fo…
pengguanya May 6, 2022
0f8c654
remove wrapper's call
pengguanya May 6, 2022
1e61805
fix import error %in% is in base not dplyr
pengguanya May 9, 2022
80d48c7
update docs
pengguanya May 9, 2022
5ef2b84
fix header example
pengguanya May 9, 2022
7860198
Merge branch '255-01' of github.com:insightsengineering/rbmi into 255-01
pengguanya May 9, 2022
e87eeee
add validation for object class and exceptoin handling
pengguanya May 9, 2022
2f5feef
fix exception handling
pengguanya May 9, 2022
9eba1d3
use assertthat instead of stopifnot and git rid of non-base functions…
pengguanya May 9, 2022
deb1ee9
add util funs
pengguanya May 10, 2022
9858161
update analysis
pengguanya May 10, 2022
606eeac
update doc
pengguanya May 10, 2022
1d25df0
udpate namespace
pengguanya May 10, 2022
4c04422
update base_bind_rows and use it in analysis instead of dplyr::bind_rows
pengguanya May 11, 2022
cde28a1
move namechecker function from analyse.R to utilities.R since it is m…
pengguanya May 11, 2022
453f13a
use assert_that instead of stopifnot
pengguanya May 11, 2022
02f37be
lazily evaluate namechecker to avoid name error
pengguanya May 11, 2022
ac96498
fix header
pengguanya May 11, 2022
1dc88fd
update header
pengguanya May 11, 2022
2e282c1
use base R instead of rlang. add more paramters to function
pengguanya May 11, 2022
d0b3cff
update doc
pengguanya May 11, 2022
4d276e4
update header and comment
pengguanya May 11, 2022
e6f6091
use anonymous function instead of partial function to avoid using purrr
pengguanya May 11, 2022
5b51468
change keyword parameter to position parameter so that when required …
pengguanya May 11, 2022
23d23e1
add assert functions
pengguanya May 11, 2022
0cfd00c
update doc
pengguanya May 11, 2022
eff5d4a
add test
pengguanya May 12, 2022
5453a16
update test
pengguanya May 12, 2022
2f6f9b5
use better variable name and update function header
pengguanya May 13, 2022
ecb1e6e
udpate add_meta to change how parameter is called and make it more ro…
pengguanya May 13, 2022
0e16edb
allow NA for se and use anyNA instead of is.na to be more robust
pengguanya May 13, 2022
dd8a6c5
change se from required to optional parameter for analysis_result
pengguanya May 13, 2022
059a2cb
update header and doc
pengguanya May 13, 2022
1e4a8fc
update doc
pengguanya May 13, 2022
fe8977e
not export as_analysis_result
pengguanya May 18, 2022
09b4b58
add test for new analysis functions
pengguanya May 18, 2022
a687a2c
modify test for original analysis functions
pengguanya May 19, 2022
74ba1d6
update namespace
pengguanya May 19, 2022
7de156f
update utils
pengguanya May 20, 2022
9330ff8
doc for new utils funcionts
pengguanya May 20, 2022
bbdc170
update check in as_analysis
pengguanya May 20, 2022
1a0d47c
update test for analysis functions
pengguanya May 20, 2022
f0e88b1
fix wrong counting of analysis names
pengguanya May 20, 2022
2f7956d
add test for util functions compose_n and back_apply_at
pengguanya May 21, 2022
56e9b65
add extract analysis result function
pengguanya May 21, 2022
5b4b53a
update test-ancova
pengguanya May 21, 2022
302f351
add assertation to extract_analysis_result
pengguanya May 22, 2022
02975cb
update test ancova
pengguanya May 22, 2022
ebc556f
update all tests functions in test-ancova
pengguanya May 23, 2022
b074bf8
make extract_analysis_result more robust
pengguanya May 24, 2022
2496b6a
add test for extract_analysis_result
pengguanya May 24, 2022
aea6e83
code formating
pengguanya May 24, 2022
6a990b3
fix variable name
pengguanya May 25, 2022
7783091
fix duplicate names
pengguanya May 30, 2022
8a8d9f3
update doc for extract_analysis_result
pengguanya Jun 2, 2022
9e209ae
update pool
pengguanya Jun 2, 2022
9df6e99
update transpose results
pengguanya Jun 2, 2022
cc9e859
update test for new pool function
pengguanya Jun 2, 2022
3a5c84d
update comment
pengguanya Jun 2, 2022
2a5318c
update pool
pengguanya Jun 13, 2022
c35f4b6
fix typo in header and comment
pengguanya Jun 13, 2022
a32ec18
add utility functions
pengguanya Jun 13, 2022
18cd5fe
update doc
pengguanya Jun 13, 2022
f398167
remove deprecated doc
pengguanya Jun 13, 2022
a2f7af2
update doc
pengguanya Jun 13, 2022
35b6d0f
update test for utilities
pengguanya Jun 13, 2022
c8a1438
update test
pengguanya Jun 13, 2022
fea5895
update test
pengguanya Jun 14, 2022
b1a295c
update analyse
pengguanya Jun 14, 2022
0a9798a
update namespace
pengguanya Jun 14, 2022
95a8dbf
update analysis functions
pengguanya Jun 16, 2022
243392f
update pool
pengguanya Jun 16, 2022
df823e7
update utilities
pengguanya Jun 16, 2022
3f36cbd
update tests
pengguanya Jun 16, 2022
7d21a23
update doc
pengguanya Jun 16, 2022
6e0336f
update namespace
pengguanya Jun 16, 2022
f10b57e
final update
pengguanya Jun 17, 2022
8c3f950
resolved merge conflicts
gowerc Oct 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by roxygen2: do not edit by hand

S3method(as.data.frame,analysis)
S3method(as.data.frame,pool)
S3method(draws,approxbayes)
S3method(draws,bayes)
Expand Down Expand Up @@ -37,19 +38,22 @@ S3method(validate,stan_data)
export(Stack)
export(add_class)
export(analyse)
export(analysis_result)
export(ancova)
export(as_class)
export(as_vcov)
export(delta_template)
export(draws)
export(expand)
export(expand_locf)
export(extract_analysis_result)
export(extract_imputed_dfs)
export(fill_locf)
export(getStrategies)
export(get_example_data)
export(has_class)
export(impute)
export(is.analysis_result)
export(locf)
export(longDataConstructor)
export(method_approxbayes)
Expand All @@ -72,6 +76,7 @@ import(R6)
import(Rcpp)
import(methods)
importFrom(assertthat,assert_that)
importFrom(assertthat,has_attr)
importFrom(mmrm,VarCorr)
importFrom(rstan,extract)
importFrom(rstan,sampling)
Expand Down
Loading