similar to: array problem and for looping

Displaying 20 results from an estimated 600 matches similar to: "array problem and for looping"

2004 Oct 07
4
Re:How to create a R -application
Dear R- users and Helpers I am a beginner for R. I am using R to implement EM algorithm for treating Missing values. I would like to know how can save or compile my logical R commands to an application; so that the next time I could just execute the R- file. Example for calculating the mean of a data set x <- c(8,11,16,18,6,4,20,25,9,13) u <- mean(x) u Now I would like to save
2005 Oct 05
1
(no subject)
hi all why does the following not work??? this was someone elses code and i couldnt explain why it doesn't work. m=matrix(c(0,0),2,1) v=matrix(c(1,0,0,1),2,2) Y=function(X1,X2,mu=m,V=v) { X=matrix(c(X1,X2),2,1) a=(1/((2*pi)*sqrt(det(V))))*exp((-0.5)*(t(X-mu)%*%solve(V)%*%(X-mu))) a[1] } x1=seq(-1,1) x2=x1 Z=outer(x1,x2,FUN="Y",mu=m,V=v) persp(x1,x2,Z) my code:
2004 Oct 27
2
Random number
Dear R- User I created two random number sets using rnorm function and calcuted their respective means. However now I would like to randomly replace some values with NA. Thus create my own test data. Any help or suggestions on this ? Also wanted to confirm when multiplying two random number vectors x am y by matrix..is this how i do it. A is the matrix z <- c(x,y)
2004 Oct 07
3
Read.Table Reading a Text file
Dear R users and Helpers I am beginner with using R and interested in carrying out certain task for my statistical research. I am reading data for a text file, which could contain data in following pattern x y 8 10 11 14 16 16 18 15 6 20 4 4 20 18 As per the example I have two columns and 7 rows of data in each. However is real life data situation I may not know how many columns are present
2004 Oct 25
1
Ref: Variable scope or function behaviour or array reassign
Dear R- helpers Following a draft structure of the R script for which I am facing problem Step 1 x <- of type array with original values y <- of type array with original values Step 2 for (ctr in 1:10) { # my problem here the both x and y still show the original values from step 1 # in spite of making changes to the old values of the arrays x and y in the function function
2008 Nov 19
1
F-Tests in generalized linear mixed models (GLMM)
Hi! I would like to perform an F-Test over more than one variable within a generalized mixed model with Gamma-distribution and log-link function. For this purpose, I use the package mgcv. Similar tests may be done using the function "anova", as for example in the case of a normal distributed response. However, if I do so, the error message "error in eval(expr, envir, enclos) :
2004 Oct 13
1
Maximum Likelihood :- Log likehoood function
Dear R - users/Helpers I am dealing with bivariate Normal data with missing values. Further I am trying to implement Expectation-Maximization (EM) algorithm to resolve the missing data problem. Now one of the requirements is use the Log likehood function i.e -2Log so as to find a reliable convergence.... My question is there any R built function for the same or do i have to use the
2010 Jul 08
2
random sample from arrays
Hello R users, I'm trying to extract random samples from a big array I have. I have a data frame of over 40k lines and would like to produce around 50 random sample of around 200 lines each from this array. this is the matrix ID xxx_1c xxx__2c xxx__3c xxx__4c xxx__5T xxx__6T xxx__7T xxx__8T yyy_1c yyy_1c _2c 1 A_512 2.150295 2.681759 2.177138 2.142790 2.115344 2.013047
2019 Feb 25
2
Linking mailboxes
drwx-----x kunal kunal Storage I'm guessing this point is being more restrictive. Can you try changing this into 0755? Also suddenly you are no longer using vmail but random user IDs. This only works with vmail. Aki > On 25 February 2019 19:56 Kunal A. <kunal.oa at gmail.com> wrote: > > > Hi, > Yes. Output ;- > > dr-xr-xr-x root root / > drwxr-xr-x root
2005 May 10
2
Manoj Shetty is out of the office. [Email checked- EMEA]
Whew... What a relief. I know the list was worried about why we could not get a hold of Manoj Shetty.... W -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Manoj Shetty Sent: Monday, May 09, 2005 12:24 PM To: asterisk-users Subject: [Asterisk-Users] Manoj Shetty is out of the office. [Email checked- EMEA] I
2019 Feb 25
2
Linking mailboxes
Dear Aki, Many thanks again. Thanks for explaining this. Very grateful for your assistance. Thanks a bunch ! Kunal On Mon, Feb 25, 2019 at 11:56 AM Aki Tuomi <aki.tuomi at open-xchange.com> wrote: > At minimum directories > > /run/media/computer/Storage/ > > need to have o+x, so you can do > > chmod o+x /run /run/media /run/media/computer /run/media/computer/Storage
2019 Feb 25
2
Linking mailboxes
Dear Aki, I have given permission to the folders Storage/Email to vmail. But the upper hierarchy is not under vmail . Full directory = /run/media/computer/Storage/Email /run/media/computer = not vmail Storage/Email = vmail How do I get this corrected ? It seems like vmail needs access through all through run/media/computer . Please excuse my ignorance as I am not very familiar with
2016 Jun 16
2
AD authentication on samba server using sssd
Well thanks. Will post it on the sssd list. On Wed, Jun 15, 2016 at 11:36 PM, Rowland penny <rpenny at samba.org> wrote: > On 15/06/16 18:24, shridhar shetty wrote: > >> I am trying to run samba with sssd service and AD authentication. >> I have joined the linux server to the AD domain using realmd and using >> sssd >> to authenticate to the AD. I am able to
2007 Nov 24
3
Query About Domain Configuration for Xen on Solaris 11 Build snv_77 i86pc
Hi All, I have installed Solaris 11 Build snv_77 on x86 box. I have been facing problem while working with Xen (xm command)... I have installed guest domain/VM/OS(Solaris 11 Build snv_77) on x86 box, using "virt-install" utility. After rebooting the host machine, my guest domain has become inactive. I am not able to perform any task on guest domain, including getting console. It
2019 Feb 25
2
Linking mailboxes
Dear Aki, Many thanks for your feedback. Its what I figured I should do but I was not sure how safe it was. Would it make sense to execute the following to /run/media/computer so that the user/group is vmail? sudo chown -R vmail:vmail to the /run folder ? Also if this practice is safe to perform? Thanks Kunal A On Mon, Feb 25, 2019 at 11:20 AM Aki Tuomi <aki.tuomi at open-xchange.com>
2009 Jun 16
8
Samba 3.0.24 on OpenWRT
Hi, We have managed to compile samba3 (v 3.0.24 that ships with openwrt/ kamizake) for our ubicom32 platform and programmed a board with it, however I am not able to access a samba share on the board. When trying to access the OpenWRT router (using the smbclient command) I get: Error NT_STATUS_CONNECTION_REFUSED The device is reachable from my linux box (otherwise I should have seen a Error
2016 Oct 13
3
NT_STATUS_NO_TRUST_SAM_ACCOUNT after temporary connectivity break to AD DC
Thanks Rowland, I have been using "idmap config xxxx : backend = rid" instead of "ad". So i understand that nothing is to be set from the windows AD side. and i am running wbinfo -t as root user. Few observations. * I have multiple Active directory DCs. And in the site where the machine is located, we have 2 ReadOnly DCs. * On capturing network packets, I observed that the
2016 Oct 13
2
NT_STATUS_NO_TRUST_SAM_ACCOUNT after temporary connectivity break to AD DC
On Thu, 13 Oct 2016 19:13:25 +0530 shridhar shetty <shridhar.sanjeeva at gmail.com> wrote: > That is what I said. > I have been using backend = rid. > The last smb.conf you posted had this line: idmap config xxxx : backend = ad Rowland
2012 Feb 29
2
peer probe fails
Hi, Unable to do peer probe... and unable to figure out whats the reason from the gluster log. can someone help ? 1) This is what i was trying... gluster> peer probe llm19.in.ibm.com Probe unsuccessful Probe returned with unknown errno 107 gluster> peer probe 9.124.111.25 Probe unsuccessful Probe returned with unknown errno 107 gluster> peer status Number of Peers: 1 Hostname:
2019 Feb 25
2
Linking mailboxes
> On 25 February 2019 17:56 Kunal A. via dovecot <dovecot at dovecot.org> wrote: > > > Hey Guys! > Many thanks for your feedback. I have kind of gotten it to work but I just struggling to get the permissions of the folder correct. Highly appreciate if someone could help me set the correct permission settings for it . Terribly sorry for my ignorance. > > My error msg