Publications by Ruei-Ning Su
CFA & SEM
安裝Package {lavaan} https://lavaan.ugent.be/tutorial/index.html SEM和CFA SEM和CFA都要看適配度指標fit index,包括:CFI、TLI、MSEA、SRMR,(HU & Bentler, 1998/1999),有提供cut off point,CFI、TLI:>0.95,後面很多人抓0.9;MSEA和SRMR抓<0.08。這些適配度指標在SEM裡面都要一起看,其中一個表現不�...
3288 sym R (113700 sym/52 pcs) 5 img
Function_20211216
library(ggplot2) library(lattice) library(tidyverse) library(dplyr) In-class 1 Explain what does this statement do: lapply(lapply(search(), ls), length) search() [1] ".GlobalEnv" "package:forcats" "package:stringr" [4] "package:dplyr" "package:purrr" "package:readr" [7] "package:tidyr" "package:tibble" "pack...
2840 sym R (17519 sym/185 pcs) 4 img
nested model
library(lavaan) #https://lavaan.ugent.be/tutorial/growth.html dta<-read.csv("D://GSdata_20211113.csv", head=T, fileEncoding = "UTF-8-BOM") summary(dta) Placeofliving Age Gender Weight Min. :1.000 Min. :17.0 Min. :1.000 Min. : 40.00 1st Qu.:1.000 1st Qu.:20.0 1st Qu.:1.000 1st Qu.: 52....
1567 sym R (67177 sym/39 pcs)
nCOV2019
2021/12/16 Installation To start off, users could utilize the ‘remotes’ package to install it directly from GitHub by running the following in R: #remotes::install_github("yulab-smu/nCov2019", dependencies = TRUE) Statistic query Data query is simple as one command: library("nCov2019") res <- query() ## last update: 2021-12-16 ## Gloabl t...
292 sym R (3806 sym/21 pcs) 2 img