konfound-project / konfound

R package for carrying out sensitivity analysis
https://konfound-it.org/konfound/
Other
15 stars 9 forks source link

running into an issue with pkonfound #22

Closed jrosen48 closed 4 years ago

jrosen48 commented 4 years ago

@linqinyu any idea what may be causing this? I think the other functions are working okay, and wonder if a) a change to any existing functions (this seems most likely?!?) or b) adding tkonfound() might have caused this?

library(konfound)
#> Sensitivity analysis as described in Frank, Maroulis, Duong, and Kelcey (2013) and in Frank (2000).
#> For more information visit http://konfound-it.com.
nl_output <- pkonfound(-0.2, 0.103, 20888, 3, n_trm = 17888, non_linear = TRUE)
#> Error in isTRUE(tryall_t - thr_t > 0 & tryall_est * est > 0): object 'est' not found
nl_output

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

qinyun-lin commented 4 years ago

I am checking this now!

jrosen48 commented 4 years ago

sa-weet!

qinyun-lin commented 4 years ago

I think I fixed it but have not tested it yet! Just commit the fix and let me know if it works? Thx!!

jrosen48 commented 4 years ago

awesome, running it right now! talk about fast development! :)

jrosen48 commented 4 years ago

did it! Thank you!