Quantrix Tip: Inter-Model Formula Syntax

2.78K viewsFormulas and Functions
0

We have had a few inter-model formula questions recently. We just added the following to our on-line Knowledge Base which is located at this URL:

[url:28qbmqfp]http://www.quantrix.com/r-faq-4-14[/url:28qbmqfp]

<b>Formula Questions</b>

Q. What is the syntax for Inter-Model Formulas?
A. Inter-model formulas are formulas that call data residing in other Quantrix Models. In a simple example; Model1 contains Matrix1 that has a value of 1 for A1. In Model2, you want to write a formula that brings over the A1 value from Model1. The formula would be:

a1 = !model1.model!Matrix1::A1

The name of the model you want to call is surrounded by exclamation points in the formula. Attached are two models files that show an inter-model formula in action.

0

model2.model attachment

Attachments

model2.model
0

model1.model attachment

Attachments

model1.model