Граф коммитов

148 Коммитов

Автор SHA1 Сообщение Дата
Mark P 90f9a9602c
Revert "Feature: IV with p value" 2021-01-15 09:31:33 -08:00
Mark P a515e2dd22
Merge branch 'main' into IV_with_p_value 2021-01-15 09:11:43 -08:00
Martin Chan 8d636d9d73 Merge branch 'main' into feature/p2p-refactor 2021-01-13 22:50:25 +00:00
Martin Chan dee4739435 feat: change summaryTable return (#45)
The updated summary table shows the top values of each combination of attribute, with three rows shown per community.
2021-01-13 22:26:38 +00:00
Martin Chan 7bc6825cb6 feat: change behaviour of network_describe() (#45)
All rows are released, instead of just keeping the first row per permutation.
2021-01-13 21:57:48 +00:00
Martin Chan d0b2dca4d0 chore: pass R CMD checks 2021-01-13 21:22:11 +00:00
Martin Chan fb01123078 docs: for R CMD checks
Undocumented arguments
2021-01-13 14:01:09 +00:00
Martin Chan eabefae8f1 feat: add seed for network_p2p() 2021-01-13 13:49:36 +00:00
Martin Chan 3882318f24 feat: change save path message
For this to be more informative on what is actually being run
2021-01-13 09:12:38 +00:00
m-m-powers 9c08451a8b Update network_leiden.R
Added seed argument to network_leiden so that it can be stable when running it multiple times
2021-01-12 17:03:07 -08:00
Martin Chan 5c6fcf9713 refactor: simplify p2p API (#38)
Major breaking changes to `network_p2p()` so that it is also capable of performing community detection. This will supersede `network_leiden()` and `network_louvain()`.
2021-01-13 00:12:26 +00:00
Martin Chan 1e88f13b20 fix: previously parameters not working 2021-01-12 22:23:09 +00:00
Martin Chan 8b0830c59f fix: error with saving PDF (#43) 2021-01-12 21:51:48 +00:00
Martin Chan bee1287312 feat: add p2p_data_sim
New method for simulating p2p data
2021-01-11 18:36:01 +00:00
Martin Chan ef4e8a508e fix: pass R CMD checks
Load dplyr at example so `mutate()` can be used
2021-01-08 18:23:24 +00:00
Martin Chan 3890e21c99 docs: update roxygen
- Add comments to examples
- Explicit namespacing for `stats::filter()` and `dplyr::filter()` - to avoid conflict warning messages upon package load
- Make explicit the method used
2021-01-08 18:01:36 +00:00
Martin Chan bd74539d0b chore: update docs and NAMESPACE
Explicit namespace for tidyselect
2021-01-08 17:59:53 +00:00
m-m-powers 661a1e0a6e P_test_integreation
Updating p_test to include T/F for paired
Updating period_change to use p_test() to calculate p-values
2021-01-08 08:56:42 -08:00
m-m-powers c409acf02f Updating for R best practices
Renaming arguments and explicitly stating packages
2021-01-08 08:03:11 -08:00
Martin Chan b58dd01a7a chore: add explicit namespace 2021-01-07 17:42:24 +00:00
Martin Chan 607c1b105d fix: R CMD check errors 2021-01-07 17:41:12 +00:00
Martin Chan 5cc7cdedd2 Merge branch 'main' into IV_with_p_value 2021-01-07 16:53:17 +00:00
Martin Chan e4766967d8 fix: allow console plotting 2021-01-07 13:56:25 +00:00
Martin Chan 4cd8ec70b2 feat: allow console plotting 2021-01-07 13:51:49 +00:00
Martin Chan 6e5bc771f0 feat: add summary table option
For network_louvain and network_leiden
2021-01-07 12:02:13 +00:00
Martin Chan d6bb198814 format: change title to caption 2021-01-07 11:17:55 +00:00
Martin Chan b1ad559564 fix: size_threshold
Previously not properly implemented
2021-01-07 10:40:35 +00:00
Martin Chan cb15a99453 feat: add "Saved to" message
Confirms to the user where the output plot is saved.

A size threshold is also added.
2021-01-07 10:37:16 +00:00
Martin Chan d53e84a3f9 feat: add fast plotting method
Only implemented for network_leiden()
2021-01-07 10:17:04 +00:00
Martin Chan d32e9f85fd docs: enrich network docs
Add default return values
2021-01-06 17:29:43 +00:00
Martin Chan 2ff3729d6f docs: specify return as PDF 2021-01-06 13:53:50 +00:00
Martin Chan 560aead33a docs: add plot example for keymetrics_scan 2021-01-06 13:36:29 +00:00
Martin Chan e9a60a8c90 fix: import changes
Import individual functions for pairwise_count rather than the entire data.table library. This should remove start up warning messages with namespace conflicts between dplyr and data.table
2021-01-06 10:49:46 +00:00
Martin Chan fa9db7b199 perf: speed up joins
- Speed up the data joins for creating vertex meta-data.
- Add missing argument documentation for `desc_hrvar`
2021-01-06 09:50:29 +00:00
Martin Chan 0b9e35ccef perf: set pch = 16 for faster rendering 2021-01-05 14:31:47 +00:00
Martin Chan d4470a4d53 feat: default save as PDF output 2021-01-05 10:45:56 +00:00
m-m-powers 28ae67043a Creating p_test()
Creating p_test as a function and integrating it into create_IV
2020-12-22 11:54:32 -08:00
Martin Chan 276d4efa71 feat: add network return option 2020-12-18 19:13:54 +00:00
Martin Chan 2f14a4931e Merge branch 'main' into feature/network-community-detection 2020-12-18 18:28:15 +00:00
Martin Chan e582cc4684 feat: add describe option
network_louvain() and network_leiden() can now return a description outputs using network_describe()
2020-12-18 18:14:58 +00:00
Martin Chan fcece6fda3 refactor: network_describe 2020-12-18 17:47:40 +00:00
Martin Chan d6d778024c feat: network_leiden
Improve formatting, performance, and return options
2020-12-18 17:47:21 +00:00
Martin Chan 3b5d858c1c feat: network_louvain
Improve formatting, return options, and documentation
2020-12-18 17:46:45 +00:00
Martin Chan 9b74d2175f refactor: remove widyr dependency 2020-12-18 13:45:58 +00:00
Martin Chan 6386f99651 feat: add pairwise_count
A data.table implementation of the original widyr::pairwise_count() function
2020-12-18 13:45:35 +00:00
Martin Chan 626c95fed1 chore: remove empty return value 2020-12-18 12:59:29 +00:00
Martin Chan 8574145fc1 refactor: migrate igraph network_p2p 2020-12-18 11:06:06 +00:00
Martin Chan ef7123ee48 docs: unwrap examples g2g 2020-12-18 11:05:41 +00:00
Martin Chan 0116762544 refactor: use igraph
migrate implementation of network_g2g() to igraph
2020-12-17 22:21:56 +00:00
Martin Chan 6ad8fff184 feat: remove italic subtitle (#29) 2020-12-17 17:57:15 +00:00