Skip to content
This repository has been archived by the owner on Sep 13, 2023. It is now read-only.

Latest commit

 

History

History
39 lines (30 loc) · 1.07 KB

start.md

File metadata and controls

39 lines (30 loc) · 1.07 KB
layout title published submenu
default
Getting started
true
lavaan

Install R

lavaan is implemented as an R package. This means that before installing lavaan, you should have installed a recent version (>= 4.0.0) of R. You can download the latest version of R from the R-project website.

Install lavaan

Once you have installed R, you can install the lavaan package simply by starting up R, and typing

install.packages("lavaan", dependencies = TRUE)

To check if the installation was succesful, you can load the lavaan package and try one of the examples. For example:

library(lavaan)
example(cfa)

If you can see the output, everything is set up and ready.

Getting Started

Now that you have installed lavaan, you can:

  • read the lavaan tutorial; either online or as a PDF
  • read the lavaan paper
  • have a look at the teaching materials, code examples and more at the Resources page.