Quarto enables you to weave together content and executable code into a finished document. To learn more about Quarto see https://quarto.org.
Running Code
When you click the Render button a document will be generated that includes both content and the output of embedded code. You can embed code like this:
### Librerías necesariaslibrary(GPArotation)library(readxl)#Leer excellibrary(psych) #Datos descriptivos y m?s
Adjuntando el paquete: 'psych'
The following objects are masked from 'package:GPArotation':
equamax, varimin
library(dplyr) #Funci?n %>%
Adjuntando el paquete: 'dplyr'
The following objects are masked from 'package:stats':
filter, lag
The following objects are masked from 'package:base':
intersect, setdiff, setequal, union
library(lavaan)#AFC
This is lavaan 0.6-18
lavaan is FREE software! Please report any bugs.
Adjuntando el paquete: 'lavaan'
The following object is masked from 'package:psych':
cor2cov
The following objects are masked from 'package:psych':
reliability, skew
library(parameters)#n_factors
Adjuntando el paquete: 'parameters'
The following object is masked from 'package:semTools':
kurtosis
library(semPlot)#graficos de aFClibrary(EFAtools)#omega Y AFE
Adjuntando el paquete: 'EFAtools'
The following object is masked from 'package:psych':
KMO
library(readxl)#leerlibrary(MBESS)#intervalos de confianza del omega
Adjuntando el paquete: 'MBESS'
The following object is masked from 'package:lavaan':
cor2cov
The following object is masked from 'package:psych':
cor2cov
library(openxlsx)#Guardarlibrary(MVN)#normalidadlibrary(PerformanceAnalytics)#Grafico de las correlaciones
Cargando paquete requerido: xts
Cargando paquete requerido: zoo
Adjuntando el paquete: 'zoo'
The following objects are masked from 'package:base':
as.Date, as.Date.numeric
######################### Warning from 'xts' package ##########################
# #
# The dplyr lag() function breaks how base R's lag() function is supposed to #
# work, which breaks lag(my_xts). Calls to lag(my_xts) that you type or #
# source() into this session won't work correctly. #
# #
# Use stats::lag() to make sure you're not using dplyr::lag(), or you can add #
# conflictRules('dplyr', exclude = 'lag') to your .Rprofile to stop #
# dplyr from breaking base R's lag() function. #
# #
# Code in packages is not affected. It's protected by R's namespace mechanism #
# Set `options(xts.warn_dplyr_breaks_lag = FALSE)` to suppress this warning. #
# #
###############################################################################
Adjuntando el paquete: 'xts'
The following objects are masked from 'package:dplyr':
first, last
Adjuntando el paquete: 'PerformanceAnalytics'
The following objects are masked from 'package:parameters':
kurtosis, skewness
The following object is masked from 'package:semTools':
kurtosis
The following object is masked from 'package:graphics':
legend
fit.UNI.CFA.CONG<-cfa(model = UNI.CFA.CONG, data =da,estimator="WLSMV", mimic="Mplus", ordered = T) #std.lv=TRUE Colocar si es necesario igualar a 1 la regresi?n}