similar to: Unknown Method key? error in Rails 2.3.8 Unit testing

Displaying 20 results from an estimated 100 matches similar to: "Unknown Method key? error in Rails 2.3.8 Unit testing"

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
2007 Nov 19
2
login help - grouping records
I have a long list of posts posted on different days and many posts every day. I want them to arrange like following... Date1 ----- post1 post2 Date2 ----- post3 post4 post5 How can I (say) group them to appear all posts of one date under their related headng. Because records have so many different days, it is confusing me.. I need some generic solution. Thanks in advance. -- Posted via
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
2007 Jan 24
1
mixed effects or fixed effects?
Hi, I am running a learning experiment in which both training subjects and controls complete a pretest and posttest. All analyses are being conducted in R. We are looking to compare two training methodologies, and so have run this experiment twice, once with each methodology. Methodology is a between-subjects factor. Trying to run this analysis with every factor included (ie, subject as a
2007 May 06
1
intersect of 2 data frames
Greetings! I am a new user of R. The only one in my department, all others use SPSS. I have two data sets of students with test scores, pretest and posttest. The first column StuNum and then columns of scores. The problem is that the lists are slightly different not all students are in both data sets. So I did: intersect(pretest$StuNum, posttest$StuNum) -> common.id At this point I need
2007 Jan 22
0
R interpretation
Hi, I am new to R (and not really a stats expert) and am having trouble interpreting its output. I am running a human learning experiment, with 6 scores per subject in both the pretest and the posttest. I believe I have fitted the correct model for my data- a mixed-effects design, with subject as a random factor and session (pre vs post) nested within group (trained vs control). I am
2011 Mar 19
1
how to access the elements of a univariate results table with Anova (library car)
Dear R users, I use the excelent Anova function of the library car because the easy way to get sphericity correction. Unless I use the scan function. I have not been able to access the values ​​of sum squares and degrees of freedom for each effect in the univariate summary table. Example of the car library for Anova function: library(car) phase <- factor(rep(c("pretest",
2006 Mar 20
2
Testing Models And Fixtures
I have finally decided to look into testing and I am going through the examples in the AWDWR book and I tried the following and it does not work... even though I don''t see why it shouldn''t. =========== posts.yml =========== basic_post: id: 1 title: Title body: Body created_at: 2006-02-01 00:00:00 updated_at: 2006_02-02 00:00:00
2008 Aug 23
3
graphs for pretest data
Is there an easy way to make graphs for the following data. I have pretest and posttest scores for men and women. I would like to form a 'titlted segment' plot for the data. That is, make segments joining the scores, with different types of segments for men and women. Example data: menpre <- c(43,42,26,39,60,60,46) menpost <- c(40,41,36,42,54,58,43) womenpre <-
2011 Apr 30
3
using tapply with multiple variables
HI All, I have a long data file generated from a minimal pair test that I gave to learners of Arabic before and after a phonetic training regime. For each of thirty some subjects there are 800 rows of data, from each of 400 items at pre and posttest. For each item the subject got correct, there is a 'C' in the column 'Correct'. The line: tapply(ALLDATA$Correct,
2012 Jul 21
2
car::Anova - Can it be used for ANCOVA with repeated-measures factors.
Dear list, I would like to run an ANCOVA using car::Anova with repeated measures factors, but I can't figure out how to do it. My (between-subjects) covariate always interacts with my within-subject factors. As far as I understand ANCOVA, covariates usually do not interact with the effects of interest but are simply additive (or am I wrong here?). More specifically, I can add a covariate as
2009 Feb 18
2
[package-car:Anova] extracting residuals from Anova for Type II/III Repeated Measures ?
Hello dear R members. I have been learning the Anova syntax in order to perform an SS type III Anova with repeated measures designs (thank you Prof. John Fox!) And another question came up: where/what are the (between/within) residuals for my model? ############ Play code: phase <- factor(rep(c("pretest", "posttest", "followup"), c(5, 5, 5)),
2011 Sep 22
1
Wrapper of linearHypothesis (car) for post-hoc of repeated measures ANOVA
For some time I have been looking for a convenient way of performing post-hoc analysis to Repeated Measures ANOVA, that would be acceptable if sphericity is violated (i.e. leaving aside post-hoc to lme models). The best solution I found was John Fox's proposal to similar requests in R-help: http://tolstoy.newcastle.edu.au/R/e2/help/07/09/26518.html
2009 Apr 25
3
ANOVA/statistics question
(Have searched for this already) Hi, How do you find the strength of correlation between two variables using an ANOVA table? "Pr(>F)" gives the statistical significance of the association, but not the strength of the correlation. See data (from R) below Readable: "Df" "Sum Sq" "Mean Sq" "F value"
2012 Mar 05
2
new to repeated measures anova in R
Data set up as one observation/subject looks like (with a total of 10 subjects) Two treatments: shoe type with 3 categories and region with 8 categories ==> 24 "treatment" columns Subject PHallux PMidToes PLatToe PMTH1 PMidMTH PLatMTH PMidfoot PRearfoot LHallux LMidToes LLatToe LMTH1 LMidMTH LLatMTH LMidfoot LRearfoot DHallux DMidToes DLatToe DMTH1 DMidMTH DLatMTH
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,
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
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
2006 Apr 21
3
Problem with Mongrel, Rails and web services using xmlrpc
Hi all, Ruby 1.8.4 Windows XP Pro / Solaris 10 Mongrel 0.3.12 Rails 1.1.2 I''ve got a fairly simple and straightforward layered dispatching web service setup for my Rails app. This simple xmlrpc script works fine with WEBrick, but chokes on Mongrel. Is there anything special I need to do to make web services work with Mongrel and Rails? Some Google searching indicates that there had
2012 Jun 26
4
ActionView::Template::Error (undefined method `strftime' for nil:NilClass)
Hello, I''m a newbie. I need help resolving this issue. I recently added a pdf to the newsletter admin section of the website and now I can no longer view page 2 of the list of pdf''s. Nor can I login to see the newsletters as a student. I''m using Ruby 1.9.3, Rails 3.2.1. Here''s the information from the log file. ActionView::Template::Error (undefined