search for: 1,60

Displaying 20 results from an estimated 170 matches for "1,60".

Did you mean: 1,6
2013 Mar 02
3
if value is in vector, perform this function
Hi, I'm trying to set up R to run a simulation of two populations in which every 3.5 days, the initial value of one of the populations is reset to 1.5. I'm simulation an experiment we did in which we fed Daphnia populations twice a week with algae, so I want the initial value of the algal population to reset to 1.5 twice a week to simulate that feeding. I've use for loops and if/else loops before but I can't figure out how to syntax...
2007 Mar 02
1
barplot with different color combination for each bar
...r, only the first column of cols is used for all columns of H as "barplot" only allows me to assign one vector for the color scheme of the entire barplot. Does anybody know a way how I can assign each bar a potentially unique color combination? Thanks for your help! Kim X <- seq(1:6) Q <- matrix(sample(X, 60, replace = T), nrow=6, byrow = T) H <- matrix(rep(1,60), nrow=6, byrow=T) color <- c("blue", "orange", "gold", "indianred", "skyblue4", "lightblue") cols <- ifelse( (Q...
2019 May 15
5
[PATCH v9 2/7] virtio-pmem: Add virtio pmem driver
...+ > + virtio_cread(vpmem->vdev, struct virtio_pmem_config, > + start, &vpmem->start); > + virtio_cread(vpmem->vdev, struct virtio_pmem_config, > + size, &vpmem->size); > + > + res.start = vpmem->start; > + res.end = vpmem->start + vpmem->size-1; nit: " - 1;" > + vpmem->nd_desc.provider_name = "virtio-pmem"; > + vpmem->nd_desc.module = THIS_MODULE; > + > + vpmem->nvdimm_bus = nvdimm_bus_register(&vdev->dev, > + &vpmem->nd_desc); > + if (!vpmem->nvdimm_bus) { > + dev...
2019 May 15
5
[PATCH v9 2/7] virtio-pmem: Add virtio pmem driver
...+ > + virtio_cread(vpmem->vdev, struct virtio_pmem_config, > + start, &vpmem->start); > + virtio_cread(vpmem->vdev, struct virtio_pmem_config, > + size, &vpmem->size); > + > + res.start = vpmem->start; > + res.end = vpmem->start + vpmem->size-1; nit: " - 1;" > + vpmem->nd_desc.provider_name = "virtio-pmem"; > + vpmem->nd_desc.module = THIS_MODULE; > + > + vpmem->nvdimm_bus = nvdimm_bus_register(&vdev->dev, > + &vpmem->nd_desc); > + if (!vpmem->nvdimm_bus) { > + dev...
2009 May 14
3
how to avoid call waiting? Or check DIALSTATUS before Dial()?
I have two internal analogue extensions off a TDM400P. If the first is busy, I'd like to ring the second. So: [incoming] exten =>s,1,Answer() exten =>s,n,Dial(${mainline},60) exten =>s,n,ExecIf($["${DIALSTATUS}" = "BUSY"]?Dial(${secondline},30)) But it doesn't work because * first tries Call Waiting on the main line. Here I dial out: -- Starting simple switch on 'DAHDI/1-1' -- E...
2003 Dec 16
0
Help w/ termplot & predict.coxph/ns
I am fitting a cox PH model w/ 2 predictors, x1 = 0/1 treatment variable and x2=continuous variable. I am using natural splines (ns) to model the effect of x2. I would like to examine the estimated effect of x2 on the hazard. I have tried various approaches (below; let model.fit= fitted model using coxph in survival library): 1. The sim...
2018 May 05
1
error in chol.default((value + t(value))/2) : , the leading minor of order 1 is not positive definite
Dear friends - I'm having troubles with nlme fitting a simplified model as shown below eliciting the error Error in chol.default((value + t(value))/2) : ? the leading minor of order 1 is not positive definite - I have seen the threads on this error but it didn't help me solve the problem. The model runs well in brms and identifies the used parameters even with fixed effects for TRT? - but here in nlme TRT is ignored and I guess this is not the reason for the said error...
2012 Aug 08
1
[PATCH] sysprep: remove the process accounting log files
...empty file, this will cause psacct runs error. Restart the service can't help us create this file auto. couldn't open file '/var/account/pacct': No such file or directory Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- po/POTFILES-ml | 1 + sysprep/Makefile.am | 4 +-- sysprep/sysprep_operation_logfiles.ml | 1 - sysprep/sysprep_operation_pacct_log.ml | 60 ++++++++++++++++++++++++++++++++++ 4 files changed, 63 insertions(+), 3 deletions(-) create mode 100644 sysprep/sysprep_operation_pacct_log.ml diff --git...
2013 Feb 01
3
[PATCH 0/2] A few Arch Linux specific changes
...by our recent switch to systemd. System V init scripts are no longer used/supported on Arch Linux and, therefore, the Arch Linux init scripts can be removed from Shorewall. The two patches that follow are based against master; if it''s possible to apply them to the upcoming Shorewall 4.5.13 as well, please do that. Many thanks. ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan
2019 Jan 13
1
[PATCH v2] drm/nouveau/volt/gf117: fix speedo readout register
GF117 appears to use the same register as GK104 (but still with the general Fermi readout mechanism). Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=108980 Signed-off-by: Ilia Mirkin <imirkin at alum.mit.edu> --- v1 -> v2: split out different regid into separate file. .../drm/nouve...
2006 Feb 05
1
how to extract predicted values from a quantreg fit?
Hi, I have used package quantreg to estimate a non-linear fit to the lowest part of my data points. It works great, by the way. But I'd like to extract the predicted values. The help for predict.qss1 indicates this: predict.qss1(object, newdata, ...) and states that newdata is a data frame describing the observations at which prediction is to be made. I used the same technique I used to extract predicted values of GAM fits with mgcv package: if I fit a GAM using x as the x variable on w...
2011 Oct 02
0
Arimax First-Order Transfer Function
Dear list members, I am a (very) recent convert to R and I am hoping you can help me with a problem I'm having. I'm trying to fit a first-order transfer function to an ARIMA intervention analysis using the "arimax" function. The data was obtained from McCleary & Hay (1980) (via Rob Hyndman's Time Series Library: http://robjhyndman.com/tsdldata/data/schizo.dat). It has 120 time points with an intervention occurring on the 60th unit. So far I've been able to run a simple zero-order intervention model , which I've done like this: Model1 <-arimax(x,or...
2009 Apr 22
0
random hangups: how to debug?
I've a TDM400 with dahdi 2.1.0.4, asterisk 1.6.1-rc5. Asterisk is randomly hanging up calls coming over the pstn. Often it happens right as the call is answered: -- Starting simple switch on 'DAHDI/4-1' [Apr 22 17:09:38] NOTICE[20123]: chan_dahdi.c:7505 ss_thread: Got event 18 (Ring Begin)... [Apr 22 17:09:40]...
2013 Jul 22
0
Turning off CFWD on an SPA112?
Hi all, I'm not sure how this happened, but one of my customers managed to turn call forwarding on on his spa112. I thought I had that turned off in the provisioning file. I have this in the provisioning file: <Cfwd_All_Serv_1_>No</Cfwd_All_Serv_1_> <Cfwd_Busy_Serv_1_>No</Cfwd_Busy_Serv_1_> And I have a similar entry for line 2. When I dial the device, I use this line to dial it...
2019 May 15
0
[PATCH v9 2/7] virtio-pmem: Add virtio pmem driver
On 15.05.19 22:46, David Hildenbrand wrote: >> + vpmem->vdev = vdev; >> + vdev->priv = vpmem; >> + err = init_vq(vpmem); >> + if (err) { >> + dev_err(&vdev->dev, "failed to initialize virtio pmem vq's\n"); >> + goto out_err; >> + } &...
2019 May 16
0
[PATCH v9 2/7] virtio-pmem: Add virtio pmem driver
On Wed, May 15, 2019 at 10:46:00PM +0200, David Hildenbrand wrote: > > + vpmem->vdev = vdev; > > + vdev->priv = vpmem; > > + err = init_vq(vpmem); > > + if (err) { > > + dev_err(&vdev->dev, "failed to initialize virtio pmem vq's\n"); > > + goto out...
2020 Aug 16
1
Accumulating CPU load from Xorg process with DRI3
? ????????? ?? Sunday 16 August 2020 07:20:18 Ilia Mirkin ???????(?): > Well, if it's easy, try the patches I mailed to nouveau@ for the ddx. I applied patches manually (copy-pasted patches failed to apply by git apply, probably whitespace/end of line issues), and now I see in X log (after I left machine to run al...
2018 Aug 01
2
Re: [PATCH v2 nbdkit 4/6] common: Add a directory for common code shared by plugins and filters.
On Wed, Aug 1, 2018 at 2:14 PM Richard W.M. Jones <rjones@redhat.com> wrote: > Currently this adds two useful header files containing functions which > will be consumed by filters in later commits. > --- > Makefile.am | 5 +++- > common/include/Makefile.am | 39 ++++++++++...
2019 Jul 31
0
Re: [PATCH] Rust bindings: Implement Event features
Hi Hiroyuki, On Tuesday, 30 July 2019 07:51:37 CEST Hiroyuki Katsura wrote: > This patch includes: > > - Event callback handlers > - Tests related to events(410-430) > --- Would it be possible to split the Handle -> Handle<'a> change in an own small patch? This way it can be documented why it was changed....
2019 Apr 03
2
[Qemu-devel] [PATCH v4 2/5] virtio-pmem: Add virtio pmem driver
On Wed, Apr 03, 2019 at 04:10:15PM +0530, Pankaj Gupta wrote: > This patch adds virtio-pmem driver for KVM guest. > > Guest reads the persistent memory range information from > Qemu over VIRTIO and registers it on nvdimm_bus. It also > creates a nd_region object with the persistent memory > range in...