diff --git a/DESCRIPTION b/DESCRIPTION index b802b39f..13741adf 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: migraph Title: Inferential Methods for Multimodal and Other Networks -Version: 1.7.0 +Version: 1.7.1 Description: A set of tools for testing networks. It includes functions for univariate and multivariate conditional uniform graph and quadratic assignment procedure testing, and network regression. @@ -20,7 +20,7 @@ Depends: R (>= 4.1.0), manynet (>= 2.3.1), autograph (>= 1.2.2), - netrics (>= 0.4.0) + netrics (>= 1.0.1) Imports: dplyr (>= 1.1.0), ergm, diff --git a/NEWS.md b/NEWS.md index a099832c..194db4f3 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,13 @@ +# migraph 1.7.1 + +## Package + +- Raised the minimum required version of `{netrics}` to 1.0.1 + +## Tutorials + +- Updated intro tutorial + # migraph 1.7.0 ## Package diff --git a/inst/tutorials/tutorial0/tutorial0.Rmd b/inst/tutorials/tutorial0/tutorial0.Rmd index e66572a5..f63f67a5 100644 --- a/inst/tutorials/tutorial0/tutorial0.Rmd +++ b/inst/tutorials/tutorial0/tutorial0.Rmd @@ -67,7 +67,7 @@ such as in the [stocnet](https://github.com/stocnet) group of packages... ### What is RStudio? -RStudio logo +RStudio logo [RStudio](https://posit.co/products/open-source/rstudio/) is an integrated development environment (IDE) for R and Python, enabling researchers to interact with R (and/or Python) through a fully-functional editor @@ -414,10 +414,10 @@ You can follow my example below (copy to a new script and uncomment): ```{r egonet-eg, exercise = TRUE} mynetwork <- matrix(0,2,2) # this creates an empty network of 2 people # Next I'm going to name the matrix rows and columns: -rownames(mynetwork) <- c("James Hollway","Korakot Janteerasakul") -colnames(mynetwork) <- c("James Hollway","Korakot Janteerasakul") -mynetwork[1,2] <- 1 # this means I know Korakot already -mynetwork[2,1] <- 1 # I think I can say Korakot knows me already too... -mynetwork["James Hollway","Korakot Janteerasakul"] <- 1 # I could also do this by name +rownames(mynetwork) <- c("James Hollway","Tommaso Fonti") +colnames(mynetwork) <- c("James Hollway","Tommaso Fonti") +mynetwork[1,2] <- 1 # this means I know Tommaso already +mynetwork[2,1] <- 1 # I think I can say Tommaso knows me already too... +mynetwork["James Hollway","Tommaso Fonti"] <- 1 # I could also do this by name # mynetwork[mynetwork > 0] <- 0 # Just in case you make a mistake, this wipes it! ```