Description Usage Arguments Value Note Examples
The proxy variable, in the RBS framework, is a linearly well-correlated variable to the target variable and is used to estimate the target variable estimator
1 2 | getProxyFunction(proxyVar = "kExpDiameter",
scalingFactor = 2.5)
|
proxyVar |
a string defining the formula for the computation of the proxy variable. One of "kExpDiameter" (default) or "cylinder" values. |
scalingFactor |
k value, used when 'proxyVar' is "kExpDiameter" (default 2.5) |
a function to be used to compute the proxy variable at segment level
This is a container function for a closure, whose parameters vary according to the proxy variable chosen. For "kExpDiameter" the function requires 'd', the diameter of the segment, and 'l' a variable defaulting to 'NULL' (only provided to be compatible with the "cylinder" function); for "cylinder" the function requires 'd' and 'l', the length of the segment.
1 2 3 4 | getDProxy <- getProxyFunction()
getDProxy(d = 10)
getDHProxy <- getProxyFunction(proxyVar = "cylinder")
getDHProxy(d = 10, l = 7)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.