Displaying 3 results from an estimated 3 matches for "the_list".
2007 Jul 14
1
accessing list components with a variable
Let's say I have a list called the_list consisting of three components:
the_list$component_1
the_list$component_2
the_list$component_3
Now, I want to access it using a variable called comp.
comp <- "component_1"
I'm looking for some function that let's me do this:
unknown_function(the_list, comp)
Which should do t...
2013 Mar 09
2
grouping followed by finding frequent patterns in R
I have a data in the following form :
CIN TRN_TYP
9079954 1
9079954 2
9079954 3
9079954 4
9079954 5
9079954 4
9079954 5
9079954 6
9079954 7
9079954 8
9079954 9
9079954 9
. .
. .
. .
there are 100 types of CIN (9079954,12441087,15246633,...) and respective
TRN_TYP
first of all, I want this data to be
2006 Oct 04
0
UJS Plugin - apply_behaviour Question
Anyone using the Unobtrusive Javascript for Ruby On Rails Plugin?
I have some code that looks like this.
<% apply_behaviour ''select:click'' do |page, element, event|
page.insert_html :top, ''the_list'', "<li>hi</li>"
end %>
What I would like to do is list the element.value rather than the string
"hi" but I''m a bit confused on how to do this. I''m guessing this is
something obvious that I''m missing.
Thanks,
Mike
--
Poste...