Displaying 2 results from an estimated 2 matches for "fromcontroller".
Did you mean:
foocontroller
2005 Dec 18
0
Fromcontroller to the url_for() representation
Hi,
I''m trying to generate the url_for parameters ina controller to pass
down to a view. And I want to pass in the link_to() params. One of the
things I need to pass is the :controller part.
So I''m in the controller itself, and I want to change the self.class
(or it''s to_s represantation) to the format needed by link_to().
For example:
class MyController <
2008 Apr 13
3
Matched pairs with two data frames
Hi,
I have a frame "treat" and want to find matched pairs in the data frame
"control". In the matched (combined) data frame there should be two
variables (0/1),indicating the "source" of the data (treat or control),
so that it is possibe to set a "filter" (extraxt/select data).
#Here are the dataframes (my real data frames have many variables)
treat <-