similar to: Condition %in%

Displaying 20 results from an estimated 8000 matches similar to: "Condition %in%"

2009 Jun 11
4
Count observation
Hi listers, I have the following code... data<-as.matrix(c(1,2,3,4,5,6,7,8,9,10),nrow=10,ncol=1,byrow=TRUE) n<-nrow(data) m<-n-1 boot<-data[sample(m,replace=T),] So, I need to count the number of times each observation was selected at the sample with replacement... Suppose I sampled... 4 5 1 3 7 5 1 4 7 So, I would count... x count 1 2 2 0 3 1 4 2 5 2 6 0 7 2 8 0 9 0 10 0
2010 Sep 03
7
Function Gini or Ineq
Hi listers, Does it necessary to install any package in order to use the GINI or INEQ functions. If I use the following command the R tells me that didn't find the GINI function. x<-c(541, 1463, 2445, 3438, 4437, 5401, 6392, 8304, 11904, 22261) G<-gini(x) Thanks in advance, Marcio -- View this message in context:
2009 Sep 18
2
Sum according observation
Hi listers, I have a simple doubt... I need to manipulate the data base as: var1 var2 7 0.1 7 0.1 8 0.12 10 0.15 12 0.18 20 0.31 I would like to aggregate the equal cases as var1 making the sum of var2... I would get... var1 var2 7 0.2 8 0.12 10 0.15 12 0.18 20 0.31 Thanks in advance, Marcio -- View this message in context:
2009 Jun 12
3
Order data frame
Hi listers, I have a data frame with 5 variables... And I want reorder the data frame according a specific variable X... I checked the sort and order functions... In my case I think that the ORDER function is applicable... But I did not understand at all... The idea is simple... Data order by X... I know that this is very simple... Anyways... How I would do that... Thanks in advance, Marcio --
2010 Sep 14
4
If then else with command for
Hey listers, I am trying to do something simple... Check the program below... I would like to create a variable named COLOR according to the conditions that I stablished... But the problem is that it seems that my variable COLOR is checking just on sample, may be last in the loop... Certainly, I am missing something... Thanks in advance, Marcio
2010 Feb 25
1
read.table (trying one more time)
Hey listers, I've posted this doubt other day... But I am still having a hard time... I have a MAC and I am not getting how to use the read.table command... At the bottom of the FINDER application I have the following path: Macintosh HD>Usu?rios>User>Marcio>UdeM>Travail Dirig?>Data>MU284 Population.txt I didn't find out how I could copy and paste this path as it is
2009 Aug 14
1
Simulation Function - Save results
Hi listers, I am working on a simulation... But I am having some troubles... Suppose I have a function A which produces two results (mean and variance)... Then I would like to simulate this function A with a function B many times using the results from function A For example: #Function A boot<-function(a,b,c){ mean_boot<-(a+b)/2 var_boot<-c #list(a=a,b=b,c=c) return(a) } Then I would
2010 Sep 20
1
Size of the legend
Hello, Which would be the command to change the size of the legend. I checked at the help and I found out something about TEXT.WIDTH, but I am not sure if is what I want. Any help! Thanks in advance, Marcio -- View this message in context: http://r.789695.n4.nabble.com/Size-of-the-legend-tp2547601p2547601.html Sent from the R help mailing list archive at Nabble.com.
2010 Aug 11
1
Graphic Dispersion - Colored Points
Hey folks, I have a graphic of dispersion... I would like to color some specific points (x,y) according to another indicator variable, for example: x<-rnorm(5) y<-rnorm(5) ind<-(1,0,0,1,0) plot(x,y) Any suggestion, thanks... Marcio -- View this message in context: http://r.789695.n4.nabble.com/Graphic-Dispersion-Colored-Points-tp2322011p2322011.html Sent from the R help mailing list
2009 Feb 24
2
Transpose array
Hi Listers, Is there a way that I can transpose an array... Suppose I have the following array... x<-array(c(1,2,3,4),dim=c(1,2,2)) , , 1 [,1] [,2] [1,] 1 2 , , 2 [,1] [,2] [1,] 3 4 And I would like to get the following result... , , 1 [,1] [1,] 1 [,2] 2 , , 2 [,1] [,2] [1,] 3 [,2] 4 Thanks in advance, Marcio -- View this message in context:
2009 Mar 31
1
Package candisc
Hi listers, I am working on an canonical discriminant analysis, but I am having some trouble to use the CANDISC function... I just installed the last R version and installed the package CANDISC... But, I am getting the following message because about a permission: The downloaded packages are in C:\Users\Marcio\AppData\Local\Temp\Rtmpz2kFUm\downloaded_packages updating HTML package descriptions
2009 Mar 26
2
Data manipulation - multiplicate cases
Hi listers, I am trying to arrange my data and I didn't find any information how to do it! I have a data with 3 variables: X Y Z 1-I would like to multiplicate de information of X according to the number I have for my Y variable... 2-Then I want to identify with a dicotomic variable by the number according my variable Z from X... I can do the first part by... z<-rep(x,y) But I don't
2010 Feb 16
1
READ.TABLE for Mac
Mestat wrote: > > Hi listers, > I just got a MAC, so I am trying to use the command READ.TABLE but I am > getting a error that is probably caused by the wrong path that I am > using... > The command is the following... > > file<-read.table("/Users/M?rcio/UdeM/Travail Dirig?/Data/MU284 > Population.txt",header=T,skip=24) > > And I am getting the
2009 Aug 18
1
Simulation function
Hi listers, I've been looking for a procedure, but I am not succeding... I have a function that give multiple results... Then, I would like to simulate this function n times, so I need to save/keep the n multiple results, in order to calculate my desired statistics... I have already tried with the RETURN and LIST FUNCTION, but I am not getting it right... An example of what I am looking for
2019 Aug 04
5
problems with authentication
Hi, I set up a samba 4 in Debian 9.9 as a Domain member server, but authentication is not working as follows: root at srv-proxy:/etc/samba# wbinfo -a marcio at EMPRESA.COM.BR Enter marcio at EMPRESA.COM.BR's password: plaintext password authentication succeeded Enter marcio at EMPRESA.COM.BR's password: challenge/response password authentication failed wbcAuthenticateUserEx(+marcio at
2018 Nov 27
2
Odd behavior on group membership
Hi, I have a samba 4.7 AD DC running on a Ubuntu 18.04 server with distro packages. I update a user with a new group and this new membership is not reflected on that user. On example below, I can successfully add the user "test.account" to group "test", but not my user "marcio.merlone": root at araucaria:~# id test.account uid=30214(A1\test.account)
2020 May 07
2
Azure AD Connect
G'Day Marcio and gabben, Douglas (CC'ed) is going to try and look into why this doesn't 'just work' with Samba. No promises, but at least a trained eye will look over the process. If you could help him get set up and understand what works and doesn't that will leave him more time for actual debugging. The Azure AD sync feature is a big of an oddity in Samba, because it
2019 Nov 19
1
Dovecot Master User: Access user's mailbox without owner's password
>>>>> "Marcio" == Marcio Merlone via dovecot <dovecot at dovecot.org> writes: Marcio> Sounds a lot like my problem, which I described some days ago Marcio> here on the list, but no luck. Please report to the list if Marcio> you make any progress. Marcio, Looking at your passdb { } block, you don't have the "result_sucess = continue" option.
2008 May 27
4
Permission error when installing rspec
hello from here! i''m new in rspec and i have a problem while installing rspec 1.1.4 gem: marcio at marcio-work:~$ gem install rspec Bulk updating Gem source index for: http://gems.rubyforge.org ERROR: While executing gem ... (Errno::EACCES) Permission denied - /var/lib/gems/1.8/cache/rspec-1.1.4.gem I did it with sudo and there was no problem, but when i attemp to use rspec (spec
2019 Sep 02
3
Problems with Internal DNS Samba 4
Marcio, Just so you know what was wrong. > listen-on port 53 { 192.168.1.20; 127.0.01; }; The Bin9 "not starting problem " wrong was.. 127.0.01 should be ... Ah you know.. Your missing a "dot".. But good you made it. Greetz, Louis > -----Oorspronkelijk bericht----- > Van: samba [mailto:samba-bounces at lists.samba.org] Namens > Marcio Demetrio