DrawLinRegChannel
Author: EddySue1
Creation Date: 6/30/2009 12:39 PM
profile picture

EddySue1

#1
I am using WL 5.4 I used the translator to move my code and its get RunTime errors.
CODE:
Please log in to see this code.

I went to Lab Wiki and copied and paste DrawLinRegChannel. It compiled with errors. Can you give me some direction as to what I am doing wrong.
Thanks...Ed

profile picture

Cone

#2
The LinearRegLine function won't exist in WL v5 until 5.5, so the translator won't get you there.

In the meantime, you can use the Community.Components method demonstrated in the Wiki documentation.
profile picture

EddySue1

#3
Thank you for your reply.
are you talking about http://www2.wealth-lab.com/WL5WIKI/DrawLinRegChannel.ashx? If so it also compiled with errors, should I be looking at other code?
thanks again...Ed
profile picture

Eugene

#4
You haven't installed Community.Components from this site (click "Extensions"), hence the errors.
profile picture

Eugene

#5
P.S. Try working around the LinearRegLine with this easy example (scroll down to):
SuperBands, with Linear Regression Analysis
profile picture

EddySue1

#6
Me again...The Extension Manager says Community Components Library 2009.06 is the last update. I downloaded just to make sure. Restarted WL and still getting the same error.

error: A namespace does not directly contain members such as fields or methods.

Code:
CODE:
Please log in to see this code.



Thanks again....Ed
profile picture

Eugene

#7
You have not copied the code correctly, that's why the error.

DrawLinRegChannel is an example of what can be done, it's not a drop-in replacement for LinRegChannel.

The closest translation of LinRegChannel can be found by the link above (see my message from 6/30/2009 12:52 PM).

Tip: You'll find that code enclosed in a pair of CODE tags will be more readable (the CODE button right below "Add a new Post").
profile picture

EddySue1

#8
Thank you for your help, at my level it might be best I wait for next release. In the meantime I can use the regression channel tool or stay on WL 4.

Regards
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).