将Logistf软件包与Shiny一起使用时出现错误代码“未找到对象”

时间:2019-01-30 04:21:12

标签: r shiny shiny-server

每当我使用logistf软件包时都会收到此错误

In [31]: strings
Out[31]: ['a a', 'a aa', 'a aaa', 'a aaaa', 'a aaaaa', 'a aaaaaa']
In [32]: for s in strings:
    ...:     print("for the first function --> ")
    ...:     %timeit first(s)
    ...:     print("count last function -->" )
    ...:     %timeit countLast(s)
for the first function -->
272 ns ± 2.27 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
310 ns ± 3.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
for the first function -->
331 ns ± 13.9 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
437 ns ± 45.5 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
for the first function -->
380 ns ± 8.15 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
456 ns ± 2 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
for the first function -->
434 ns ± 6.32 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
540 ns ± 5.5 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
for the first function -->
496 ns ± 13.1 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
649 ns ± 15 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
for the first function -->
542 ns ± 11.8 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)
count last function -->
751 ns ± 30.7 ns per loop (mean ± std. dev. of 7 runs, 1000000 loops each)

如果我使用逻辑回归方法,那么一切都会完美。我对这个问题的库存超过一个月,基本上可以尝试一切。而且我仍然不知道这种情况如何发生。

我需要有关如何解决该问题的提示?

0 个答案:

没有答案