Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/design-patterns/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R 我对施加单调性的函数有问题_R_Restriction - Fatal编程技术网

R 我对施加单调性的函数有问题

R 我对施加单调性的函数有问题,r,restriction,R,Restriction,我是R的新手。我试图给一个translog生产函数施加单调性条件。我正在使用函数translogmonostrer。我加载了我的数据,var cov矩阵的COEF和inv。我从excel导入了这个,一切都很好 read_excel("rtl2.xlsx") uCoef <- read_excel("matrixbtl2.xlsx") uCovInv <- read_excel("matrixinvtl2.xlsx") read\u excel(“rtl2.xlsx”) uCoef运

我是R的新手。我试图给一个translog生产函数施加单调性条件。我正在使用函数
translogmonostrer
。我加载了我的数据,var cov矩阵的COEF和inv。我从excel导入了这个,一切都很好

read_excel("rtl2.xlsx")
uCoef <- read_excel("matrixbtl2.xlsx")
uCovInv <- read_excel("matrixinvtl2.xlsx")
read\u excel(“rtl2.xlsx”)

uCoef运行
read.excel(“rtl2.xlsx”)
时是否创建了对象?看起来您只是读取了文件而没有执行此操作,因此结果不在那里,因此
monoRestr
无法找到。对,我忘记了。。。成功了!!谢谢你
monoRestr <- translogMonoRestr( xNames, = c( "lx1", "lx2"), rtl2.xlsx , dataLogged = TRUE)