Displaying 2 results from an estimated 2 matches for "corny".
Did you mean:
cornu
2007 Nov 24
1
Indexing and partially replacing 99, 999 in data frames
...mymat[mymat==999] <- "yodl"
in a matrix or data frame. Alas, the babies' dataset also includes 99
entries as true values. So, here is what I did:
#to remove all 999:
babies[babies==999] <- NA
, but to remove the 99 in columns nr. 10,12,17 I have come to a complete
stop. The corny idea of
babies$ht[babies$ht==99] <- NA
babies$dht[babies$dht==99] <- NA
babies$dwt[babies$dwt==99] <- NA
works, but seems to show that I have not really understood the art of
indexing, have I? The archives did not really offer enough insight for
me to solve the problem, I am ashamed.
I...
2005 Dec 19
3
Is there a list of html_options for the FormOptionsHelper?
...lue => ''5'' }
(of course, there is no ":default_value")
If the form is being used on a ''create'' page, it should display a
default in the select box. If the form is on the ''edit'' page, it should
display the current value.
Thanks,
corny
(2nd day on Rails, 1st post to the forum)
--
Posted via http://www.ruby-forum.com/.