similar to: Finding the "levels" in a data frame column

Displaying 20 results from an estimated 8000 matches similar to: "Finding the "levels" in a data frame column"

2011 Jun 09
2
Problem with a if statement inside a function
I have a really long functions, and at the end of the function, I am using a if statement to tag certain keywords based on whether they have certain values contained in them. However, the if statement doesn't seem to work. When I had split up the commands into various functions, it worked fine, but I'm not sure what going on now that it's combined into a single function. myfunc
2020 Jul 13
2
net rpc rights grant fail to connect 127.0.0.1
Hello! Ok! I switch the IP inside Member AD > 127.0.0.1 localhost *> 10.1.1.16 * E-PLANO.ad.mydomain.br e-plano Only to clarify 10.1.1.16 - AD Member - File server 10.1.1.21 - Only AD-DC But, sorry! Follow the wiki https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs The command: # net rpc rights grant "SAMDOM\Unix Admins" SeDiskOperatorPrivilege -U
2020 Jul 13
3
net rpc rights grant fail to connect 127.0.0.1
Ok, im bit confused, sorry,. Ehen i look that the below output, then i see there are multiple things suspecting to go wrong here. ? For example this is a mismatch..? especialy hostname -i & -I? these should be the same or -I should show both. ? Now, if this is the member i would have expected something like this. /etc/hosts 127.0.0.1 localhost 10.1.1.16?????? E-PLANO.ad.mydomain.br
2020 Jul 13
2
net rpc rights grant fail to connect 127.0.0.1
On Mon, Jul 13, 2020 at 1:26 PM Rowland penny via samba < samba at lists.samba.org> wrote: > On 13/07/2020 18:18, Douglas G. Oechsler wrote: > > > > Hello! > > > > Ok! I switch the IP inside Member AD > > > 127.0.0.1 localhost > > *> 10.1.1.16 * E-PLANO.ad.mydomain.br <http://E-PLANO.ad.mydomain.br> > > e-plano > > > >
2020 Jul 13
1
net rpc rights grant fail to connect 127.0.0.1
On Mon, Jul 13, 2020 at 2:04 PM Rowland penny via samba < samba at lists.samba.org> wrote: > On 13/07/2020 18:50, Andrew Walker wrote: > > > > > > On Mon, Jul 13, 2020 at 1:26 PM Rowland penny via samba > > <samba at lists.samba.org <mailto:samba at lists.samba.org>> wrote: > > > > On 13/07/2020 18:18, Douglas G. Oechsler wrote: >
2011 Dec 15
1
Reordering a numeric variable
I'm running a linear model in R using the car package. I have a variable education, which i have recoded and regrouped to my wishes. However, R seems to place each element of that variable in alphabetical order. When I am running the model, don't I need the model order from lowest to highest to make an inference that a one unit change in one variable produced a one unit change in
2017 Apr 29
3
Ingresar datos dentro de R sin Excel
blockquote, div.yahoo_quoted { margin-left: 0 !important; border-left:1px #715FFA solid !important; padding-left:1ex !important; background-color:white !important; } Mmm, Si te refieres a pasar datos de papel directamente a R en el ordenador... yo los pasaria directamente a un archivo de texto plano, que vendría a llevar el mismo tiempo, y los cargaría en R. No es Bueno tener los datos solo en R
2018 May 08
3
Bilateral matrix
or in base R : ?xtabs ?? as in: xtabs(~previous_location + current_location,data=x) (You can convert the 0s to NA's if you like) Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Tue, May 8, 2018 at 9:21 AM, Huzefa
2018 May 16
0
Bilateral matrix
Dear Bert and Huzefa, Apologies for the late reply, my account got hacked and I have just managed to recover it. Thank you very much for your replies and the solutions. Both work well. I was wondering if there was any way to ensure (force) that all possible combinations show up in the output. The full dataset has 25 cities but of course people have not moved from Boston to all the other 24
2018 May 08
2
Bilateral matrix
I have data on current and previous location of individuals. I would like to have a matrix with bilateral movement between locations. I would like the final output to look like the second table below. I have tried using crosstab() from the ecodist but I do not have another variable to measure the flow. Ultimately I would like to compute the probability of movement between cities (movement to
2018 May 08
0
Bilateral matrix
Dear Miluji, If I understand correctly, this should get you what you need. temp1 <- structure(list(id = 101:115, current_location = structure(c(2L, 8L, 8L, 3L, 6L, 5L, 1L, 2L, 7L, 4L, 2L, 8L, 8L, 3L, 6L), .Label = c("Austin", "Boston", "Cambridge", "Durham", "Houston", "Lynn", "New Orleans", "New York"), class =
2017 Apr 05
2
Servicios en la nube
Buenas, me gustaría saber su experiencia sobre servicios en la nube. Se que hay varios que usan los servicios de MS Azure. Tengo una duda respecto a eso, funciona como una maquina virtual, no? Lo que significa que para correr procesos debo estar conectado a la maquina, o puedo dejar corriendo procesos en segundo plano y volver luego para ver el resultado. Saludos y muchas gracias! --
2009 Jun 03
1
setrubleshootd dominating
Anyone have any idea as to why setroubleshootd would be dominating the system: PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 2371 root 25 0 1884m 1.8g 4100 R 100.2 44.7 680:06.40 setroubleshootd Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life Insurance Co. Phone: (254)761-6649 1200 Wooded Acres Dr.
2018 May 16
2
Bilateral matrix
xtabs does this automatically if your cross classifying variables are factors with levels all the cities (sorted, if you like): > x <- sample(letters[1:5],8, rep=TRUE) > y <- sample(letters[1:5],8,rep=TRUE) > xtabs(~ x + y) y x c d e a 1 0 0 b 0 0 1 c 1 0 0 d 1 1 1 e 1 1 0 > lvls <- sort(union(x,y)) > x <- factor(x, levels = lvls) > y <-
2011 Jun 10
2
Counting the Number of Letters in a row
I'm trying to find the total number of letters in a row of a data frame. Let's say I have the following data frame. f1 <- data.frame(keyword=c("I live in Denver", I live in Kansas City, MO", "Pizza is good")) The following function gives me the number of characters in each string. So for "I live in Denver", I get 1, 4, 2, and 6. However, I want to
2015 Aug 06
2
Duda interpolación (package ' gstat ')
Sale plano sí. Ya se que sin tener los datos y el código es un poco difícil, pero es que mis datos ocupan mucho, es imposible. Seguiré mirando por internet. Muchas gracias Rubén. Un saludo, > To: r-help-es en r-project.org > From: rubenfcasal en gmail.com > Date: Thu, 6 Aug 2015 14:21:47 +0200 > Subject: Re: [R-es] Duda interpolación (package ' gstat ') > > Hola
2018 May 17
0
Bilateral matrix
Dear William and Ben, Thank you for your replies and elegant solutions. I am having trouble with the fact that two of the previous locations do not appear in current locations (that is no one moved to OKC and Dallas from other cities), so these two cities are not being included in the output. I have provided a better sample of the data and the ideal output (wide form - a 10x10 bilateral matrix)
2014 Jul 29
2
wordcloud y tabla de palabras [Avanzando]
Buenas tardes grupo. Saludos cordiales Carlos J., muchas gracias por tu orientación. Efectivamente, me había dado cuenta que la razón por la que no se aplicaba colnames era porque no tenía columnas. La cuestión es que no logro visualizar completamente/claramente en qué parte del proceso de creación del corpus se puede hacer. Sin embargo, siguiendo el ejemplo de
2009 Sep 29
3
Script consumes memory
I have the following script that when executed, consumes memory and makes the system inaccessible. All process are halted. First, I don't understand what is wrong with the script Secondly, I'm surprised that Linux allows this to run unchecked to the detriment of the entire system. ---- SCRIPT ----- #!/bin/sh FTP="/usr/bin/ftp" # VMID="asystem.ourcompany.com"
2008 Apr 11
3
MS Exchange to CentOs (multiuser)
Is there a way to get mail from a MS Exchange server that is addressed as user at host.domain.com rather than the user at domain.com so that users on host.domain.com can read their mail on that host (CentOS). (I'm assuming that Exchange needs to know about host.domain.com, somehow.) Frank M. Ramaekers Jr. Systems Programmer MCP, MCP+I, MCSE & RHCE American Income Life