search for: new_variation

Displaying 6 results from an estimated 6 matches for "new_variation".

2006 May 19
1
Need help with a test
...dev, but when I run this test (see next), it fails: def test_link_concept #create a new concept new_concept = Concept.new new_concept.name = "concept a lier" new_concept.description = "ce concept va etre lie" new_concept.save #give it a variation new_variation = Variation.new new_variation.name_fr = "nom de la variation" new_variation.description = "name of the variation" new_variation.concept_id = new_concept.id new_variation.save #link it to the client get :link_concept_to_client, {:concept_id => new_con...
2011 Jun 14
1
Renaming variables
Hi guys, I checked previous posts and I saw similar questions have been answered; they didn't help me solve my problem though. I am using R version 2.13.0 (2011-04-13), Platform: x86_64-pc-mingw32/x64 (64-bit) and I am having difficulties renaming variables. I tried with this command: names (oldvariable) <- 'new_variable' and now when I type in oldvariable the new name pops out
2012 Jul 25
1
reshaping data
Hi, I am trying to reshape data from a long to wide format but have a specific task that I cannot get to output properly. # SAMPLE DATA; id <- c(1,2,2,3,3,3) time <-c(0,0,5, 0, 2, 10) x <- rnorm(length(id)) long <- data.frame(id,time,x) # To reshape, I would like to exclude 'id' values that have NO duplicate (i.e., remove # id=1 in this case). My attempts failed because the
2004 Sep 30
1
expand.model.frame gives "object not found"
Hello, I am a (relatively) experienced programmer, but new to R. I have a problem using R 1.9.1. I have fit some data using glm(), from within a function: formula = as.formula(paste(depvarname, "~", rhs), env=globalenv()) return (glm(formula, family=binomial(link=logit))) I have now come back to the formula and want to add some more variables to it. So I do:
2016 Apr 27
0
R Script Template
The subject of your email is missing. Perhaps you need to read the Posting Guide (again?) about attachments. Embedding your example directly in the body of the email is generally more accessible in archives than attaching it. -- Sent from my phone. Please excuse my brevity. On April 27, 2016 1:14:17 PM GMT+01:00, G.Maubach at gmx.de wrote: >Hi All, > >I am addressing this post to all
2016 Apr 27
2
R Script Template
Hi All, I am addressing this post to all who are new to R. When learing R in the last weeks I took some notes for myself to have code snippets ready for the data analysis process. I put these snippets together as a script template for future use. Almost all of the given command prototypes are tested. The template script contains snippets for best practices and leaves out the commands that