Could not Calibrate

Hi, and welcome!

Please see the FAQ: What's a reproducible example (`reprex`) and how do I create one? Using a reprex, complete with representative data will attract quicker and more answers.

For this post, Quest is missing which makes it difficult to understand what's going on or to even see the specific error message. Without more the most I can offer is to study the help(calibrate) page and its example below to see if all required arguments are passed to the function of the proper type and that no unexpected objects are included.

ibrary(QCA)
#> Error in ibrary(QCA): could not find function "ibrary"
library(admisc)
library(MASS)
library(calibrate)
library(ggplot2)

x <- rnorm(20,1)
y <- rnorm(20,1)
x <- x - mean(x)
y <- y - mean(y)
z <- x + y
b <- c(1,1)
plot(x,y,asp=1,pch=19)
tm<-seq(-2,2,by=0.5)
Calibrate.z <- calibrate(b,z,tm,cbind(x,y),axislab="Z",graphics=TRUE)

#> ---------- Calibration Results for  Z  ---------------------
#> Length of 1 unit of the original variable =  0.7071  
#> Angle                                     =  45 degrees
#> Optimal calibration factor                =  0.5  
#> Used calibration factor                   =  0.5  
#> Goodness-of-fit                           =  1  
#> Goodness-of-scale                         =  1  
#> ------------------------------------------------------------

Created on 2020-04-06 by the reprex package (v0.3.0)