knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of antools to be a set of tools that serve as a complement to the statistical analyses used in psychology.
You can install the development version from GitHub with:
# install.packages("devtools") devtools::install_github("brianmsm/antools")
This is a basic example which shows you how to solve a common problem:
library(antools) ## basic example code
library(lavaan) HS.model <- " visual =~ x1 + x2 + x3 textual =~ x4 + x5 + x6 speed =~ x7 + x8 + x9 " fit <- cfa( model = HS.model, data = HolzingerSwineford1939 ) fit_lavaan(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.