Skip to content

Commit

Permalink
changes to rma model function since request isn't json anymore for so…
Browse files Browse the repository at this point in the history
…me parameter
  • Loading branch information
Rostu committed Dec 3, 2024
1 parent a3e66e8 commit c66cd0f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions R/rmaMVModel.R
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ rmaMVModel <- function(yi,vi,measure,d,pred1=NULL,pred2=NULL,nesting=NULL) {
if(!is.null(nesting)){
nesting <- jsonlite::fromJSON(nesting)
}
if(!is.null(pred1)){
# Parse the JSON string into a list
pred1<-jsonlite::fromJSON(pred1)
}
if(!is.null(pred2)){
# Parse the JSON string into a list
pred2<-jsonlite::fromJSON(pred2)
}
# if(!is.null(pred1)){
# # Parse the JSON string into a list
# pred1<-jsonlite::fromJSON(pred1)
# }
# if(!is.null(pred2)){
# # Parse the JSON string into a list
# pred2<-jsonlite::fromJSON(pred2)
# }

checkParameter(dat,c(yi,vi))

Expand Down

0 comments on commit c66cd0f

Please sign in to comment.