search for: 13,13

Displaying 20 results from an estimated 30 matches for "13,13".

Did you mean: 23,13
2005 Mar 11
5
sample function
Hi everyone, I need help. I want to have a "uniform" kind distribution. When I used sample function I got almost twice many zeros compared to other numbers. What's wrong with my command ? temp <-sample(0:12, 2000, replace=T,prob=(rep(1/13,13))) hist(temp) Thanks in advance, Taka,
2017 Oct 09
3
example of geom_contour() with function argument
...30 years ago, and can no longer run off to the instructor :-( I apologize but I cut and paste the wrong snippet earlier and made a typo in doing so, but the result is the same with the more appropriate snippet. require(mvtnorm) require(ggplot2) set.seed(1234) xx <- data.frame(rmvt(100, df = c(13, 13))) v <- ggplot(data = xx, aes(x = X1, y = X2, z = dmvt, df = c(13,13))) v + geom_contour() Don't know how to automatically pick scale for object of type function. Defaulting to continuous. Error: Aesthetics must be either length 1 or the same as the data (100): x, y, z, df I do not un...
2017 Oct 09
0
example of geom_contour() with function argument
...gt; function which calculates a KDE (that is, something from the dataset in the > example). Can you please point to the specific example that might help? > > Here is what I get: > > require(mvtnorm) > require(ggplot2) > set.seed(1234) > xx <- data.frame(rmvt(100, df = c(13, 13))) > > > v <- ggplot(faithfuld, aes(waiting, eruptions, z = drmvt, df = c(13,13))) > v + geom_contour() > > Don't know how to automatically pick scale for object of type function. > Defaulting to continuous. > Error: Aesthetics must be either length 1 or the sa...
2017 Oct 09
2
example of geom_contour() with function argument
...ow to provide a pdf in place of the density function which calculates a KDE (that is, something from the dataset in the example). Can you please point to the specific example that might help? Here is what I get: require(mvtnorm) require(ggplot2) set.seed(1234) xx <- data.frame(rmvt(100, df = c(13, 13))) v <- ggplot(faithfuld, aes(waiting, eruptions, z = drmvt, df = c(13,13))) v + geom_contour() Don't know how to automatically pick scale for object of type function. Defaulting to continuous. Error: Aesthetics must be either length 1 or the same as the data (5625): x, y, z, df Can...
2017 Oct 09
0
example of geom_contour() with function argument
library(mvtnorm) # you were misusing "require"... only use require if you plan to library(ggplot2) # test the return value and fail gracefully when the package is missing set.seed( 1234 ) xx <- data.frame( rmvt( 100, df = c( 13, 13 ) ) ) xx2 <- expand.grid( X1 = seq( -5, 5, 0.1 ) # all combinations... could be used to fill a matrix , X2 = seq( -5, 5, 0.1 ) ) # compute density as a function of the grid of points xx2$d <- dmvt( as.matrix( xx2[,1:2] ) ) # feels weird not specifyin...
2023 Mar 16
1
[PATCH v3 08/11] vdpa: Add eventfd for the vdpa callback
...ops->set_vq_cb(vdpa, index, &cb); > ops->set_vq_num(vdpa, index, virtqueue_get_vring_size(vq)); > > diff --git a/include/linux/vdpa.h b/include/linux/vdpa.h > index 10bd22387276..94a7ec49583a 100644 > --- a/include/linux/vdpa.h > +++ b/include/linux/vdpa.h > @@ -13,10 +13,13 @@ > * struct vdpa_calllback - vDPA callback definition. > * @callback: interrupt callback function > * @private: the data passed to the callback function > + * @irq_ctx: the eventfd for the callback, user can signal > + * it directly instead of running t...
2007 Aug 07
1
.call file and logging
..." If $alerts is "Zap/g1/7022" Then: # tail /var/log/asterisk/cdr-csv/Master.csv "","7021","s","custom-NOTIFY","""IT"" <7021>","Zap/2-1","","Hangup","","2007-08-07 13:30:19","2007-08-07 13:30:19","2007-08-07 13:30:26",7,7,"ANSWERED","DOCUMENTATION" If $alerts is "SIP/4053" Then: # tail /var/log/asterisk/cdr-csv/Master.csv "","7021","s","custom-NOTIFY",""&quo...
2017 Apr 26
2
[BUG] OpenSSL function has been deprecated
...will throw an error. Not sure how to send patches, I don't even know if the patch I wrote actually works (I don't program in C, but gave it a shot anyway) but below is the patch. --- a/src/lib-ssl-iostream/iostream-openssl-params.c +++ b/src/lib-ssl-iostream/iostream-openssl-params.c @@ -13,13 +13,21 @@ generate_dh_parameters(int bitsize, buffer_t *output, const char **error_r) { DH *dh; unsigned char *p; - int len, len2; + int len, len2, success; +#if OPENSSL_VERSION_NUMBER >= 0x00908000L + success = DH_generate_parameters_ex(dh, bitsize, DH_GENERATOR, NULL); +#else...
2012 Apr 30
2
Matrix transposition
Hi everyone. I want to transpose a data frame. Lets say the following DF: df = data.frame(matrix(ncol=4, nrow = 10)) df[,1] = c(rep(1,5),rep(2,5)) df[,2] = c(rep('a',4),rep('b',3),rep('c',3)) df[,3] = c(letters[5:14]) df[,4] = runif(10) I would like to form a data frame with each line corresponding to colon X1 and create a variable with columns X2 and X3. This would
2019 Jul 16
1
[PATCH v2 2/3] drm: plumb attaching dev thru to prime_pin/unpin
...ram_driver_gem_prime_unpin(struct drm_gem_object *gem) +void drm_gem_vram_driver_gem_prime_unpin(struct drm_gem_object *gem, + struct device *dev) { struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index d0c01318076b..505893cfac8e 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -196,7 +196,7 @@ int drm_gem_map_attach(struct dma_buf *dma_buf, { struct drm_gem_object *obj = dma_buf->priv; - return drm_gem_pin(obj); + return drm_gem_pin(obj, attach->dev); } EXPORT_S...
2019 Jul 16
1
[PATCH v2 2/3] drm: plumb attaching dev thru to prime_pin/unpin
...ram_driver_gem_prime_unpin(struct drm_gem_object *gem) +void drm_gem_vram_driver_gem_prime_unpin(struct drm_gem_object *gem, + struct device *dev) { struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index d0c01318076b..505893cfac8e 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -196,7 +196,7 @@ int drm_gem_map_attach(struct dma_buf *dma_buf, { struct drm_gem_object *obj = dma_buf->priv; - return drm_gem_pin(obj); + return drm_gem_pin(obj, attach->dev); } EXPORT_S...
2019 Jul 16
1
[PATCH v2 2/3] drm: plumb attaching dev thru to prime_pin/unpin
...ram_driver_gem_prime_unpin(struct drm_gem_object *gem) +void drm_gem_vram_driver_gem_prime_unpin(struct drm_gem_object *gem, + struct device *dev) { struct drm_gem_vram_object *gbo = drm_gem_vram_of_gem(gem); diff --git a/drivers/gpu/drm/drm_prime.c b/drivers/gpu/drm/drm_prime.c index d0c01318076b..505893cfac8e 100644 --- a/drivers/gpu/drm/drm_prime.c +++ b/drivers/gpu/drm/drm_prime.c @@ -196,7 +196,7 @@ int drm_gem_map_attach(struct dma_buf *dma_buf, { struct drm_gem_object *obj = dma_buf->priv; - return drm_gem_pin(obj); + return drm_gem_pin(obj, attach->dev); } EXPORT_S...
2010 Jul 16
0
Mixed Conditional Logit with nested data
...1,0,0 1,7,B,0,0,1,0,0,1,0,0,0,1 1,8,A,1,0,0,1,1,0,0,0,1,0 1,8,B,0,0,1,0,0,1,0,0,0,1 1,9,A,1,0,1,0,1,0,0,1,0,0 1,9,B,0,0,0,1,0,1,0,0,1,0 1,10,A,1,1,0,0,1,0,0,0,1,0 1,10,B,0,0,0,1,0,0,1,1,0,0 1,11,A,1,0,1,0,0,1,0,1,0,0 1,11,B,0,0,0,1,1,0,0,0,0,1 1,12,A,1,1,0,0,0,1,0,1,0,0 1,12,B,0,0,1,0,0,0,1,0,1,0 1,13,A,0,0,0,1,0,0,1,0,1,0 1,13,B,1,1,0,0,0,1,0,0,0,1 1,14,A,0,0,0,1,0,0,1,0,0,1 1,14,B,1,0,1,0,1,0,0,1,0,0 1,15,A,1,1,0,0,1,0,0,0,1,0 1,15,B,0,0,0,1,0,1,0,0,0,1 1,16,A,1,1,0,0,0,0,1,1,0,0 1,16,B,0,0,1,0,0,1,0,0,1,0 1,17,A,1,0,1,0,1,0,0,0,1,0 1,17,B,0,0,0,1,0,0,1,1,0,0 1,18,A,1,1,0,0,1,0,0,1,0,0 1,18,B,...
2004 Sep 14
1
Re: got pointer wrong in shared klibc binary
...$(INTERP_O): interp.S $(SOLIB).hash $(CC) $(CFLAGS) -D__ASSEMBLY__ -DLIBDIR=\"$(SHLIBDIR)\" \ -DSOHASH=\"`cat $(SOLIB).hash`\" \ -c -o $@ $< diff -urpN klibc-0.173/klibc/arch/ppc64/MCONFIG klibc/klibc/arch/ppc64/MCONFIG --- klibc-0.173/klibc/arch/ppc64/MCONFIG 2002-08-13 13:34:47.000000000 +0930 +++ klibc/klibc/arch/ppc64/MCONFIG 2004-09-15 09:22:01.452221449 +0930 @@ -9,3 +9,10 @@ OPTFLAGS = -Os -fomit-frame-pointer BITSIZE = 64 + +# Extra linkflags when building the shared version of the library +# This address needs to be reachable using normal inter-module...
2017 Oct 09
0
example of geom_contour() with function argument
...erts may have someone who knows the answer. > > > > > > I have the following example code: > > > > > > > > > > > > require(mvtnorm) > > > require(ggplot2) > > > set.seed(1234) > > > xx <- data.frame(rmvt(100, df = c(13, 13))) > > > ggplot(data = xx, aes(x = X1, y= X2)) + geom_point() + > geom_density2d() > > > > > > > > > > > > It yields a scatterplot of X2 against X1 and a KDE contour plot of the > > > density (as it should). > > > > > >...
2011 Sep 12
1
nested anova<-R chrashing
...ifelse(clone=="021",3,4)))) plant1<-as.factor(ifelse(plant==1,1,ifelse(plant==2,2,ifelse(plant==3,3,ifelse(plant==4,4,ifelse(plant==5,5,ifelse(plant==6,6, ifelse(plant==7,7,ifelse(plant==8,8,ifelse(plant==9,9,ifelse(plant==10,10,ifelse(plant==11,11,ifelse(plant==12,12, ifelse(plant==13,13,ifelse(plant==14,14,ifelse(plant==15,15,ifelse(plant==16,16,ifelse(plant==17,17,ifelse(plant==18,18, ifelse(plant==19,19,ifelse(plant==20,20,ifelse(plant==21,21,ifelse(plant==22,22,ifelse(plant==23,23,ifelse(plant==24,24, ifelse(plant==25,25,ifelse(plant==26,26,ifelse(plant==27,27,ifelse(plant...
2017 Oct 09
2
example of geom_contour() with function argument
...but I thought that this > > list of experts may have someone who knows the answer. > > > > I have the following example code: > > > > > > > > require(mvtnorm) > > require(ggplot2) > > set.seed(1234) > > xx <- data.frame(rmvt(100, df = c(13, 13))) > > ggplot(data = xx, aes(x = X1, y= X2)) + geom_point() + geom_density2d() > > > > > > > > It yields a scatterplot of X2 against X1 and a KDE contour plot of the > > density (as it should). > > > > My question is: is it possible to change the...
2012 Aug 21
7
[RFC-v3 0/5] vhost-scsi: Add support for host virtualized target
From: Nicholas Bellinger <nab at linux-iscsi.org> Hi folks, This is the third RFC for vhost-scsi patches against mainline QEMU v1.1 to support the upstream tcm_vhost host virtualized target driver now available in v3.6-rc kernel code. This series is based upon last week's commit 346fe0c4c0b, and is aiming for a future QEMU v1.3 merge. The patch series is available directly from:
2012 Aug 21
7
[RFC-v3 0/5] vhost-scsi: Add support for host virtualized target
From: Nicholas Bellinger <nab at linux-iscsi.org> Hi folks, This is the third RFC for vhost-scsi patches against mainline QEMU v1.1 to support the upstream tcm_vhost host virtualized target driver now available in v3.6-rc kernel code. This series is based upon last week's commit 346fe0c4c0b, and is aiming for a future QEMU v1.3 merge. The patch series is available directly from:
2012 Sep 07
12
[PATCH 0/5] vhost-scsi: Add support for host virtualized target
From: Nicholas Bellinger <nab at linux-iscsi.org> Hello Anthony & Co, This is the fourth installment to add host virtualized target support for the mainline tcm_vhost fabric driver using Linux v3.6-rc into QEMU 1.3.0-rc. The series is available directly from the following git branch: git://git.kernel.org/pub/scm/virt/kvm/nab/qemu-kvm.git vhost-scsi-for-1.3 Note the code is cut