Learn R Programming

silp

The goal of silp is to …

Installation

You can install the development version of silp from GitHub with: devtools::install_github(“TomBJJJ/silp”)

# install.packages("devtools")
devtools::install_github("TomBJJJ/silp")

Example

This is a basic example which shows you how to solve a common problem:

library(silp)
## basic example code
data = generate_data(100, 0.3, 0.4, c(1,1,1,1), 0.9)
model = "
  fy =~ y1 + y2 + y3 + y4
  fx =~ x1 + x2 + x3 + x4
  fz =~ z1 + z2 + z3 + z4
  fy ~  fx + fz + fx:fz
"
fit = silp(model, data)
refit = resilp(fit)

Copy Link

Version

Install

install.packages('silp')

Monthly Downloads

132

Version

1.0.0

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

August 23rd, 2024

Functions in silp (1.0.0)

Silp-class

Define silp class
resilp

resilp
silp

silp
summary-methods

Methods for Class Silp in Package silp
generate_data

generate_data