Forums Development Use R in trading Reply To: Use R in trading

#10097
simplex
Moderator

    Wow @Anti!

    You’re really making some efforts to get us started with R – thanks a lot!  :good:   Hopefully I won’t be your only student at last.

    When doing my homework (see screenshot) I had one problem: after keying in x<-(3,4) according to your 1st screenshot I only got errors. I interpreted this as an array (comma separated). x<-(3.4) worked as a scalar.

    When testing some simple cases, I was amazed to get sin(pi) = 1.224606e-16 and sin(0) = 0  and 256.000001 ^ (1/8) = 2.

    s.

    Attachments:
    You must be logged in to view attached files.

    A good trader is a realist who wants to grab a chunk from the body of a trend, leaving top- and bottom-fishing to people on an ego trip. (Dr. Alexander Elder)

    Scroll to Top