Displaying 6 results from an estimated 6 matches for "new_vari".
Did you mean:
new_var
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 => ne...
2011 Jun 14
1
Renaming variables
...ious 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 in form: [1]
"new_variable" BUT when I try typing in new_variable I get the message
Error: object 'new_variable' not found
I also tried with fix(mydata) command, but editor basically opens up empty,
so I don'...
2012 Jul 25
1
reshaping data
...) >0) # SAME
Essentially, I would like to preserve all values of an id with more than
one row. Any ideas are much appreciated.
In addition, is there an easy way to create a new variable based on the
number of instances of each id (in the long dataset)? e.g.
id time x NEW_VARIABLE
1 1 0 -0.03921791 1
2 2 0 -1.07869262 1
3 2 5 1.73442621 2
4 3 0 -0.64356207 1
5 3 2 1.19691074 2
6 3 10 0.62035225 3
Thank you,
AC
[[alternative HTML version deleted]]
2004 Sep 30
1
expand.model.frame gives "object not found"
...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:
expand.model.frame(formulaname, ~ new_variable)
but I get the response
Error in eval(expr, envir, enclos) : Object "foreignaid.dummy" not found
where foreignaid.dummy is my dependent variable. However,
foreignaid.dummy is clearly visible in the global environment:
> ls(pat="foreignaid.dummy", envir=globalenv())
[...
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