Weknow from the lavaan::lavaan() output that some pathsare significant and some are not. In some disciplines, asterisks areconventionally added indicate this. However,semPlot::semPaths() does not do this. We can usemark_sig() to add asterisks based on the p-values of thefree parameters.
The first argument, semPaths_plot, is the output fromsemPaths::semPlot(). The second argument,object, is the lavaan::lavaan() output used togenerate the plot. This output is needed to extra the standarderrors.
By default, the standard errors are enclosed by parentheses andappended to the parameter estimates, separated by one space. Theargument sep can be used to use another separator. Forexample, if "\n" is used, the standard errors will bedisplayed below the corresponding parameter estimates.
It is not easy to decide what the value should be used to set thecurve. Trial and error is needed for complicated models. Thecurve attributes of the corresponding arrows of theqgraph object will be updated.
semPlot::semPaths() supports changing the labels ofnodes when generating a plot through the argumentnodeLabels. However, if we want to use functions such asmark_sig() or mark_se(), which requireinformation from the original results from the originallavaan output, then we cannot use nodeLabelsbecause these functions do not (yet) know how to map a user-definedlabel to the variables in the lavaan output.
One solution is to use semptools functions to processthe qgraph generated by semPlot::semPaths(),and change the node labels in last step to create the finalplot. This can be done by change_node_label().
The second argument can be a named vector or a named list. The nameof each element is the original label (e.g., x1 in thisexample), and the value is the new label (e.g., "Attitude"for x1). Only the labels of named nodes will bechanged.
For most of the functions, the necessary argument beside thesemPlot::semPaths output, if any, is the second element.Therefore, they can be included as unnamed arguments. For the third andother optional arguments, such as sep formark_se(), it is better to name them.
SimEngine v1.0.0: Implements functions for structuring, maintaining, running, and debugging statistical simulations on both local and cluster-based computing environments. Emphasis is placed on documentation and scalability. There is an Introduction, an example Power Calculation, and a vignette Comparing SE Estimators.
hockeyR v0.1.1: Provides functions to scrape hockey play-by-play data from NHL.com and Hockey-Reference.com including standings, player stats, and jersey number history. There is a Getting Started Guide and a vignette on Scraping.
yowie v0.1.0: Provides longitudinal wages data sets and several demographic variables from the National Longitudinal Survey of Youth from 1979 to 2018 including: the wages data from the cohort whose highest grade completed is up to high school; the wages data of the high school dropouts and; the demographic data of the cohort in the survey year 1979. See the vignette for details.
COINr v0.5.5: Implements a development environment for composite indicators and scoreboards including utilities for construction (indicator selection, denomination, imputation, data treatment, normalization, weighting and aggregation) and analysis (multivariate analysis, correlation plotting. Look here for an online book, and see the vignette for an extended overview.
spflow v0.1.0: Provides functions to estimate spatial econometric models of origin-destination flows which may exhibit spatial autocorrelation in both the dependent variable and the explanatory variables. See LeSage and Pace (2008) for information on the model, Dargel (2021) for information on the estimation procedures, and the vignette for examples.
DOSPortfolio v0.1.0: Implements dynamic optimal shrinkage estimators for the weights of the global minimum variance portfolio reconstructed at given reallocation points as derived in Bodnar et al. (2021). See the Introduction.
SPLICE v1.0.0: Extends the individual claim simulator SynthETIC to simulate the evolution of case estimates of incurred losses through the lifetime of an insurance claim. See Taylor & Wang (2021) for background and the vignette to get started.
MAnorm2 v1.2.0: Implements a method for normalizing ChIP-seq signals across individual samples or groups of samples and a system of statistical models for calling differential ChIP-seq signals between two or more biological conditions. Refer to Tu et al. (2021) and Chen et al. (2021) for the statistical details. The vignette provides several examples.
morphemepiece v1.0.1: Provides functions to tokenize text into morphemes ether by table lookup or a modified wordpiece tokenization algorithm. There is a vignette on testing the fall-through algorithm and another on Generating a Vocabulary.
NIMAA v0.1.0: Implements a pipeline for nominal data mining, which can effectively find special relationships between data. See Jafari et al. (2021) for a description of the method and the vignette for an introduction.
gapclosing v1.0.2: Provides functions to estimate the disparities across categories (e.g. Black and white) that persists if a treatment variable (e.g. college) is equalized. See Lundberg (2021) for the methodology and the vignette for an overview with examples.
iDOVE v1.3: Implements a nonparametric maximum likelihood method for assessing potentially time-varying vaccine efficacy against SARS-CoV-2 infection under staggered enrollment and time-varying community transmission, allowing crossover of placebo volunteers to the vaccine arm. See Lin et al. (2021) for background and the vignette for the details.
powerly v1.5.2: Implements the sample size computation method for network models proposed by Constantin et al. (2021) which takes the form of a three-step recursive algorithm to find an optimal sample size given a model specification and a performance measure of interest. See README for an example.
multigrapher v0.1.0: Implements methods and models for analyzing multigraphs as introduced by Shafie (2015) including methods to study local and global properties and goodness of fit tests. See Shafle (2016). The vignette provides an introduction.
nevada v0.1.0: Implements a statistical framework for network-valued data analysis which leverages the complexity of the space of distributions on graphs. See Lovato et al. (2020) and Lovato et al. (2021) for the statistical background, and the vignette for an example.
robber v0.2.2: Implementation of a variety of methods to compute the robustness of ecological interaction networks with binary interactions as described in Chabert-Liddell et al. (2021). There is a vignette on Topological Analysis.
argoFloats v1.0.3: Supports the analysis of oceanographic data recorded by Argo autonomous drifting profiling floats. See Kelley et al. (2021) for more on the scientific context and applications. There is an Introduction and a vignette on Quality Control and Adjusted Data.
biosurvey v0.1.1: Provides tools that allow users to plan systems of sampling sites with the goals of increasing the efficiency of biodiversity monitoring. See Arita et al. (2011) and Sobern & Cavner (2015) for background. There are vignettes on Preparing Data, Selecting Sample Sites, Using Preselected Points, and Testing Efficacy of Selected Sites.
HostSwitch v0.1.0: Provides functions to aims to investigate the dynamics of the host switch in the population of an organism that interacts with current and potential hosts over generations. The underlying model is based on Araujo et al. (2015). See the vignette for an example.
spatialRF v1.1.3: Implements methods to automatically generate and select spatial predictors for spatial regression with Random Forest. See Dray et al. (2006) and RFsp Hengl et al. (2017). Look here for documentation and examples.
vdra v1.0.0: Implements three protocols for performing secure linear, logistic, and Cox regression on vertically partitioned data across several data partners in such a way that data is not shared among data partners. See Slavkovic et. al. (2007) for background. There is an Introduction and vignettes on Using PopMedNet, Communications and Files, and Workflow.
colorblindcheck v1.0.0: Provides functions to compare color palettes with simulations of color vision deficiencies - deuteranopia, protanopia, and tritanopia. It includes a calculation of distances between colors and creates summaries of differences between color palettes and simulations of color vision deficiencies. See the post by G. Aisch for background and the vignette for details.
httr2 v0.1.1: Implements tools for creating and modifying HTTP requests, executing them, and then processing the results. httr2 is a modern re-imagining of httr that uses a pipe-based interface and solves more of the problems that API wrapping packages face. See the vignettes httr2 and Wrapping APIs.
bittermelon v0.1.3: Provides functions for creating and modifying bitmaps with special emphasis on bitmap fonts and their glyphs including native read/write support for the hex and yaff bitmap font formats. Look here for documentation.
semptools v0.2.9.3: Implements functions for customizing structural equation plots that can be chained using a pipe operator. There is a Quick Start Guide, and vignettes on Nodes, Matrix Layout, CFA, and SEM.
3a8082e126