Displaying 2 results from an estimated 2 matches for "fromcontrol".
Did you mean:
flowcontrol
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
...,
out2=c(1.1,2,3.5,4.9,5.2,6.5))
print(treat)
print(control)
matched.data.frame <- ?????? #Match "treat" "control" by age school
#My SPSS syntax would be similar to this:
MATCH FILES FILE="treat" /IN=fromtreat
/FILE="control" /IN=fromcontrol
/BY age school.
SELECT IF fromdad AND fromfam. #select data, set filter
The /IN= option creates a 0/1 variable that indicates the
"source" of the data
The resultand matched data frame should have
the following structure:
age school out1 out2 fromtreat fromcontrol
1 10 9.5...