search for: cateogries

Displaying 3 results from an estimated 3 matches for "cateogries".

Did you mean: categories
2012 Mar 30
4
Trying to understand factors
...ot;vic", "vic", "act") * statef <- factor(state) * statef [1] tas sa qld nsw nsw nt wa wa qld vic nsw vic qld qld sa tas sa nt wa [20] vic qld nsw nsw wa sa act nsw vic vic act Levels: act nsw nt qld sa tas vic wa With this, just visually, I know what the cateogries or Levels are. Nonetheless, two questions arise here: How can I have, computationally as opposed to visually, access to the names of these categories, and how do I get the indexes of the original array elements that belong to a particular category, say, "act"? This is, for instance, to...
2007 Apr 21
0
Collapsible Hide/Show DIV
Hi there. I posted this before but wanted to change the subject. I want to have a collapsible div inside of a for loop. I''ve been messing around with it and could only get 1 item out of a few to be able to hide. I''m just using this: <script language="javascript"> function toggleDiv(divid){ if(document.getElementById(divid).style.display ==
2006 Jul 07
9
Search on data accross many tables, linked by belongs_to
I am using Ferret and acts_as_ferret, as my search back-end for my Rails project. I have a question about using acts_as_ferret on a main table that is linked to other tables by foreign keys. Is there a way to include the information linked by the belongs_to keyword in the search results ? As an example, let''s say I have a main table ''posts'':