File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ em.step.dmat <- function(PARAM.org){
284
284
PARAM.new <- try(em.onestep.dmat(PARAM.org ))
285
285
# ## WCC: temp
286
286
# PARAM.new <- em.onestep.dmat(PARAM.org)
287
- if (comm. any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
287
+ if (any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
288
288
comm.cat(" Results of previous iterations are returned.\n " , quiet = TRUE )
289
289
.pmclustEnv $ CHECK $ convergence <- 99
290
290
PARAM.new <- PARAM.org
Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ aecm.step.spmd <- function(PARAM.org){
102
102
103
103
# ## Start AECM here.
104
104
PARAM.new <- try(aecm.onestep.spmd(PARAM.org ))
105
- if (comm. any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
105
+ if (any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
106
106
comm.cat(" Results of previous iterations are returned.\n " , quiet = TRUE )
107
107
.pmclustEnv $ CHECK $ convergence <- 99
108
108
PARAM.new <- PARAM.org
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ apecm.step.spmd <- function(PARAM.org){
138
138
139
139
# ## Start APECM here.
140
140
PARAM.new <- try(apecm.onestep.spmd(PARAM.org ))
141
- if (comm. any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
141
+ if (any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
142
142
comm.cat(" Results of previous iterations are returned.\n " , quiet = TRUE )
143
143
.pmclustEnv $ CHECK $ convergence <- 99
144
144
PARAM.new <- PARAM.org
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ apecma.step.spmd <- function(PARAM.org){
97
97
98
98
# ## Start APECMA here.
99
99
PARAM.new <- try(apecma.onestep.spmd(PARAM.org ))
100
- if (comm. any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
100
+ if (any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
101
101
comm.cat(" Results of previous iterations are returned.\n " , quiet = TRUE )
102
102
.pmclustEnv $ CHECK $ convergence <- 99
103
103
PARAM.new <- PARAM.org
Original file line number Diff line number Diff line change @@ -185,7 +185,7 @@ em.step.spmd <- function(PARAM.org){
185
185
186
186
# ## Start EM here.
187
187
PARAM.new <- try(em.onestep.spmd(PARAM.org ))
188
- if (comm. any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
188
+ if (any(class(PARAM.new ) == " try-error" ) || is.nan(PARAM.new $ logL )){
189
189
comm.cat(" Results of previous iterations are returned.\n " , quiet = TRUE )
190
190
.pmclustEnv $ CHECK $ convergence <- 99
191
191
PARAM.new <- PARAM.org
You can’t perform that action at this time.
0 commit comments