similar to: Coding several dummy variables into a single categorical variable

Displaying 20 results from an estimated 100 matches similar to: "Coding several dummy variables into a single categorical variable"

2013 Sep 21
1
Translating recoding syntax from SPSS to R
Colleagues, I am in the process of learning R. I've been able to import my dataset (from Stata) and do some simple coding. I have now come to coding situation that requires some assistance. This is some code in SPSS that I would like to be able to execute in R: if (race eq 1 and usborn=0) confused=1 . if (race eq 2 and usborn=0) confused=1 . if (race eq 1 and usborn=1) confused=0 . if (race
2013 Jul 24
3
Change values in a dateframe
Hello I have the following problem : The dataframe TEST has multiple lines for a same person because : there are differents values of Nom or differents values of Prenom but the values of Matricule or Sexe or Date.de.naissance are the same. TEST <- structure(list(Matricule = c(66L, 67L, 67L, 68L, 89L, 90L, 90L, 91L, 108L, 108L, 108L), Nom = structure(c(1L, 2L, 2L, 4L, 8L, 5L, 6L, 9L, 3L, 3L,
2013 Jun 11
1
mapply on multiple data frames
Hi all- I am wondering about using the mapply function to multiple data frames. Specifically, I would like to do a t-test on a subset of multiple data frames. All data frames have the same structure. Here is my code so far: f<-function(x,y) { test<-t.test(x$col1[x$col3=="num",],v$col2[x$col3=="num",],paired=T,alternative="greater") out<-test$p.value
2004 Dec 06
1
Help: Apache2, Tomcat5 and jk2_connector
Hello, Does any have Apache 2.0.49 with tomcat 5.5.4 and jakarta-tomcat-connectors-jk2-2.0.4 working??? Apache was allready installed with CentOS 3 I installed tomcat with it's tar.gz file and instalation was good. but I installed first the j2sdk-1_4_2_06-linux-i586 java version... everything was OK... but when I try to install the jakarta-tomcat-connector I get an error when executing the
2007 Feb 23
2
help to control linux mail servers
A guru in linux left the company I work for and he left me 3 linux mail servers which I am not so confident in using. THe company is looking to me to control it, and things are going wrong. I know some linux commands but not enough and it is driving me NUTS!!!!!!!!!!!. Can I install wine on it and use a GUI interface to better control the linux servers ? Jose
2019 Apr 10
6
chown: changing ownership of 'test': Invalid argument
Hi All, I have a very weird issue on one of my servers. I think I might just be missing something quite obviously... I will post the config files at the bottom I have a brand new Debian server running as an LXC container > root at ho-vpn-ctx-ac01:~# lsb_release -a > No LSB modules are available. > Distributor ID: Debian > Description: Debian GNU/Linux 9.8 (stretch) >
2013 Jul 12
4
simplify a dataframe
Hello I have the following problem : group the lines of a dataframe when no information change (Matricule, Nom, Sexe, DateNaissance, Contrat, Pays) and when the value of Debut of lines i = value Fin of lines i-1 I can obtain it with a do loop. Is it possible to avoid the loop ? The dataframe initial is df1 dput(df1) structure(list(Matricule = c(1L, 1L, 1L, 6L, 6L, 6L, 6L, 6L, 6L, 8L, 8L, 8L,
2009 Oct 26
1
issue with levels of a factor after subsetting
Hi Second question in a day, i'm beginnning to feel incompetent... This time i'm having a weird problem, i'm importing the next data base: >car<-read.csv2("Historicos.csv") 'data.frame': 1818 obs. of 6 variables: $ Dpto : Factor w/ 11 levels "ANTIOQUIA","ATL?NTICO",..: 2 2 2 2 2 1 1 1 1 5 ... $ Rio : Factor w/ 43 levels
2009 Oct 26
1
xyplot lines goes forth and backwards
Hi, This is my first post in this page althougt i've been using R for several months (by the way english is not my native language so sorry about the grammar). I have a problem with a xyplot on lattice, it's supossed to print different lines for each river (Rio) conditioned by a chemical parameter (Var) and the state at which it's located (Dpto) against the year the sample were taken
2019 Apr 10
1
chown: changing ownership of 'test': Invalid argument
Hi Louis, Thank you. I will add those line and test. Will revert shortly As requested. The output: root at ho-vpn-ctx-ac01:~# cat /tmp/samba-debug-info.txt > Collected config --- 2019-04-10-08:12 ----------- > > Hostname: ho-vpn-ctx-ac01 > DNS Domain: jeoffice.jacklin.co.za > FQDN: ho-vpn-ctx-ac01.jeoffice.jacklin.co.za > ipaddress: 10.10.18.50 10.10.11.50 > >
2019 Apr 10
4
chown: changing ownership of 'test': Invalid argument
I forgot, post also:   cat /etc/idmapd.conf ( im adding it in the debug-collector atm )   There might be a mis in detecting the Domain or Local-Realm. I suggest, add this :    Domain = jeoffice.jacklin.co.za Local-Realm = JEOFFICE.JACKLIN.CO.ZA   see if that helps.   Greetz,   Louis Van: Ian Coetzee [mailto:samba at iancoetzee.za.net] Verzonden: woensdag 10 april 2019 10:17 Aan: L.P.H. van
2019 Apr 10
1
chown: changing ownership of 'test': Invalid argument
Ok i've comment in between de debug logs.   Check my comments and add the needed info.   Van: Ian Coetzee [mailto:samba at iancoetzee.za.net] Verzonden: woensdag 10 april 2019 10:17 Aan: L.P.H. van Belle CC: samba at lists.samba.org Onderwerp: Re: [Samba] chown: changing ownership of 'test': Invalid argument Hi Louis, Thank you. I will add those line and test. Will revert
2010 Jul 16
2
PXE limit of character in "append" line
Hi all Hi all. I have this working line in my Clonezilla Server: * APPEND initrd=initrd.img boot=live union=aufs noswap noprompt vga=788 ip=frommedia fetch=tftp://192.168.30.51/lis/hp/filesystem.squashfsocs_prerun="busybox tftp -g -r lis/hp/custom-ocs-1 -l /tmp/custom-ocs-1 192.168.30.51" ocs_prerun1="busybox tftp -g -r lis/hp/id_rsa -l /tmp/id_rsa 192.168.30.51"
2003 Dec 01
0
No subject
When I run smbclient 1. smbclient //LINUX01//homes -U test password is requested, I enter the password, and I get in 2. smbclient //LINUX01//homes -U Jane password is requested, I enter the password, and I cannot get in (ERRSV - ERRbadpw (Bad Password - name/password pair in a Tree Connect or Session Setup are invalid) 3. smbclient
2003 Dec 01
0
No subject
is turned on. Can anybody kind to confirm with me? Our network is using a mix of Win2k server, Win2k Pro, Win98, Win95 and WinMe machines, where the Win2k server is the domain controller and terminal service applications server and the Samba is a member fileserver of the domain. All workstations logon and mount the samba file services. We'd like to check if the problem could be solved by
2003 Dec 01
0
No subject
it were a Microsoft box... (Windoze is so stupid it'll never know the difference!) -----Original Message----- From: samba-admin@lists.samba.org [mailto:samba-admin@lists.samba.org] On Behalf Of Fred Jackson Sent: Monday, July 30, 2001 10:39 PM To: samba@lists.samba.org Subject: a question? Hi does the command line smbpasswd -j <domain> -r <PDC> apply to clients joining a
2003 Dec 01
0
No subject
network. I did read somewhere on the web (several years ago) of a guy who managed to boot windows from the net. With the start of Win 98/ME/ etc.etc it's not posible anymore. I currently use PXE to install machine from the net using bpbatch that works great only bpbatch is not really under developnt and the script language is a bit buggy. I see only one option to boot windows from the net and
2003 Dec 01
0
No subject
TEST 3 If you get a "connection refused" response then the smbd server may not be running. If you installed it in inetd.conf then you probably edited that file incorrectly. If you installed it as a daemon then check that it is running, and check that the netbios-ssn port is in a LISTEN state using "netstat -a". Note: You have xinetd not inetd on the redhat box. To avoid all
2003 Dec 01
0
No subject
net use * \\samba\mgerdts Debug level 10 says: [2001/06/22 10:28:49, 1, pid=29656] smbd/password.c:pass_check_smb(554) Couldn't find user 'mgerdts' in smb_passwd file. [2001/06/22 10:28:49, 2, pid=29656] smbd/reply.c:reply_sesssetup_and_X(951) NT Password did not match for user 'mgerdts'! [2001/06/22 10:28:49, 2, pid=29656] smbd/reply.c:reply_sesssetup_and_X(961)
2009 Dec 19
2
Zfs upgrade freezes desktop
On snv_129, a zfs upgrade (*not* a zpool upgrade) from version 3 to version 4 caused the desktop to freeze - no response to keyboard or mouse events and clock not updated. ermine% uname -a SunOS ermine 5.11 snv_129 i86pc i386 i86pc ermine% zpool upgrade This system is currently running ZFS pool version 22. The following pools are out of date, and can be upgraded. After being upgraded, these