Luxor Demo Question

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Luxor Demo Question

John Klingensmith
Hi,
 Does anyone know the purpose behind why the parameters in the Luxor demo
are preceded by dots?

# optimization range
.FastSMA = (1:30)
.SlowSMA = (20:80)


It seems to make them hidden, which also makes them difficult to remove.
Thanks,
 John

        [[alternative HTML version deleted]]

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Luxor Demo Question

braverock
On 04/24/2017 12:38 PM, John Klingensmith wrote:

> Hi,
>  Does anyone know the purpose behind why the parameters in the Luxor demo
> are preceded by dots?
>
> # optimization range
> .FastSMA = (1:30)
> .SlowSMA = (20:80)
>
>
> It seems to make them hidden, which also makes them difficult to remove.

They're just named parameters with dots in the name.  They are used in
the parameter demos.

You can easily see hidden objects with

ls(all=TRUE)

and can remove any named object:

rm(.FastSMA)

with or without a dot.

Regards,

Brian

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Luxor Demo Question

John Klingensmith
Brian,
  Thanks.  So there is no particular reason why they were made as hidden
parameters?

Best,
 John

On Mon, Apr 24, 2017 at 2:14 PM, Brian G. Peterson <[hidden email]>
wrote:

> On 04/24/2017 12:38 PM, John Klingensmith wrote:
>
>> Hi,
>>  Does anyone know the purpose behind why the parameters in the Luxor demo
>> are preceded by dots?
>>
>> # optimization range
>> .FastSMA = (1:30)
>> .SlowSMA = (20:80)
>>
>>
>> It seems to make them hidden, which also makes them difficult to remove.
>>
>
> They're just named parameters with dots in the name.  They are used in the
> parameter demos.
>
> You can easily see hidden objects with
>
> ls(all=TRUE)
>
> and can remove any named object:
>
> rm(.FastSMA)
>
> with or without a dot.
>
> Regards,
>
> Brian
>
> _______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions
> should go.
>

        [[alternative HTML version deleted]]

_______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should go.
Loading...