Displaying 20 results from an estimated 1000 matches similar to: "searching"
2007 Feb 03
1
Postgres + tsearch2, migrations, and unit testing
I''m sure people have encountered this before, but I''ve been
unsuccessful at finding anything about it.
Basically, I got a rails app that uses postgres and tsearch2 for some
full text indexing and I''d like to be performing unit tests. Now,
there''s the whole deal of how to get the test database to load all the
tsearch2 information properly.
I tried to come up
2006 Jan 23
7
Search functionality and CMS
Hello,
I am planning to build a bigger Internet platform and actually evaluating
Java EE and Rails. I have a lot of Java experience and I am quite new to
Rails. After playing some weeks with Rails I am sure that it is a mature web
framework and I really like the productivtity of Rails. One of the key
advantages is that new developers will understand this platform much quicker
than all the Java
2006 Oct 23
1
Postgres and Tsearch2, how do you do it?
Hi,
How do you use Tsearch2 in Rails?
Petr
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2005 Nov 02
4
Trouble with Umlauts
I am developing an application in German. This means I have umlauts. When I
was using rails version 0.13.1 there seemed to be no further configuration
needed for umlauts to be shown correctly. Now I have upgraded to 0.14.2 and
the umlauts are being displayed at ''?''s. I changed the encoding of the page
and it is UTF-8. I have also tried the steps listed at
2006 Mar 24
10
innodb vs myisam
Hi,
I have been using myisam tables in mysql with rails because my client will soon want fulltext searchable content, however when I migrated my development db from schema.rb all of the tables generated were innodb. I understand that I can override this, but also like the transactions and foreign keys of innodb. So 2 questions really:
1. are transactions in activerecord dependent on innodb or do
2008 Jul 08
6
Question: Beginner stuck in a R cycle
Dear All,
I have a database of 200 observations named myD.
In the dataframe there are a column named code (with codes varying from 1 to 77), a column named "prevalence" with some quantitative measurements are given and an column named Pr_mean, with no values.
I would like to set a cycle to compute the average of prevalence values for each different code and store the averages under the
2006 Jan 29
8
Determining width and height of image files
I''m trying to figure out how to determine the width and height of images
that are uploaded through my app. Either from the posted data or the
file I save to disk. I''ve been searching around for info but no luck;
I''m completely at a loss. Any suggestions or pointers would be great.
Project background:
The site is an artists portfolio site. The images are thumbnails
2024 Jan 17
1
Is there any design based two proportions z test?
Hello Everyone,
I was analysing big survey data using survey packages on RStudio. Survey
package allows survey data analysis with the design effect.The survey
package included functions for all other statistical analysis except
two-proportion z tests.
I was trying to calculate the difference in prevalence of Diabetes and
Prediabetes between the year 2011 and 2017 (with 95%CI). I was able to
2024 Jan 17
1
Is there any design based two proportions z test?
Dear Md Kamruzzaman,
To answer your second question first, you could just use the svychisq()
function. The difference-of-proportion test is equivalent to a chisquare
test for the 2-by-2 table.
You don't say how you computed the confidence intervals for the two
separate proportions, but if you have their standard errors (and if not,
you should be able to infer them from the confidence
2012 Oct 03
2
Legend Truncated Using filled.contour
Hey everyone,
I'm working on a contour plot depicting asymptomatic prevalence at varying
durations of infectiousness and force of infection. I've been able to work
everything out except for this one - my legend title keeps getting cut off.
Here's what I have:
filled.contour(x=seq(2,30,length.out=nrow(asym_matrix)),
y=seq(1,2,length.out=ncol(asym_matrix)),
asym_matrix,
color =
2009 Jul 10
1
prevalence in logistic regression lrm()
Hi, I am wondering if there is a way to specify the prevalence of events in logistic regression using lrm() from Design package? Linear Discriminant Analysis using lda() from MASS library has an argument "prior=" that we can use to specify the prevalent of events when the actual dataset being analyzed does not have a representative prevalence. How can we incorporate this information in
2006 Mar 10
7
Problem saving data in different languages
Hi, I currently have a site that lets people enter info and submit it to
the database. But the problem is the it lets people enter data in their
language (portuguese and spanish) and all the special characters for
those languages get replaced by symbols. Any idea how would I fix that?
Thanks a lot.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 23
10
truncating html text
I''ve got a fairly basic problem here that I''m hoping there is an easy
solution for.
I have a chunk of html code that I want to truncate to a given length...
say 20 characters or so.
If I use the ''truncate'' helper function I end up with unbalanced tags.
For example.
<a href=www.someplace.com>A really long string of words</a>
becomes
<a
2004 Sep 06
4
Cox regression for prevalence estimates
Hello, I'm an MD working in an eye clinic. I'm learning by myself to use R
for use in my research works and for implementation in a software project.
There are some authors who recomends the use of Cox regression as a
substitute for Logistic regression (<a
href="http://www.biomedcentral.com/1471-2288/3/21.pdf"> Barros AJD, Hirakata
VN. BMCMedical Research Methodology, 2003;
2006 Mar 31
5
Titles in URL ?
Hi!
I have an article website and would like to have the title of the
article in the URL. and not domain.com/show/id
ie: http://domain.ck/articles/how-to-become-a-ror-master/
How to change a title with special caracters like: '', :, ?, !. to
something that works in the URL.
Thank you!
--
Posted via http://www.ruby-forum.com/.
2008 Dec 15
3
Fukuoka Ruby Award--about $10,000 for first prize
I am working with the Government of Fukuoka, Japan to get the word out
about the Fukuoka Ruby Award to Ruby developers in the US. It is free
to apply for this award. The top prize is about $10,000. Deadline is
December 25, so there is not much time, but the application is fairly
simple for developers who have existing projects. Here are the
details:
Fukuoka Ruby Award
2011 Dec 29
2
sorting a data.frame (df) by a vector (which is not contained in the df) - unexpected behaviour of match and factor
Dear R colleagues,
consider my data.frame named "df" with 3 columns - being level,
prevalence and sensitivity - and 7 rows of data (see dump below).
df <-
structure(list(level = structure(1:7, .Label = c("0", "1", "10",
"100", "1010", "11", "110"), class = "factor"), prevalence =
structure(c(4L,
2L, 3L,
2007 Jun 26
2
Aggregation of data frame with calculations of proportions
Dear all,
I have been stuck on this problem, am rather struggling and would
appreciate some advice if anyone can help. I apologise if this is a
bit long-winded, but I've tried to limit it to the bare essentials,
but don't know how to make it more generic!
I have some slightly odd real world data that I'm looking at
representing number of positive diagnoses for different diseases,
2006 Aug 05
2
Multi-step forms
I need to create a number of multi-step forms for creating models.
Currently i''m looking at http://www.bigbold.com/snippets/posts/show/277
As a solution. Are there any other methods you guys would recommend? Are
there any reusable (dry) methods of creating multiple multi-step forms?
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2009 Feb 26
1
error message and convergence issues in fitting glmer in package lme4
I'm resending this message because I did not include a subject line in my first posting.
Apologies for the inconvenience!
Tanja
> Hello,
>
> I'm trying to fit a generalized linear mixed model to estimate diabetes prevalence at US county level. To do this I'm using the glmer() function in package lme4. I can fit relatively simple models (i.e. few covariates) but when