-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding myself to the project * Some discussion about the dimensions of ans (exposure calculation) * just fixing a paragraph in Ego exposure * looking as.vector things * out object from exposure_for() * More dimensional analysis. Changes to avoid ambiguous names * stats.R fixed * out object (in exposure_for() function) now allows q diff processes * Working forms of .exposure, exposure_for, and exposure.list * updates for .exposure and exposure.list functions * correcting labels of variables * Fixing tests of diffnet * changes to exposure.list() to allow arrays of cumadopt. Add multidiff-test-discussion too. * aditional test -multidiffusion exposure calculations- * updating to Steps 1.1 (initial adopters) and 1.2 (finding seed nodes) in rdiffnet function * updating cumadopt, exposure simulation, and toa for multi-diff processes * adding a set of tests for rdiffnet_validate_args function * rdiffnet function updated to allow multi-diff. An small error in rdiffnet_check_seed_graph fixed. * generalization of rdiffnet_make_threshold function. Some others modification following the merge of the 41... branch * lot of work in new_diffnet and toa_mat functions. New tests for rdiffnet_make_threshold. Some modification in rdiffnet too. Not expecting to work yet. * changes in new_diffnet and toa_mat. Now all the original tests for those functions are pass. * updating rdiffnet_validate_args to allow objects seed.nodes different from -list-. For example: rdiffnet(100,10, seed.p.adopt = list(.1, .05)), or adding seed.nodes=c(1,2,3,4), seed.nodes=random, or seed.nodes=c(random,central). Respective tests added. * rdiffnet now allow multiple diff, showing the results. There is still work to be done to display a line saying 'number of behaviors', and to fix the summary() function. * rdiffnet now allow multiple diff, showing the results. There is still work to be done to display a line saying 'number of behaviors', and to fix the summary() function. * Now rdiffnet allow multiple diff, and shows the name -Behavior-, -Num of behaviors-, and * some minor changes in summary.diffnet * advances in summary.diffnet() for multi-diff, but this will be change to something more simple later * changes in exposure.list and exposure_for to allow personalized attrs in multi-diff * minor changes in toa_mat * now new_diffnet sets the num_of behavior internally * more changes to toa_mat to compute num_of_adoption on more classes * now toa_mat can compute adopt and cumadopt from diffnet (multiple) and matrix objects. The same tests for single behavior were adapted. * all comments were addressed, except -behavior- as a vector. * checking the status of "dynamic" and "static" graphs. * draft of split_behaviors(), with tests. * a buch of things: 1. new test for toa_diff with diffnet obj as input, 2. modifications to toa_diff, now allowing for matrix and multiple-diff diffnet obj, 3. tests for toa_diff with multi-diff inputs, 4. adding split_behavior as new function in rdiffnet, and 5. adding tests for split_behaviors in test-rdiffnet * improving readability of toa_diff * Adding disadopt * Removing weird code * Adding prototype of disadopt * Adding missing file * saving local changes * changes to toa in rdiffnet. Now the test -Disadoption works- actually works. Nevertheless, there are a couple of failures that we have to fix. * Add something to the vignet, and modifications to rdiffnet, in calculating toa * Adding missing is.na() when checking new adopters * Adding the specific q, is.na(toa[,q]). Now works. * Fixing summary.diffnet() for multi-diff * Updating documentation for exposure() * Adding split_behavior for NAMESPACE * Add -behavior- to be splitted in split_behavior * Example for split_behavior documentation * Adding documentation and examples to rdiffnet * More documentation to split_behaviors and new_diffnet * Updating documentation for toa_mat * Adding documentation for rdiffnet, with random disadoption example * Updating toa_diff documentation --------- Co-authored-by: George G. Vega Yon <[email protected]>
- Loading branch information
Showing
37 changed files
with
1,282 additions
and
278 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.