Displaying 20 results from an estimated 500 matches similar to: "has_many :through with has_many/has_many join models"
2009 Mar 06
9
Association broken when upgrading from rails 1.2.6 to 2.2.2
I have an app with the following models:
course
belongs_to :semester
semester
has_many: courses
belongs_to :education
education
has_many :semesters
In my old app (rails 1.2.6) I was able to access variables via
controller
@courses = Course.find(:all)
view file:
<% for course in @courses %>
<%= course.name %> <- this line works
<%= course.semester.name %> <- this is now
2005 Dec 02
3
plot and factors
Read R-helpers,
I'm relatively new to R and trying to jump in feet first. I've been
able to learn a lot from on-line and printed documentation, but
here's one question to which I can't find an answer. Well, it's a
question with a couple parts. Thanks in advance for any direction
(partial or complete) that anyone can provide.
I have a data frame with three columns:
2005 Dec 05
1
data frames, na.omit, and sums
Dear R-helpers,
New to R, I'm in the middle of a project that I'm using to force me
learn R. I'm running into some behavior that I don't understand, and
I need some advice. In the last week I've gotten some great advice
from the list on visualizing my data, and I was hoping people could
help me get over another barrier I've encountered to my progress.
Before I
2012 May 30
1
data frame to frequencies
I have a data frame that has columns Semester, Student ID (SID), Subject,
Grade, Devel (Tor F). Students can have multiple records within a semester.
Right now, the columns are not considered factors.
I want to do an analysis that would show the number of students who received
particular combinations of grades. I also need to distinguish between the
two Development levels (they modify classes,
2010 Jun 29
3
generate irregular series of dates
Dear colleagues, particularly academic ones,
So I'm creating a Microsoft Word template for myself so that every
time I teach a new course, I don't have to enter in the dates manually
for each class session.
I'd like to use an R script that can generate an irregular series of
dates starting from one date (semester begin) to another (semester
end) using an irregular interval in
2006 Apr 24
3
[O/T] undergrads and R
Dear R People:
Are your undergraduate students receptive to learning R, as a rule?
Most of the time, mine really like it. But this semester, they act as
though they are being eaten by rats when learning R. They are not
trying at all.
Any similar experiences? If anyone has any good ideas, I would be
THRILLED to hear them, as I am using R in Summer School.
Thanks,
Sincerely,
Erin Hodgess
2008 Sep 10
2
using R for online course/distance ed
Hi R People!
I'm going to be putting together a completely online undergrad
business stats course (a second semester course) and was going to use
R and Rcmdr.
My question: has anyone else used R for an online course, please? If
so, did it go well, please?
Thanks in advance,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University
2004 Mar 16
2
glm questions
Greetings, everybody. Can I ask some glm questions?
1. How do you find out -2*lnL(saturated model)?
In the output from glm, I find:
Null deviance: which I think is -2[lnL(null) - lnL(saturated)]
Residual deviance: -2[lnL(fitted) - lnL(saturated)]
The Null model is the one that includes the constant only (plus offset
if specified). Right?
I can use the Null and Residual deviance to
2001 Nov 19
3
installation on Mac OS X
Help ! I am a graduate student in statistics, nearing the end of my
first semester, and recently discovered R, but cannot figure out how to
install it on my Mac. I am currently running OS 10.1.1, and know next
to nothing about Unix or anything related. I would like to install this
program on my Powerbook, as it come highly recommended, so I can use it
for a class next semester. Any help
2005 Apr 24
1
random interactions in lme
Hi All,
I'm taking an Experimental Design course this semester, and have spent
many long hours trying to coax the professor's SAS examples into
something that will work in R (I'd prefer that the things I learn not
be tied to a license). It's been a long semester in that regard.
One thing that has really frustrated me is that lme has an extremely
counterintuitive way for
2010 Jul 28
0
IPSUR-1.0 is on CRAN, plus update to RcmdrPlugin.IPSUR
IPSUR-1.0 is making its way through CRAN. It is a snapshot of the
development version of the following textbook:
Title: Introduction to Probability and Statistics using R, First Edition
ISBN: 978-0-557-24979-4
Publisher: me
The book is targeted for an undergraduate course in probability and
statistics. The prerequisites are a couple semesters of calculus and a
little bit of linear algebra. I
2010 Jul 28
0
IPSUR-1.0 is on CRAN, plus update to RcmdrPlugin.IPSUR
IPSUR-1.0 is making its way through CRAN. It is a snapshot of the
development version of the following textbook:
Title: Introduction to Probability and Statistics using R, First Edition
ISBN: 978-0-557-24979-4
Publisher: me
The book is targeted for an undergraduate course in probability and
statistics. The prerequisites are a couple semesters of calculus and a
little bit of linear algebra. I
1998 May 12
0
_real_ browsing problem...
Hi all,
we got a very difficult browsing problem here at the college of German
Telecom at Dieburg. We have been trying to get browsing working at our student
quarters for about three semesters now, re-reading the BROWSING.TXT file for
XX times and spending YY hours analysing nmbd's log files. I hope somebody
can point us to the right direction or tell us where to find more
information about
1997 Apr 30
0
R-beta: Re: S Compatibility
Martyn Plummer writes:
> How important is it to avoid being sued, or less facetiously, what is
> the legal status of R? If I were Mathsoft I would be less than pleased
> at the development of R and would try to stop it if I could. I have
> been wondering for some time if this is possible. But I am not a lawyer
> and the issue seems very unclear to me.
To me too (Robert spent a
2005 Oct 31
2
pushing out files or installs
I've got 20 windows desktop machines in a lab on a samba network. Throughout
the semester instructors usually find some software they want installed. Has
anyone come up with a good way to push out files to all these machines? I've
seen demos of software management in Windows 2003. Or any inexpensive
commercial product for software management for networks that are not Windows
AD?
I think
2011 Mar 31
2
how to do t-test in r for difference of mean
I am trying to do t-test to test whether the mean of one one column of the
data frame is greater then another. please help me out.
--
Arkajyoti Jana
M. Phil/ 2nd semester
Centre for Economic Studies and planning
School of Social Sciences
Jawaharlal Nehru University
New Delhi-67
[[alternative HTML version deleted]]
2007 Jan 30
3
[LLVMdev] Are these projects still "open"?
Hi,
I'm looking to do a semester-long course project involving LLVM.
To avoid duplicating efforts, I wanted to know if the following projects
(lifted off http://llvm.org/OpenProjects.html) are done with or are
currently worked upon. Atleast I couldn't find evidence of these in the
1.9 sources.
1. Implement GVN-PRE, a powerful and simple Partial Redundancy
Elimination
2013 Jan 04
2
New Version of R?
Dear R People:
I'm not sure if I should be asking here or R-devel, but here goes:
Will there be a new version of R coming out in the next few weeks, please?
I'm setting up for the spring semester and want the students to have
the latest version.
Thanks very much,
Sincerely,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of
2004 Aug 14
0
SPSS, social science majors, and R
Hi Roland and folks:
Roland's and Susanna's comments were very interesting. I think we need to keep in mind that unlike SPSS, R is more than a statistical package. It's a tool. SPSS does indeed make life easy, particularly for data preprocessing (or data "cleaning"), something that is perhaps not advisable using R (the current versions). Also, I think it's a myth that R
2010 Feb 17
2
[LLVMdev] Need help getting LLVM JIT running on ARM
Does anyone know what I should be doing if I want to cross compile LLVM for
the ARM architecture?
I want to use the LLVM JIT on ARM for a class project this semester.
I have built and/or installed a few different gcc arm (arm-linux, and also
one that is arm-elf) toolchains, and have had trouble getting LLVM 2.6 to
configure and compile using the --host and --build switches of the config.
If there