Displaying 20 results from an estimated 500 matches similar to: "login help - grouping records"
2010 Aug 24
0
SAMR for paired samples
Hi R-help,
I am trying to use 'samr' for 10 pre and post paired samples to test
whether
post is different from pre (i.e., the location shift for the delta of
(post-pre)).
However, I got an error message saying
> samr.obj<-samr(d, resp.type="Two class paired", nperms=100,
random.seed=100)
perm= 1
Error in !logged2 : invalid argument type
Does anyone know what this
2010 Aug 09
1
creating pdf of wireframe
Dear R list,
I have written some code to produce several wireframe plots in a panel. They
look good, but when I try to create a pdf, many (but not all) of the details
I have specified are not reproduced. For example, the line width I have
specified is not reproduced, and neither are the font sizes for the axis
labels. I'm an R novice, so I could really use some guidance.
Here is the code I am
2010 Jul 13
0
Unknown Method key? error in Rails 2.3.8 Unit testing
I was writing unit tests for my models for a while. After that I was
tweaking around and again continued writing unit tests.
Earlier all my unit tests were working - successfully. But now WHen I
run them, it gives me
Loaded suite unit/post_test
Started
EEEE
Finished in 0.112698 seconds.
1) Error:
test_presence_of_body(PostTest):
NoMethodError: undefined method `key?'' for
2004 Sep 26
0
FreeBSD Security Advisory FreeBSD-SA-02:21.tcpip
Fun, fun. I suggest checking the corresponding MTA configuration :)
Return-Path: <David.Bear@asu.edu>
Delivered-To: rohrbach@mail.webmonster.de
Received: (qmail 56434 invoked by uid 801); 24 Sep 2004 15:51:37 -0000
Delivered-To: vrohrbach-karsten@rohrbach.de
Received: (qmail 56429 invoked from network); 24 Sep 2004 15:51:36 -0000
Received: from post5.inre.asu.edu (129.219.110.120)
by
2003 Apr 18
1
MCMCpack gelman.plot and gelman.diag
Hi,
A question. When I run gelman.diag and gelman.plot
with mcmc lists obtained from MCMCregress, the results are following.
> post.R <- MCMCregress(Size~Age+Status, data = data, burnin = 5000, mcmc = 100000,
+ thin = 10, verbose = FALSE, beta.start = NA, sigma2.start = NA,
+ b0 = 0, B0 = 0, nu = 0.001, delta = 0.001)
> post1.R <- MCMCregress(Size~Age+Status, data
2008 Jan 21
2
multiple ids on restful action
Hi,
I know this question has come up before, but I couldn''t find a
satisfying answer.
Maybe I didn''t look well enough, so any pointers to old messages
regarding this subject would be welcome too.
I need some way to pass multiple ids to a resource.
Something like /posts/13,14
If I do this I have to manually split the id on ","s in the action,
and use
post_path([post1,
2013 Mar 14
0
Display custom links above top level arrays using Jbuilder
I have a custom JSON response in which I display a collection of 15
posts along with related data like comments etc., as part of an API
call. I am displaying the entire collection using Jbuilder .
json.array!(@posts) do |post|
..
..
end
I want to display pagination links above the response of the 15 posts,
in order to get the next set of posts with the appropriate next set of
next page and
2008 Jun 07
3
DRY validates_format_of?
In a model I have following validates_format_of. Is there an easy way to
DRY this up? It seems to be rather repetitive.
validates_format_of :expiration_date, :with =>
/^[0-9]{4}[-][0-9]{2}[-][0-9]{2}$/
validates_format_of :activation_date, :with =>
/^[0-9]{4}[-][0-9]{2}[-][0-9]{2}$/
validates_format_of :some_other_date, :with =>
2005 Sep 06
1
US Date Handling in Rails
My application is built on Rails and MySQL. It will only be accepting US
formatted dates as input, however both Rails and MySQL are oriented around
ISO the format. I know I can convert a good portion of the entries using
ParseDate::parsedate but it does not appear this is how the conversion is
taking place when data is being transferred from the params hash into model
members.
Say I have a field
2006 Jul 27
9
CalendarHelper
Has anyone had any luck using the CalendarHelper plugin at
http://wiki.rubyonrails.com/rails/pages/CalendarHelper recently?
I''m scratching my head over the following error when I look at any page
in my application:
NameError in CalendarController#index
undefined local variable or method `date_format'' for
#<CalendarController:0x24ccd4c>
RAILS_ROOT:
2007 Mar 06
2
parse error with if else (PR#9551)
Full_Name: Stephanie MAHEVAS
Version: 2.4.1
OS: Windows NT
Submission from: (NULL) (134.246.55.50)
the two following instructions provide a synthax error :
if ( 5 > 4 ) cat("ok1")
else cat("ok2")
and
if ( 5 > 4 ){ cat("ok1")}
else cat("ok2")
whereas these ones don't
if ( 5 > 4 ) cat("ok1") else cat("ok2")
and
if (
2006 Aug 17
3
Use collection_select
I use the following code in my view:
<%= collection_select(''datedata'', ''date'', @allDate, :id, :date) %>
It''s show me the date of all entries in the database (Dropdown menu).
Additional, I wrote a helper method "showDate" in the
application_helper.rb! How can I use this method in the
collection_select for every date entry?
thanks
2003 Jul 11
4
module : cdr_sybase.so
If anyone is interested ... just in case! :-)... I have tried to write ,
based on the cdr_mysql.so module, an Sybase module.
To compile you can use something like that:
export SYBPLATFORM=linux
export SYBASE=/opt/sybase
cc -I$SYBASE/include -c -o cdr_sybase.o cdr_sybase.c
cc -shared -Xlinker -x -o cdr_sybase.so cdr_sybase.o -lsybdb -lm
-L$SYBASE/lib
(anyone could write the corect Makefile
2006 Feb 23
2
find_by_sql aliasing issue when accessing attributes
I was recently having problems accessing attributes in an object. Can
somebody explain to me why this is, and if it is a bug?
I have the following code:
@archives = RapturePost.find_by_sql "select distinct
date_format(rapture_posts.date_created,''%Y-%m'') date_created from
rapture_posts where rapture_posts.site_id = 1 order by
rapture_posts.date_created desc"
I
2008 Jun 15
2
R vs SAS and HLM on multilevel analysis- basic question
Hi R users!
I am trying to learn some multilevel analysis, but unfortunately i am now very confused. The reason: http://www.ats.ucla.edu/stat/hlm/seminars/hlm_mlm/mlm_hlm_seminar.htm
http://www.ats.ucla.edu/stat/sas/seminars/sas_mlm/mlm_sas_seminar.htm
and
MlmSoftRev. pdf from mlmRev package.
>From what i see, the first two links seem to declare the level one variable as a random part (i
2018 May 09
3
Seasonal weekly average
Hi,
I am fairly new to 'R' and would like advice on the following. I want to calculate a weekly average number of reports (e.g. of flu, norovirus) based on the same weeks for the last five years. I will then use this to plot a chart with 52 points for the average based on the last five years; another line will then plot the current year, enabling a comparison of current weekly counts
2007 Oct 17
1
problem with anova() and syntax in lmer
Dear R user
I have 2 problems with lmer.
The statistical consultance service of my university has recomended to me to
expose those problems here.
Sorry for this quite long message.
Your help will be greatly appreciated...
Gilles San Martin
1) anova()
I fit a first model :
model1 <- lmer(eclw~1 + density + landsc + temp + landsc:temp + (1|region) +
(1|region:pop) + (1|region:pop:family),
2009 Jul 28
3
CIsco 7960 + asterisk: hepl needed
Dear All,
I'm trying to configure my new phone Cisco 7960 to work with asterisk.
I followed http://www.asteriskguru.com/tutorials/cisco_7960_ip_phone_configuration.html
and I got into the point where I can see on the the display line indication showing
"55 <phone icon with x>" so it looks like the phone is not registered.
The phone and the asterisk are in the same local
2018 May 09
0
Seasonal weekly average
Hi Shakeel,
Assuming that you are starting with a bunch of dates:
# make a vector of character strings that can be converted to dates
rep_dates<-paste(sample(1:30,500,TRUE),sample(1:12,500,TRUE),
sample(2013:2017,500,TRUE),sep="/")
# if this isn't your format, change it
date_format<-"%d/%m/%Y"
# create a data frame with a column of dates
2006 Feb 10
14
dynarch calendar and calendar helper usage
I am playing around with this and reference this wiki from RonR site...
http://wiki.rubyonrails.org/rails/pages/CalendarHelper
The error I am getting is:
NameError in Placements#list
undefined local variable or method `date_format'' for
#<PlacementsController:0xb78f9ef4>
RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace