search for: min

Displaying 20 results from an estimated 7336 matches for "min".

Did you mean: in
2017 Sep 25
1
Random Variable Generation
...add them together. However, when I attempt to assign this code to a variable, any time I use the variable, it will always give me the same numbers instead of being random every time. Is there a way I can do this so that it is random every time? Here is the code I am currently using: .35*(runif(1, min=.81, max=1.03)+runif(1, min=1.06, max=1.17)+runif(1, min=-.26, max=1.38))+.3*(runif(1, min=.36, max=.98)+runif(1, min=.76, max=.93)+runif(1, min=.52, max=1.03))+.2*(runif(1, min=.36, max=.75)+runif(1, min=.1, max=.67)+runif(1, min=.9, max=.96))+.15*(runif(1, min=.03, max=.2)+runif(1, min=.27, max=....
2007 Jan 09
3
min() return factor class values
Um texto embutido e sem conjunto de caracteres especificado associado... Nome: n?o dispon?vel Url: https://stat.ethz.ch/pipermail/r-help/attachments/20070109/d9ceecae/attachment.pl
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...- host kernel: *) Using 3.6-rc0 from target-pending/for-linus *) qemu vhost-scsi from nab's qemu-kvm.git/vhost-scsi on k.o *) Set QEMU vCPU process affinity to dedicated cpus based on 'info cpus' (as recommended by Stefan) target backstores + vhost configuration from rtsadmin/targetcli shell: /> ls backstores/rd_mcp/ o- rd_mcp ................................................. [32 Storage Objects] o- ramdisk0 .............................................. [ramdisk activated] o- ramdisk1 .............................................. [ramdisk activ...
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...- host kernel: *) Using 3.6-rc0 from target-pending/for-linus *) qemu vhost-scsi from nab's qemu-kvm.git/vhost-scsi on k.o *) Set QEMU vCPU process affinity to dedicated cpus based on 'info cpus' (as recommended by Stefan) target backstores + vhost configuration from rtsadmin/targetcli shell: /> ls backstores/rd_mcp/ o- rd_mcp ................................................. [32 Storage Objects] o- ramdisk0 .............................................. [ramdisk activated] o- ramdisk1 .............................................. [ramdisk activ...
2016 Apr 17
2
Trying to understand cut
...being told! Thank you, John values <- c((0:99),c(0.9:99.9)) sort(values) c1<-cut(values,10,include.lowest=FALSE,right=TRUE) c2<-cut(values,10,include.lowest=FALSE,right=FALSE) c3<-cut(values,10,include.lowest=TRUE,right=TRUE) c4<-cut(values,10,include.lowest=TRUE,right=FALSE) cbind(min=aggregate(values,list(c1),min),max=aggregate(values,list(c1),max)) cbind(min=aggregate(values,list(c2),min),max=aggregate(values,list(c2),max)) cbind(min=aggregate(values,list(c3),min),max=aggregate(values,list(c3),max)) cbind(min=aggregate(values,list(c4),min),max=aggregate(values,list(c4),max))...
2016 Apr 14
4
Bug in by() function which works for some FUN argument and does not work for others
...an.default(data[x, , drop = FALSE], ...) : argument is not numeric or logical: returning NA However, the same by() function works for FUN=summary, given below is the output: > by(data=mtcars, INDICES=list(mtcars$am), FUN=summary) : 0 mpg cyl disp hp Min. :10.40 Min. :4.000 Min. :120.1 Min. : 62.0 1st Qu.:14.95 1st Qu.:6.000 1st Qu.:196.3 1st Qu.:116.5 Median :17.30 Median :8.000 Median :275.8 Median :175.0 Mean :17.15 Mean :6.947 Mean :290.4 Mean :160.3 3rd Qu.:19.20 3rd Qu.:8.000 3rd Qu.:360.0 3rd...
2012 Sep 21
0
Xen 4.2.0 - CPU Frequency Scaling
...and cannot be handled independently which used to be possible with the old xen kernel. If further information would be useful please let me know. Thanks, James # xenpm get-cpufreq-para cpu id : 0 affected_cpus : 0 2 3 4 5 6 7 8 9 10 11 cpuinfo frequency : max [2000000] min [800000] cur [800000] scaling_driver : scaling_avail_gov : userspace performance powersave ondemand current_governor : ondemand ondemand specific : sampling_rate : max [10000000] min [10000] cur [20000] up_threshold : 80 scaling_avail_freq : 2000000 1500000 13000...
2016 Apr 17
3
Trying to understand cut
...being told! Thank you, John values <- c((0:99),c(0.9:99.9)) sort(values) c1<-cut(values,10,include.lowest=FALSE,right=TRUE) c2<-cut(values,10,include.lowest=FALSE,right=FALSE) c3<-cut(values,10,include.lowest=TRUE,right=TRUE) c4<-cut(values,10,include.lowest=TRUE,right=FALSE) cbind(min=aggregate(values,list(c1),min),max=aggregate(values,list(c1),max)) cbind(min=aggregate(values,list(c2),min),max=aggregate(values,list(c2),max)) cbind(min=aggregate(values,list(c3),min),max=aggregate(values,list(c3),max)) cbind(min=aggregate(values,list(c4),min),max=aggregate(values,list(c4),max))...
2016 Apr 17
0
Trying to understand cut
...; >values <- c((0:99),c(0.9:99.9)) >sort(values) >c1<-cut(values,10,include.lowest=FALSE,right=TRUE) >c2<-cut(values,10,include.lowest=FALSE,right=FALSE) >c3<-cut(values,10,include.lowest=TRUE,right=TRUE) >c4<-cut(values,10,include.lowest=TRUE,right=FALSE) >cbind(min=aggregate(values,list(c1),min),max=aggregate(values,list(c1),max)) >cbind(min=aggregate(values,list(c2),min),max=aggregate(values,list(c2),max)) >cbind(min=aggregate(values,list(c3),min),max=aggregate(values,list(c3),max)) >cbind(min=aggregate(values,list(c4),min),max=aggregate(values,list...
2016 Apr 14
0
Bug in by() function which works for some FUN argument and does not work for others
...> argument is not numeric or logical: returning NA > > However, the same by() function works for FUN=summary, given below is the > output: > > > by(data=mtcars, INDICES=list(mtcars$am), FUN=summary) > : 0 > mpg cyl disp hp > Min. :10.40 Min. :4.000 Min. :120.1 Min. : 62.0 > 1st Qu.:14.95 1st Qu.:6.000 1st Qu.:196.3 1st Qu.:116.5 > Median :17.30 Median :8.000 Median :275.8 Median :175.0 > Mean :17.15 Mean :6.947 Mean :290.4 Mean :160.3 > 3rd Qu.:19.20 3rd Qu.:8.000...
2012 Feb 14
3
execute array of functions
Hi all, I'm trying to get the min and max of a sequence of number using a loop like the folllowing. Can anyone point me to why it doesn't work. Thanks. type <- c("min","max") n <- 1:10 for (a in 1:2) { print(type[a](n)) } -- Muhammad
1999 Jul 05
1
Anomaly in MIN (MAX) ?
I have observed the following differences in the use of min/max functions between R and Splus (4.5) R (0.64.1): min(c(NA,NA,NA),na.rm=T) returns the following Warning in min(..., na.rm = na.rm) : no finite arguments to min/max; returning extreme. [1] 2147483647 S-Plus 4.5( Win32 edition) min(c(NA,NA,NA),na.rm=T) returns [1] NA The S-PLUS...
2016 Apr 15
4
Bug in by() function which works for some FUN argument and does not work for others
...r logical: returning NA >> >> However, the same by() function works for FUN=summary, given below is the >> output: >> >> > by(data=mtcars, INDICES=list(mtcars$am), FUN=summary) >> : 0 >> mpg cyl disp hp >> Min. :10.40 Min. :4.000 Min. :120.1 Min. : 62.0 >> 1st Qu.:14.95 1st Qu.:6.000 1st Qu.:196.3 1st Qu.:116.5 >> Median :17.30 Median :8.000 Median :275.8 Median :175.0 >> Mean :17.15 Mean :6.947 Mean :290.4 Mean :160.3 >> 3rd Qu.:19.20...
2010 Aug 08
0
[LLVMdev] MmapAllocator
...nitial glance over your patch, it seems to assume the existence of mmap() in some form or other. Alistair On 8 Aug 2010, at 03:05, Steven Noonan wrote: > Hi folks, > > I've been doing work on memory reduction in Unladen Swallow, and > during testing, LiveRanges seemed to be consuming one of the largest > chunks of memory. I wrote a replacement allocator for use by > BumpPtrAllocator which uses mmap()/munmap() in place of > malloc()/free(). It has worked flawlessly in testing, and reduces > memory usage quite nicely in Unladen Swallow. > > The code is...
2011 Jan 07
2
Error: unexpected string constant
I want to analize some points location using the ppp, but i have this problem: Datos=read.table("puntos_texto.txt",dec=".",sep="\t",header=T) > summary(Datos) id y x Min. : 1.0 Min. :1013581 Min. :1177842 1st Qu.: 821.2 1st Qu.:1014442 1st Qu.:1179658 Median :1641.5 Median :1014455 Median :1179670 Mean :1641.8 Mean :1014465 Mean :1179652 3rd Qu.:2462.8 3rd Qu.:1014473 3rd Qu.:1179680 Max. :3283.0 Max. :1015575...
2010 Aug 08
4
[LLVMdev] MmapAllocator
Hi folks, I've been doing work on memory reduction in Unladen Swallow, and during testing, LiveRanges seemed to be consuming one of the largest chunks of memory. I wrote a replacement allocator for use by BumpPtrAllocator which uses mmap()/munmap() in place of malloc()/free(). It has worked flawlessly in testing, and reduces memory usage quite nicely in Unladen Swallow. The code is available for review here. I&...
2005 Dec 15
1
Problem with ActionMailer -- which looks really cool!
Whatever I do to try to connect including trying different ISPs, I get the same errors, here they are: Errno::ECONNREFUSED in Events#send_my_email Connection refused - connect(2) Application Trace | Framework Trace | Full Trace /Applications/Locomotive/Bundles/rails-0.14.1-min.bundle/Contents/ Resources/ports/lib/ruby/1.8/net/protocol.rb:83:in `initialize'' /Applications/Locomotive/Bundles/rails-0.14.1-min.bundle/Contents/ Resources/ports/lib/ruby/1.8/net/protocol.rb:83:in `new'...
2017 Jun 25
2
Writing my 3D plot function
Hi all,I had a question last week on asking for a function that will help me draw three different circles on x,y,z axis based on polar coordinates (Each X,Y,Z circle are coming from three independent measurements of 1-360 polar coordinates). It turned out that there ?is no such function in R and thus I am trying to write my own piece of code that hopefully I will be able to share. I have spent some time to write some code based on the rgl library (Still not 100% sure tha...
2012 Oct 30
2
[LLVMdev] Any plan to add MIN/MAX isd node?
...ot associative neither. Thanks, Yin -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Duncan Sands Sent: Tuesday, October 30, 2012 12:38 AM To: llvmdev at cs.uiuc.edu Subject: Re: [LLVMdev] Any plan to add MIN/MAX isd node? Hi Yin, > Do you have any plan to add MIN/MAX in ISD node? > > Atomic operations have Min/Max operator already. This should > > be easy to add Min/Max node in ISD list. Because after > > converting control flow into Min/Max operator, i...
2009 Mar 10
6
Pseudo-random numbers between two numbers
I would like to generate pseudo-random numbers between two numbers using R, up to a given distribution, for instance, rnorm. That is something like rnorm(HowMany,Min,Max,mean,sd) over rnorm(HowMany,mean,sd). I am wondering if dnorm(runif(HowMany, Min, Max), mean, sd) is good. Any idea? Thanks. -james