Displaying 3 results from an estimated 3 matches for "corvert".
Did you mean:
convert
2009 Nov 21
1
How to make a cartesian pairlist from a vector?
Hi,
I'm looking for a function that will take a list of columns or data.frame
and corvert it to cartesian pairlist. For example for this data.frame (see
below), I'd like to get a list of all possible pairs:
> sound
cs rs ns
7 5 2
4 5 4
6 3 1
8 4 1
6 4 2
6 7 1
2 2 5
9 2 5
how can I get this?
> mylist
((cs,rs), (cs,ns), (rs,ns))...
2009 Nov 21
0
How to make a cartesian pairlist?
Hi,
I'd like to make a pairwise comparison of a data.frame and I'm looking for a
function that will take a list of columns or data.frame and corvert it to
cartesian pairlist. For example for this data.frame (see below), I'd like to
get a list of all possible pairs:
> sound
cs rs ns
7 5 2
4 5 4
6 3 1
8 4 1
6 4 2
6 7 1
2 2 5
9 2 5
how can I get this?
> mylist
((cs,rs), (cs,ns), (rs,ns))
This list c...
2006 Jul 18
9
Displaying HTML pulled directly from a database
How can I get RoR to display html pulled directly from a database,
without converting the tags. (e.g. if "<h1>Hello</h1>" is stored (as
text) in a database, how can I get RoR NOT to corvert it to
"<h1>Hello</h1>", but instead to just pass the tags along so that
"Hello" displays in bold.
I''m sure it''s just a simple method call, but I''ve been poking around and
I can''t find anything.
Thanks,
--
Posted via...