How to reference columns inside an imported .dtbin in an f(x) expression column?

Welcome to our Forums Technical Support Support Desk How to reference columns inside an imported .dtbin in an f(x) expression column?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #6047
    jooil kim
    Participant

      I’m trying to reference a column within a .dtbin that was exported from R.

      As an example, here’s the structure:

      – There is the name of the .dtbin itself (“data”, from data.dtbin)

      – Inside, I have a named data.frame (“CF4”)

      – Then inside the data.frame, the column name I’m trying to specifically reference (“time”).

      How do I write out a formatted reference to this “time” column to use in the definition of an expression (“f(x)”) data column?

      Thanks!

       

       

      #6051
      dgteam
      Moderator

        You can add expressions directly into the same groups that contain the columns from the dtbin file.  Then you could just use the column names.

        dtbin1

        To refer to the column outside of the group, use path names, like any other column. Note that you will need a space between the name of the file and actions like division.

        dtbin2

        Does this help?

        #6052
        jooil kim
        Participant

          Yes, thanks for the info!

          Can I advocate that this information be in the DG documentation for expressions?

          #6060
          dgteam
          Moderator

            Here is an article that I think helps.  Goes into more detail …

            How to use Path Names in Calculations

          Viewing 4 posts - 1 through 4 (of 4 total)
          • You must be logged in to reply to this topic.

          Welcome to our Forums Technical Support Support Desk How to reference columns inside an imported .dtbin in an f(x) expression column?