Displaying 7 results from an estimated 7 matches similar to: "how to ignore NA when using cumsum?"
2009 Nov 21
1
how to ignore NA when using cumsum WHILE retaining NAs?
I would like to cumulatively sum rows in a matrix, in which each row has 1
NA value, which I do NOT want to treat as 0s. The NAs are placeholders
where there is actually no data, which is not the same as a 0. The usual
"na.rm=TRUE" does not seem to work with the command cumsum. Is there
another way to ignore the NAs or do I need to figure out a different way to
do this?
Here's an
2007 Aug 21
2
validates_acceptance_of (and hidden input)
Hi
Why does a failed "validates_acceptance_of" create a hidden input in
the view?
cheers, jason
--~--~---------~--~----~------------~-------~--~----~
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
2014 Jun 09
1
Compiling an older version of R (2.11.1) on Ubuntu 13.10
Hello all,
I am trying to compile (by "hand") an old version of R (2.11.1,
specifically). "Why?", you might ask. Well, I have a program I am trying to
run (that was not written by me, but I am hoping to use in my research) that
was written in "old" R, and the program writer has specifically mentioned
that R-2.11.1 or older must be used. I have run
2007 Feb 22
0
is a time series regression model a causal forecasting model?
I have a semantics question, I am reading Bowerman and O'Connell and they
state that forecasting models fall into two categories, univariate and
causal. My question is whether a time series regression model that relates
the time series of interest to functions of time such as the day of the week
or month of the year could be considered a causal model?
thanks,
spencer
[[alternative HTML
2003 Jan 14
0
Issue with adding machines to domain
Okay, here's the situtation I have a samba server (2.2.3a) which is the
PDC for a domain with approximately 60 windows 2000 clients.
Up until recently I haven't had any problems with using it for roaming
profiles and domain authentication, however since last thursday I have
not been able to successfully create machine account that would work.
When following the procedure that has worked
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends,
I am brand new to RoR.Kindly help me with the following problem.
Following are the steps i have done.
1) C:/> rails appone
2) C:/> cd appone
3) C:/appone> cd script
4) C:/appone/script> ruby generate controller appone index
5) Edited C:/appone/app/controllers/appone_controller.rb
class ApponeController < ApplicationController
def index
time = Time.now
2008 Apr 24
3
DRYing up controllers
Hi
I''m a big fan of plugins such as Resource Controller
http://jamesgolick.com/2007/10/19/introducing-resource_controller-focus-on-what-makes-your-controller-special
However, recently decided I don''t want to depend on a plugin for this,
and would rather stick closer to the rails core.
So does anyone have any cool strategies or ideas for achieving this?
Or is there any move to