Displaying 20 results from an estimated 13405 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=....
2020 Sep 21
2
Help with the Error Message in R "Error in 1:nchid : result would be too long a vector"
Hello everyone,
I am using *mlogit* to analyse my choice experiment data. I have *3
alternatives* for each individual and for each individual I have *9
questions*. I have a response from *516 individuals*. So it is a panel of
9*516 observations. I have arranged the data in long format (it contains
100 columns indicating different variables and identifiers).
In mlogit I tried the following
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...z memory
- 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 activated]
o- ramdi...
2012 Aug 10
1
virtio-scsi <-> vhost multi lun/adapter performance results with 3.6-rc0
...z memory
- 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 activated]
o- ramdi...
2007 Aug 07
1
lm( ) for log10-transformed data
Dear help-list,
I would like to perform a linear regression on the log10 of the two
vectors ov.mag.min and res.600nm. The slope and intercept of the
regression I use to plot a wider range of ov.mag.min in a double log plot.
For a linear regression on only tow points, wouldn't I expect the
results for two.points.min to match pretty exactly res.600nm? It does
not seem to be the case here. I ma...
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))...
2011 Jan 10
2
Step command failing for lm function
Hi,
I have a fairly simple linear regression using the lm function. There
are about 100 variables and 30,000 rows of data. It runs fine and
produces a decent looking R2 value. I'm interested in performing a
stepwise variable selection to see if things can be cleaned up a bit.
Calling the step function returns ONE iteration (all the variables) and
then stops. No errors are reported.
Can someone suggest why this might not be working as expected.
(Normally this function steps through all the va...
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...
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
2019 Jul 22
3
client min protocol = SMB2
Hello,
Thank you !
I add server min protocol = SMB2_02 to smb.cnf
All clients are now using SMB2_10 as minimum protocol version
May you indicate me the difference between "client min protocol" and
"server min protocol" ?
"server min protocol" is to use on a domain member
"client min protocol"...
2013 Mar 21
3
spatstat error
Good day
Im working with some coordinates, and want to create a PPP object, I found
that error:
> 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. :101...
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 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))...
2003 Dec 02
1
setMethod("min", "myclass", ...)
Hello,
I have defined a new class
> setClass("myclass", representation(min = "numeric", max = "numeric"))
and want to write accessor functions, so that for
> foo = new("myclass", min = 0, max = 1)
> min(foo) # prints 0
> max(foo) # prints 1
At first i created a generic function for "min"
> setGeneric("min",...
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...
2009 Aug 30
2
error with summary(vector)??
Hello,
I get
> summary(E)
level nodes ave_nodes time
Min. : 1 Min. : 1.00 Min. : 10.71 Min. : 0.0000
1st Qu.: 237414 1st Qu.: 2.00 1st Qu.: 19.70 1st Qu.: 0.0100
Median : 749229 Median : 3.00 Median : 27.01 Median : 0.0100
Mean : 767902 Mean : 49.85 Mean : 98.89 Mean : 0.2296
3rd Qu.:111...
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 behavio...
2013 Feb 12
3
improving/speeding up a very large, slow simulation
...unpaired.test(verification.plots=verification.plots,
project.n=30, project.mean=100, project.sd=10, allowed.deviation=.05,
project.acres=99)
out.unpaired.test
#
sequential.unpaired<- function(number.strata, project.n, project.mean,
project.sd, verification.plots,allowed.deviation, project.acres,
min.plots="default", alpha=.05){
if(min.plots=="default"){
min.plots<-NULL # minimum passing
if(number.strata == 1 & project.acres <= 100){
min.plots = 8
} else if(number.strata == 1 & project.acres > 100 & project.acres < 500){
min.plots = 12
} else i...
2024 Mar 26
2
Printout and saved results
...e "invisible" line. Results got saved and accessible but no
printout.
How can I have both printout and also have the results saved? Thank you!
> dstat4 <- function(data,digits=3){
+?? Mean??? <- apply(data,2,mean,na.rm=TRUE)
+?? Std.dev <- apply(data,2,sd,? na.rm=TRUE)
+?? Min <- apply(data,2,min,na.rm=TRUE)
+?? Max <- apply(data,2,max,na.rm=TRUE)
+?? Obs <- dim(data)[1]
+?? out <-round(cbind(Mean,Std.dev,Min,Max,Obs),digits)
+?? out
+ # invisible(list(Mean=Mean,Std.dev=Std.dev,Min=Min,Max=Max))
+ }
> x1<-rnorm(n=5,mean=5, sd=1)
> x2<-rnorm(n=5,...