Hello
I'm in internship and I have to make some analysis on microbial kinetics. I have to automise the treatment with vb.net but to work on kinetic, i have to use R.
On R, I have to found the inflexion point of the exponential, in order to found, for exemple, a retard caused by a product.
To do it, I use the package named "drc", the function drm for a L.3 regression, but I when I declare drc, it doesn't work, this is my code in vb :
The firsts work, but MASS doesn't work, and drc need all those packages to by used.
It works on R STUDIO but not by vb ...
If you can't help me, do you have a better method to found this inflexion point ?
I'm in internship and I have to make some analysis on microbial kinetics. I have to automise the treatment with vb.net but to work on kinetic, i have to use R.
On R, I have to found the inflexion point of the exponential, in order to found, for exemple, a retard caused by a product.
To do it, I use the package named "drc", the function drm for a L.3 regression, but I when I declare drc, it doesn't work, this is my code in vb :
Code:
REngine.SetDllDirectory("C:\Program Files\R\R-2.15.2\bin\i386")
Dim engine = REngine.CreateInstance("RDotNet")
'engine.EagerEvaluate("C:\Program Files\R\R-2.15.2\library\""" & ")")
engine.EagerEvaluate("library(plotrix)")
engine.EagerEvaluate("library(abind)")
engine.EagerEvaluate("library(magic)")
engine.EagerEvaluate("library(gtools)")
engine.EagerEvaluate("library(MASS)")
engine.EagerEvaluate("library(nnet)")
engine.EagerEvaluate("library(car)")
engine.EagerEvaluate("library(alr3)")
engine.EagerEvaluate("library(lattice)")
engine.EagerEvaluate("library(nlme)")
engine.EagerEvaluate("library(stats4)")
engine.EagerEvaluate("library(drc)")
It works on R STUDIO but not by vb ...
If you can't help me, do you have a better method to found this inflexion point ?
Comment