Displaying 9 results from an estimated 9 matches for "fouche".
Did you mean:
touche
2013 Jan 15
1
Removing an attached object
Dear All,
I am a bit confused, I attached my data frame using 'attach(DATA)'
Then I removed it using 'rm(DATA)'
But for some reason it is still at position 2 at the search path
search()
[1] ".GlobalEnv" "DATA" "package:foreign"
[4] "package:stats" "package:graphics" "package:grDevices"
[7]
2012 Oct 24
2
Recode function car package erases previous values
Hi all,
I am attempting to create a new variable based on values of other variables. The variable is called pharm. It basically takes the numeric code of 1 as yes and 0 to be No from the variable B20_C1 (a question on a survey). However, I would also like to have a level for non-respondents and these are captured in the variable nr.B20C, which is a 1 when there is a non-response on the whole group
2013 Mar 28
1
question about attaching data
Hi I just would like to know,
When I have a dataframe, like this one called 'dummy'
And I attach it.
Then I run my code.
I then update the dataframe by making changes and I still call it 'dummy'.
I run my code again.
Now dummy is at position 1 and position 2 of the search path and if I run the code again, with another version of 'dummy' it updates and eventually my search
2013 Apr 17
2
Problem with DateVisit-gives wrong year?
Hi I have the following factor of dates that I want to converted to Date class so I can extract the month
> test.date
[1] 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012 14/05/2012
[7] 14/05/2012 14/05/2012 14/05/2012 14/05/2012
201 Levels: 01/10/2012 01/11/2012 01/12/2012 02/07/2012 ... 28/09/2012
I use code below
ntest.date<-as.Date(test.date,'%d/%m/%y')
but the output
2013 Jan 11
3
Using table to get frequencies of several factors at once
Hi, I have a dataframe with n columns, but I am only looking at five of them. And lots of rows, over 700.
So I would like to find frequencies for each of the numeric columns (variables) using the table function. However, is there a fast way to produce a frequency table where the 5 rows represent the 5 numeric variables and the columns refer to the values (levels) of the respective numeric
2011 Oct 19
5
How to know the generated certname used by a puppet client, for reuse within erb (because of cloud provisioner) ?
Hi,
I am using the cloud provisioner to bootstrap some ec2 nodes, and these
clients are signed using a randomly generated certname, which is put in
/etc/puppet.conf at the bootstrap time (eg certname =
d7bcd693-73fd-495f-0876-ff91ea11111e).
But my puppet code repo also manages the puppet.conf file, so the file will
be overwritten on the client at the first puppet run. Nevertheless, i should
not
2012 Oct 17
2
Setting all rows of a certain level to NA in a factor
Hello everyone.
My task is set certain levels (that is all rows of that level) as missing values in factor B20_A.
Excuse the notation, it happens to be a question number in a survey.
So I thought it would work easily by defining the levels
and their labels using the 'factor' function.
> levels(B20_A)
[1] " " "5.6" "No " "Yes"
#as you can see
2011 Oct 19
0
EC2 bootstrap: chicken and egg problem with login as ec2-user and sudoers "requiretty"
Hi,
I was previously using an EC2 AMI where i was logging as root, and i
could bootstrap nodes.
I am now using Amazon AMIs ( http://aws.amazon.com/fr/amazon-linux-ami
) and they require login as ec2-user.
The problem is that if i run puppet node bootstrap --login ec2-user,
it will detect it and run my install script as with sudo, which is
fine, but sudo will not run it because it is configured by
2011 Oct 13
2
How to divide the puppet.conf file in multiple files ?
Hi,
How can i divide my puppet.conf file in multiple files ?
I would like to have the [main] and [agent] section in puppet.conf and
[master] in puppetmaster.conf for example. I could call sone "include"
or "import" statement inside puppet.conf to include the content of
puppetmaster.conf in my configuration
Not sure if this is a stupid question, but i could not find any