forked from yrosseel/lavaan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NAMESPACE
95 lines (87 loc) · 2.57 KB
/
NAMESPACE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# only when we have src code
# useDynLib("lavaan")
importFrom("stats",
coef,
residuals, resid,
fitted.values, fitted,
predict,
update,
anova,
vcov)
importFrom("graphics",
plot)
importFrom("methods",
show)
importFrom("quadprog",
solve.QP)
importFrom("mnormt",
dmnorm,
sadmvn)
importFrom("pbivnorm",
pbivnorm)
# AIC and friends...
if(getRversion() >= "2.13.0") {
importFrom("stats4",AIC, BIC, logLik, nobs)
export(logLik, nobs) # not AIC, BIC?
} else {
importFrom("stats4",AIC, BIC, logLik)
export(logLik, BIC, nobs) # not AIC?
}
# export ordinary functions defined in this package
export("lavaan", "cfa", "sem", "growth",
# new name # old name
"lavParTable", "lavaanify",
"lavNames", "lavaanNames",
"lavParseModelString", # "parseModelString",
# utilities
"getCov", "char2num", "cor2cov",
"vech", "vech.reverse", "vechru", "vechru.reverse", "lower2full",
"vechr", "vechr.reverse", "vechu", "vechu.reverse", "upper2full",
"duplicationMatrix", "commutationMatrix",
"sqrtSymmetricMatrix",
"modindices", "modificationIndices", "modificationindices",
"standardizedSolution", "standardizedsolution",
"parameterEstimates", "parameterestimates",
"parameterTable", "parametertable", "parTable", "partable",
"varTable", "vartable",
"fitMeasures", "fitmeasures",
"inspectSampleCov",
"bootstrapLavaan", "bootstrapLRT", "InformativeTesting",
"simulateData",
"estfun.lavaan", "lavScores",
"lavTables", "lavTablesFit", "lavTables1D",
"lavExport",
"lavMatrixRepresentation",
"mplus2lavaan",
#"prelav",
"lavData",
"lavCor", "lavCorFit" #,
#"lavPredict"
)
# export Classes
exportClasses(
"lavaan",
"lavData"
)
# export Methods
exportMethods(
"predict",
"update",
"anova",
"coef",
"residuals", "resid",
"vcov",
"logLik",
"fitted.values", "fitted",
"summary",
"inspect"
)
S3method(print, lavaan.data.frame)
S3method(print, lavaan.matrix)
S3method(print, lavaan.matrix.symmetric)
S3method(print, lavaan.vector)
#S3method(print, prelav)
S3method(pairs, lavaan)
S3method(print, InformativeTesting)
S3method(plot, InformativeTesting)
#S3method(summary, lavaan.boot)