Displaying 1 result from an estimated 1 matches for "fitted_lr".
2008 Jun 05
1
R-code embedded in VBE -- Type mismatch errors
...= Worksheets("Projection").Cells(Start_Row,
Start_Col + ID_Col - 1).Value
Use(ID_Col) = Worksheets("Projection").Cells(Start_Row + 1, Start_Col
+ ID_Col - 1).Value
Next ID_Col
Call rinterface.PutArrayFromVBA("link_ratio", Link_Ratio)
Call rinterface.RRun("fitted_lr <- link_fit_vec(link_ratio)")
Fitted_LR = rinterface.GetArrayToVBA("fitted_lr")
---------------------------- END OF VB code
-------------------------------------------
At this point the code execution stops, signalling the type mismatch
error.
The related R code is this:
--...