search for: maxvalu

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

Did you mean: maxval
2009 Aug 20
1
Understanding R code
What is 1. par.ests <- optimfit$par 2. fisher <- hessb(negloglik, par.ests, maxvalue=maxima); 3. varcov <- solve(fisher); 4. par.ses <- sqrt(diag(varcov)); Thanks a lot, fit.GEV <- function(maxima) { sigma0 <- sqrt((6. * var(maxima))/pi) mu0 <- mean(maxima) - 0.57722 * sigma0 xi0 <- 0.1 theta <- c(xi0, mu0, sigma0) #10/5/2007: removed assign() for maxima.nl...
2008 Jan 06
1
Error: missing value where TRUE/FALSE needed
Can any explain the following error: Error in if ((seedCount <= seedNumber) && (valueDiff > sup)) { : missing value where TRUE/FALSE needed which I get upon running this script: seedNumber <- 10 seeds <- array(dim = seedNumber) seedCount <- 1 maxValue <- 100 sup <- maxValue / 2 fcsPar <- array(as.integer(rnorm(100, 50, 10))) while (seedCount <= seedNumber) { for(k in 1:100) { valueDiff <- abs(fcsPar[k] - fcsPar[k+1]) if((seedCount <= seedNumber) && (valueDiff > sup)) { #error seeds[seedCount...
2008 Jan 06
1
Error .. missing value where TRUE/FALSE needed
Can any explain the following error: Error in if ((seedCount <= seedNumber) && (valueDiff > sup)) { : missing value where TRUE/FALSE needed which I get upon running this script: seedNumber <- 10 seeds <- array(dim = seedNumber) seedCount <- 1 maxValue <- 100 sup <- maxValue / 2 fcsPar <- array(as.integer(rnorm(100, 50, 10))) while (seedCount <= seedNumber) { for(k in 1:100) { valueDiff <- abs(fcsPar[k] - fcsPar[k+1]) if((seedCount <= seedNumber) && (valueDiff > sup)) { #error seeds[seedCount...
2006 Mar 01
7
Oracle Sequence & Rails
the compiler tell me it: invalid column name: INSERT INTO ago.prova_stats (cognome, nome, id, telefono) VALUES(''Medda'', ''Ivan'', :id, 70565611) where ago.prova_stats is the table used by me and that have only the columns ''cognome'',''nome'' and ''telefono''. My table hasn''t the column
2010 May 18
2
how to select rows per subset in a data frame that are max. w.r.t. a column
...easily select the maximal values per subset using "aggregate", but I can't really figure out how to select the rows in the original data frame that are associated with these maximal values. library(stats) # this returns the list with maximal values for breaks per wool/tension subset maxValues = aggregate(warpbreaks$breaks, list(wool = wool, tension = tension), max) # now i'd like the subset of the rows in warpbreaks that are associated with these maximal values Thank you in advance! Tim. [[alternative HTML version deleted]]
2009 May 15
1
[PATCH server] First round of (largely) cosmetic changes to flexchart.
...org.ovirt.charts { dateBar = new HBox(); dateBar.setVisible(true); this.container.addChild(dateBar); + this.container.addChild(chartFrame); + this.container.addChild(XAxisLabelArea); var dataPoints:Array = dataSeries.getDataPoints(); + var maxValue:Number = dataSeries.getMaxValue(); var scale:Number = maxValue; yScale.setMax(maxValue); @@ -264,12 +308,18 @@ package org.ovirt.charts { var value:Number = dataPoint.getValue(); var bar:SingleBar = new SingleBar(dataPoint,scale); + bar.setColor(C...
2006 Mar 02
1
Insert a data in Oracle with Rails
...04: invalid column name: INSERT INTO AGO.FOO (acolumn, id) VALUES(''pippolo'', :id) While with MySQL I''ve no problem using the same table!. I tell to Oracle also : CREATE SEQUENCE FOO_SEQ INCREMENT BY 1 START WITH 100 or : CREATE SEQUENCE FOO_sequence START WITH 1 MAXVALUE 9999 MINVALUE 1 NOCYCLE CACHE 200 ORDER But It doesn''t Works!. Where is the problem??? The column named ''id'' is necessary with oracle?And it must be "Auto_Increment". -- Posted via http://www.ruby-forum.com/.
2005 Nov 07
0
pk_and_sequence_for(table) bug?
...VARCHAR(150) NOT NULL, "fname" VARCHAR(60) NOT NULL, "lname" VARCHAR(80) NOT NULL, .. .. CONSTRAINT "players_pkey" PRIMARY KEY("id") ) WITH OIDS; CREATE SEQUENCE "public"."players_id_seq" INCREMENT 1 MINVALUE 1 MAXVALUE 32767 START 16 CACHE 1; Any ideas?? Jeroen
2007 Nov 17
0
Postgres sequencer and rails
Hi All, I''m wrestle with postgres database and rails. Finally it''s working but i need some explanation : So : I have a sequencer : CREATE SEQUENCE players_id_seq INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 4 CACHE 1; ALTER TABLE players_id_seq OWNER TO squash; Table : CREATE TABLE players ( id bigserial NOT NULL, firstname character varying, lastname character varying, CONSTRAINT primaery_key_players PRIMARY KEY (id) ) WITH (OIDS=FALSE); ALTER TABLE players OW...
2013 Oct 28
0
Re: [Qemu-devel] Hvmloader: Modify ACPI to only supply _EJ0 methods for PCIslots that support hotplug by runtime patching
..._package_start(offset) > + else: > + die("Unsupported directive %s" % directive) > + > + if array not in output: > + output[array] = [] > + output[array].append(offset) > + > +debug = "at end of file" > + > +def get_value_type(maxvalue): > + #Use type large enough to fit the table > + if (maxvalue >= 0x10000): > + return "int" > + elif (maxvalue >= 0x100): > + return "short" > + else: > + return "char" > + > +# Pretty prin...
2013 Apr 10
4
Formatting a USB Drive
Hi All, I have a Drobo, connected to a CentOS 6.4 box. The box sees it as /dev/sdg. I want to format it ext3 (as they dont support ext4) but when I try I get: # fdisk -u /dev/sdg WARNING: GPT (GUID Partition Table) detected on '/dev/sdg'! The util fdisk doesn't support GPT. Use GNU Parted. WARNING: The size of this disk is 17.6 TB (17592186044416 bytes). DOS partition table
2006 Oct 31
0
PSARC 2006/054 DTrace JNI Binding
...org/opensolaris/os/dtrace/LinearDistribution.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/LocalConsumer.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/LogDistribution.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/MaxValue.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/MinValue.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/NativeException.java create: usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/Option.java create: usr/src/lib/libdtrace_jni/j...
2007 Oct 08
0
Camping-list Digest, Vol 18, Issue 1
...which I had no idea > was > required, but ok). I figured out (by stepping through oci8.rb) that > the > name of the sequence should be "sessions_seq". For that I used the > following snippet: > > CREATE SEQUENCE ACS_SUPPORT.SESSIONS_SEQ > START WITH 50 > MAXVALUE 999999999999999999999999999 > MINVALUE 0 > NOCYCLE > CACHE 50 > NOORDER; > > Unfortunately, there are still problems, and here''s where I''m not sure > what''s happening: > > [2007-10-04 15:53:24] INFO WEBrick 1.3.1 > [2007-10-04 15:53...
2007 Oct 05
11
Session handling busted on Oracle
...The next problem was a missing Oracle sequence (which I had no idea was required, but ok). I figured out (by stepping through oci8.rb) that the name of the sequence should be "sessions_seq". For that I used the following snippet: CREATE SEQUENCE ACS_SUPPORT.SESSIONS_SEQ START WITH 50 MAXVALUE 999999999999999999999999999 MINVALUE 0 NOCYCLE CACHE 50 NOORDER; Unfortunately, there are still problems, and here''s where I''m not sure what''s happening: [2007-10-04 15:53:24] INFO WEBrick 1.3.1 [2007-10-04 15:53:24] INFO ruby 1.8.6 (2007-03-13) [i386-mswin32...