search for: minval

Displaying 14 results from an estimated 14 matches for "minval".

Did you mean: einval
2005 Jul 05
0
lowess output looks wrong (PR#7891)
...ced a similar problem and reported it under ID 4459. > > # Data to reproduce... > R <- c(3.0, 3.5, 4.5, 5.0, 10.0) > T <- R > T <- 1.5*T + 0.1*(T^2) > > # Bug in lowess (third y value is wrong in lowess output)... > xin <- log2(R) > yin <- log2(T) > minVal <- min (xin, yin) > maxVal <- max (xin, yin) > plot (xin, yin, xlim=c(minVal, maxVal), ylim=c(minVal, maxVal)) > lines (lowess(xin, yin, f = 2/3, iter = 3)) > text(3.5, 2, "3rd lowess point is wrong.", col="red") > text(3.5, 1.75, "Click for next graph....
2012 Jan 10
1
error in Recursive
Hi I need help in the recursive problem. this is my code #Generate two random Numbers minval=20 maxval=100 cutoffValue=50 optVal<- function(cutoffValue,minval,maxval) { x=runif(2) x=x*cutoffValue for( i in 1:2) { if(x[i] < 30 || x[i] >60) # checking it falls between the range { optVal(cutoffValue,minval,maxval) } } return(x) } optVa...
2007 Sep 04
4
Q: selecting a name when it is known as a string
...arching everywhere I could think of, I haven't been able to find the trick. I have this piece of code: ... attach(d) if (ORDINATE == 'ds') { lo <- loess(percent ~ ncms * ds, d, control=loess.control(trace.hat = 'approximate')) grid <- data.frame(expand.grid(ds=MINVAL:MAXVAL, ncms=MINCMS:MAXCMS)) ... then there several almost-identical "if" statements for different values of ORDINATE. For example, the next "if" statement starts with: ... if (ORDINATE == 'dsl') { lo <- loess(percent ~ ncms * dsl, d, control=loess.control(trace...
2012 Jan 17
1
arules "killed"
..., I recently got a bizarre message when running arules. It just said "Killed" and quit. Anyone know why this might have happened? I am running R on an AWS quad xl ubuntu instance. Here is some information, including dataset size and the parameters: parameter specification: confidence minval smax arem aval originalSupport support minlen maxlen 0.0003581251 0.1 1 none FALSE TRUE 3.581251e-05 2 4 target ext rules FALSE algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE apriori - find associatio...
2008 Mar 06
2
R code for selecting places spatially and by time
Hi all The code of trying to write relates to selecting properties (given by x and y co-ordinates) spatially (distance "X" from "infected" properties identified by date) over a certain time period. i.e. what properties are within 3 km from properties infected on "2008-01-01" over the last 14 days. Is any one able to give me some clues on how to write code to solve
2011 Mar 09
2
No response after click the "show Rules" button on Tab "Associate".
...50 1st Qu.:1 1st Qu.:2.667 Median :0.1250 Median :1 Median :4.000 Mean :0.1314 Mean :1 Mean :3.983 3rd Qu.:0.1250 3rd Qu.:1 3rd Qu.:4.000 Max. :0.3750 Max. :1 Max. :8.000 Summary of the Execution of the Apriori Command: parameter specification: confidence minval smax arem aval originalSupport support minlen maxlen target ext 0.8 0.1 1 none FALSE TRUE 0.1 1 10 rules FALSE algorithmic control: filter tree heap memopt load sort verbose 0.1 TRUE TRUE FALSE TRUE 2 TRUE apriori - find association rules with the...
2007 Mar 23
1
objects of class "matrix" and mode "list"?
...cs tmp <- function(x) { # this function will accept a data frame # and return a 1-row data frame of # max value, colname of max, min value, and colname of min return(data.frame(maxval=max(apply(x,2,max)), maxloc=names(x)[which.max(apply(x,2,max))], minval=min(apply(x,2,min)), minloc=names(x)[which.min(apply(x,2,min))])) } # Now applying function to data: # (1) split the data table by Day with split() # (2) apply the tmp function defined above to each data frame from (1) # using lapply() # (3) transpose the final matrix and c...
2000 Dec 08
0
Bounded Density Estimation
...There is some discussion in the density estimation book by Azzalini, but none in the book by C Loader (creator of locfit). Also, the variables that I am working on are bounded on both sides, not just on the left (ie constrained to be positive). I have tried the following transformation: log(x-minval) - log(maxval-x) = x' but with no good results. Is there a way to use variable kernels or bandwidths to address this? As a test case, I was looking at a square of random points (ie even random distribution), hoping to get a flat density estimation. As expected, it drops down at the edges, an...
2004 Jun 10
1
overhaul of mle
...t = "sqrt", "abssqrt", "lik") added code and options to plot labels of confidence levels (logical plot.confstr, character confstr) added add= argument (to draw profiles on an existing plot) added arguments for color of minimum values, confidence limits, profile (col.minval, col.conf, col.prof) added options for confidence interval: when applied to an mle object, method "spline" does the previous behavior (profile and apply confint to the result). Method "quad" simply presents the quadratic approximation to the confidence intervals. Method &quot...
2005 Oct 14
11
[Bug 1104] Compile error "ldLL" not declared in strtonum.c under Tru64 Unix 4.0f
...l/ssl/lib Libraries: -lcrypto -lrt -lz -lsecurity -ldb -lm -laud Compilation fails with: cc: Error: strtonum.c, line 55: In this statement, "ldLL" is not declared. (undeclared) else if ((ll == LLONG_MIN && errno == ERANGE) || ll < minval) --------------------------------^ *** Exit 1 Stop. *** Exit 1 Stop. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2019 May 15
0
Wine release 4.0.1
...rency(9) returns .9.00 (period in front) 46465 Visual Studio 2015 crashes on unimplemented function msvcp140.dll._Equivalent 46481 strftime has a buffer overflow 46482 Gas Guzzlers Combat Carnage crashes when changing screen resolution 46485 PBM_STEPIT crashes with division by zero when MinVal == MaxVal == 0 46493 Functions ilogb* are not implemented 46494 64bit WinMerge crash after clicking "About WinMerge" 46499 Multiple games crash in GetRawInputData when exiting(House Party, Murderous Pursuits, ICEY) 46520 Kindred Spirits on the Roof crashes 46536 Empire Eart...
2019 Feb 04
0
Wine release 4.1
...emented function msvcp140.dll._Equivalent 46469 Only the first XInput controller is detected in wine 4.0 46479 64-bit mono crashes in RtlAddGrowableFunctionTable 46482 Gas Guzzlers Combat Carnage crashes when changing screen resolution 46485 PBM_STEPIT crashes with division by zero when MinVal == MaxVal == 0 46488 Diablo 2 LoD: Direct3D regression: Unhandled exception: Access_violation (c0000005) 46489 ClrMamePro crashes on update attempt 46494 64bit WinMerge crash after clicking "About WinMerge" 46499 Multiple games crash in GetRawInputData when exiting(House Party...
2012 Jul 31
3
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
...integer :: i, j, k real, volatile :: start, finish call init_array call cpu_time(start) do i = 1, nx do j = 1, nz C(i,j) = 0 do k = 1, ny C(i, j) = C(i, j) + A(i, k) * B(k, j) enddo enddo enddo call cpu_time(finish) print *, sum(C), maxval(C), minval(C) call flush() contains subroutine init_array implicit none integer :: i, j do i = 1, nx do j = 1, ny A(i, j) = (1 + mod((i * j), 1024)) / 2.0 enddo enddo do i = 1, ny do j = 1, nz B(i, j) = (1 + mod((i * j), 1024)) / 2.0 enddo enddo end subrou...
2012 Jul 31
0
[LLVMdev] [DragonEgg] Mysterious FRAME coming from gimple to LLVM
...ray > > call cpu_time(start) > > do i = 1, nx > do j = 1, nz > C(i,j) = 0 > do k = 1, ny > C(i, j) = C(i, j) + A(i, k) * B(k, j) > enddo > enddo > enddo > > call cpu_time(finish) > > print *, sum(C), maxval(C), minval(C) > call flush() > > contains > > subroutine init_array > implicit none > > integer :: i, j > > do i = 1, nx > do j = 1, ny > A(i, j) = (1 + mod((i * j), 1024)) / 2.0 > enddo > enddo > > do i = 1, ny > do j = 1, n...