similar to: For loop with i and j and multiple if statements... help!

Displaying 20 results from an estimated 9000 matches similar to: "For loop with i and j and multiple if statements... help!"

2012 Oct 13
2
Function hatTrace in package lme4
Dear all, For a project I need to calculate the conditional AIC of a mixed effects model. Luckily, I found a reference in the R help forum for a function to be used: CAIC <- function(model) { sigma <- attr(VarCorr(model), 'sc') observed <- attr(model, 'y') predicted <- fitted(model) cond.loglik <- sum(dnorm(observed,
2011 Jul 26
1
adjusting x-axis labels
I am trying to tweak how my categorical x-axis labels are formatted in my bar graph. Specifically, I would like to a) decrease the spacing between lines (e.g. spacing between Dialium and guianensis) b) right justify the text and c) have each species name align with the center of the corresponding bar graph. A simplified version of my code thus far is as follows. I am using RStudio v.
2017 Jan 30
1
winbind -u works, getent passwd dont't work
The getent passwd works for now on my ads member, thanks a lot. I think I have an other problem. ("FOO" is the short domain) AD DC: getent passwd | tail -2 FOO\sone:*:2057:513:some one:/home/FOO/sone:/bin/false FOO\user:*:2029:513:System User:/home/FOO/user:/bin/false vs. AD Member FOO\sone:*:4294967295:4294967295:some one:/home/FOO/sone:/bin/false
2017 Jan 30
2
winbind -u works, getent passwd dont't work
on the AD DC getent passwd username works on AD member getent passwd username dones not work wbinfo works on both On 30.01.2017 12:53, L.P.H. van Belle via samba wrote: > This is all correct and by design. > Try : getent passwd username > If you running this on a Samba AD DC. > > If you want to see if you pam setup is done, run : pam-auth-update > But still you only see the
2007 Sep 28
3
Time went backwards in domU after migration
Hello gurus, I have two physical xen hosts and when I migrate a domU from one host to another, I get many of this error from domU kernel: clocksource/0: Time went backwards: delta=-3536123661 shadow=686019823475 offset=281887188 Sometimes domU time stalls and network stops working, but other times it gets working again. The two hosts are using different platform timer source:
2007 Sep 04
2
multiphasic growth curve analysis
Greetings R Help Group, How does one effect a multiphasic logistic growth model with 4 phases (e.g. Koops 1986; Weigel, Craig, Bidwell and Bates 1992; Grossman and Koops 2003) with R. Before writing to the group, the R help archives were searched, the web was searched with Google, Venables and Ripley 2002 was consulted, Pinheiro and Bates 2000 was consulted, Bates and Watts 2007 was bought and
2013 May 03
2
Find the flow data from its accumulation of the panel data
Hi, I have the panel data of income statement of several banks. The date 9803 means 1998-Q1, 9806 means 1998-Q2, etc. I transform the date code to 1 (for 1998Q1), 2 (for 1998Q2), ...., 16 (for 2011Q4) where 1, 2, .... are placed in Col1. Now the income statement of a specific quarter is actually the accumulation from the beginning of the year. For example, the cost data of 1999Q3 is the
2012 Sep 14
2
calculate within-day correlations
useRs, Here is some R-ready data for my question to follow. Of course this data is small snippet from a much larger dataset that is about a decade long. Q<-read.table(textConnection("2002 3 28 15 77.38815 2002 3 28 30 77.09505 2002 3 28 45 76.80196 2002 3 28 60 76.50887 2002 3 28 75 76.50887 2002 3 28 90 76.50887 2002 3 28 105
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
2011 Jun 21
2
par code help
I am making a barplot using barplot2 from gplots where each bar represents a specific tree species. I have formatted the species names on the x-axis so that the genus name is above the species name and have then rotated the labels 45 degrees to save room. This is my code: >columncolor<-c("grey20", "grey20", "grey20", "grey70",
2007 Dec 02
5
HA Xen cluster live migration
Hello, We have successfully implemented a 2-node HA Xen cluster with DRBD, LVM and heartbeat, that can do live migration. I wrote up some details here: http://te.to/~ts1/xen_cluster.html I''d like to say thank you to all the people writing these great software. -- Takeshi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com
2007 Dec 02
5
HA Xen cluster live migration
Hello, We have successfully implemented a 2-node HA Xen cluster with DRBD, LVM and heartbeat, that can do live migration. I wrote up some details here: http://te.to/~ts1/xen_cluster.html I''d like to say thank you to all the people writing these great software. -- Takeshi _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com
2011 May 23
2
Formatting names.arg
I am making a barplot using barplot2 from gplots and would like to format the names of my categorical variables (tree species) on the x- axis so that the genus name is above the species name (to save room). My code so far is: speciesnames<-c("Dialium guianensis", "Inga alba", "Tachigali versicolor", "Brosimum utile", "Caryocar
2020 Feb 26
1
Re: *** buffer overflow detected *** accessing invalid FD in libguestfs
On Wednesday, 26 February 2020 10:43:27 CET Richard W.M. Jones wrote: > On Wed, Feb 26, 2020 at 11:21:18AM +0200, Veselin Kozhuharski wrote: > > Hallo Rich, > > > > Here is the fd list and total number just before collectd application > > crashes. Before that the number of used fd's is constantly increasing. It > > looks like a fd leak inside libguestfs to me.
2020 Feb 24
3
*** buffer overflow detected *** accessing invalid FD in libguestfs
We have extended collectd virt plugin to extract info about disk usage from a libvirt domain using libguestfs. In addition to my previous mail I am attaching some more infomration about the problem. Currently the collectd plugin works fine and retrieves the required statistics. The problem that I face happens after certain number of cycles (getting disk usage statistics). Collectd is terminated
2005 Mar 18
4
Cant connect to samba server
Hi All, This is very urgent, please help me. I have a redhat machine (2.4.9-e.24) which is acting as a samba server (samba - 2.2.7) Everything was going smoothly until we changes the ip address of our windows machines. Now if i try to connect to the server it gives me the error: "windows cannot find '\\titan". Check the spelling and try again." I have tried connecting by
2003 Jun 12
3
unionfs related patch
G'day ... David Schultz, in his spare time, has been working through some of the issues I've been able to 'tweak' in the unionfs code ... as he is currently working on forward-patching it to -CURRENT right now, he can't commit the code to the -STABLE tree ... in order to allow others using unionfs to test the patch (I've been running it a few weeks now on a very heavily
2011 Oct 03
1
Assigning factor names to interaction plot
Hi everyone, I have the following problem: I have three variables, 'group', 'city' and 'pressure' There is an interaction effect between group and city and I'd like to show this in an interaction plot: interaction.plot(group, city, pressure, type="b", col= c(1:2), leg.bty="o", leg.bg="blue", lwd=1,
2001 Feb 04
1
Games
hi, i was wondering if it is possible to use WINE to run sone of my windows games under linux. I still have windows installed on my machine, so is it not worth running wine under linux and just running them under windows instead. Primarilly, its games like q3 and ut which i want to run, please could somebody advise me as to what to do.
2010 Jun 28
2
ask a question about list in R project
my list al is as below: mylist=list(c(2,3),5,7) > mylist [[1]] [1] 2 3 [[2]] [1] 5 [[3]] [1] 7 How could I get the following FOUR lists: First one [[1]] [1] 3 [[2]] [1] 5 [[3]] [1] 7 Second one [[1]] [1] 2 [[2]] [1] 5 [[3]] [1] 7 Third One [[1]] [1] 2 3 [[2]] [1] 7 Last one [[1]] [1] 2 3 [[2]] [1] 5 Do I have to use 'for' loops? Please give me sone suggestions! Thank you