search for: form2

Displaying 20 results from an estimated 99 matches for "form2".

Did you mean: form
2012 Mar 25
2
Modal dialogs getting out of focus
Hello, it is really nice to be here with the wonderful Wine community. Modal window gets out of focus if minimized and blocks any actions in the main window. I've attached and example created in Delphi called Project1. It has Form1 window with action button which opens a modal dialog called Form2. The main idea is when opened Form2 to be always on top and to be impossible to hide it behind Form1. However once that Form2 is opened if I minimize it, I have Form1 stealing modal Form2's focus and Form1's window is blocked and I have no other possibility but to kill the running program....
2007 Dec 09
1
How to read in expressions as function parameters?
...math expressions. say, if I'd like curve(3*x*x-4/x, 10, 100), I use scan() to read in the math expression form<- scan(file = "", what = character(0), n=1,strip.white = TRUE,quiet=TRUE ) then get form as a string. "3*x*x-4/x" Use parse() to convert it into expression form2<-parse(text=form) then form2=expression(3*x*x-4/x). However, curve(form2,10,100) doesn't work at all. Is there anyway to get this done? Thanks a lot! Alex [[alternative HTML version deleted]]
2011 Jun 23
0
Loops, Paste, Apply? What is the best way to set up a list of many equations?
Is there a way to apply paste to?list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4)?such that I don't have to write form1=EQ1 for all my models?(I might have a list of 20 or more)? I also need the EQs to read the formulas associated with them. For example, below, I was able to automate the name assignment but I could not figure out how to?to s...
2007 Mar 19
1
Forms lost focus in KDE
Hello, I'm testing a simple delphi application that have 3 forms. >From FORM1 (the main form) I press a button to show FORM2, then from FORM2 I press a button to show FORM3, when I close FORM3, FORM1 becomes focused instead of FORM2. Every time you close a form or a dialog the application main form becomes the active one. This only happend in KDE, allowing windows manager to control the windows. Any idea? should I repo...
2011 Jun 21
1
Setting up list of many equations for systemfit
...tions and I am trying to find a simple way to set up the list command under the package system fit. Here is the example from system fit and what I am trying to do: EQ1 <- Y1 ~ X1 + X2 + X4EQ2 <- Y2 ~ X2 + X3EQ3 <- Y3 ~ X2 + X3 + X4EQ4 <- Y4 ~ X1 + X3 + X4eqSystem <-list(form1 = EQ1, form2 = EQ2, form3 = EQ3, form4 = EQ4) #atempt 1 to "automate" above:eqSystem1 <-paste(paste("form", 1:4, sep=""), paste("EQ", 1:4,sep=""),sep="=") #attempt 2 "automate" above:eqSystem2 <-as.list(paste(paste("form", 1:...
2012 Apr 01
1
indexing in a function doesn't work?
...is the vector within the dataframe you're using to subset (should be a percentage), form 1 is the simple y~x for the plot, form 2 is y~x for regression, type is lm 1 or 2 nls ,form 3 is the formula for the nls, sx and sn are the start values for nls plotter<-function(a,b,fram,framvec,form1,form2,form3, type=1, xlm, ylm, sx=.01,sn=25){ g<-ceiling(a/b) par(mfrow=c(b,g)) num<-rep(0,a) sub.plotter<-function(i,fram,framvec,form1,form2,form3,type, xlm,ylm,var1,var2){ temp.i<-fram[framvec <=(i*.10),] plot(form1, data=temp.i, xlim=c(0,xlm), ylim=c(0,ylm), main=((i-1)*.10)) if(type...
2013 Feb 26
1
problem with nested loops
...ot;,"dat90","dat2000") for (j in 1:4) { for( i in 7:2) { form1<-as.formula(paste(Names[i],"~","lag(",Names[i],",k=-1) + lag(",Names[i],",k=-2)+ lag(",Names[1],",k=-1) +lag(",Names[1],",k=-2)")) form2<-as.formula(paste(Names[1],"~fitted(reg1)")) # reg1 <-dynlm(form1,data=Dnames[j]) # reg2 <-dynlm(form2,data=Dnames[j]) reg1 <-dynlm(form1,data=dat80) reg2 <-dynlm(form2,data=dat80) print(summary(reg1)) print(summary(reg2)) } } Thank...
2008 Apr 23
1
pdf() and histogram() in function call
...ALSE) plist<- c("a", "b" , "c", "d") for(j in plist) { filedir<- paste(dir, "/", j, ".pdf", sep="") form1<- as.formula(paste("~ ", j, " | var1", sep=" ")) form2<- as.formula(paste("~ ", j, " | var2", sep=" ")) form3<- as.formula(paste("~ ", j, " | var3", sep=" ")) pdf(filedir) histogram(form1,data=x,type="count", xlab=j,main="Histogram conditioned on the...
2006 Jan 12
5
file_column preview in multistage forms
...ge"] field in a session crashes rails. So what i cant figure out is 1) how do i reference the temporary image in my second form to show how the post will look 2) how do i re-populate the user''s choice in the first form if there is an error, or the user wants to go back and edit from form2? thanks adam
2008 Aug 12
1
[LLVMdev] A case where llvm created different cfg for same code
...nt i, j; 5 int result =0; 6 for(j=0; j+2<N; ++j) { 7 //for(i=0; i<j && i+j+1<N; i++) { 8 for(i=0; i<j && i<N-j-1; i++) { 9 A[i+j+1][j] = A[j + 2][j-i] + i; 10 } 11 } 12 13 for (i=0; i<N-2; ++i) 14 for (j=0; j<N; ++j) 15 result ^= A[i][j]; 16 return result; 17 } Form2: 1 #define N 10 2 int test(int A[N][N]) 3 { 4 int i, j; 5 int result =0; 6 for(j=0; j+2<N; ++j) { 7 for(i=0; i<j && i+j+1<N; i++) { 8 //for(i=0; i<j && i<N-j-1; i++) { 9 A[i+j+1][j] = A[j + 2][j-i] + i; 10 } 11 } 12 13 for (i=0; i<N-2; ++i) 14 for (j=0; j<N; ++...
2010 Dec 15
0
Multinomial Analysis
...> library(mlogit) > data1 <- mlogit.data(data0, varying = NULL, choice = "y", shape = "wide") > summary(mod1 <- mlogit(y ~ 1 | ., data = data1, reflevel = "A")) Error in terms.formula(object) : '.' in formula and no 'data' argument > form2 <- paste("y", " ~ 1 | ", paste(names(data0)[-1], sep = "", + collapse = " + "), sep = "", collapse = "") > summary(mod2 <- mlogit(as.formula(form2), data = data1, reflevel = "A")) Call: mlogit(formula = as.formula(...
2008 Aug 12
0
[LLVMdev] A case where llvm created different cfg for same code
...nt i, j; 5 int result =0; 6 for(j=0; j+2<N; ++j) { 7 //for(i=0; i<j && i+j+1<N; i++) { 8 for(i=0; i<j && i<N-j-1; i++) { 9 A[i+j+1][j] = A[j + 2][j-i] + i; 10 } 11 } 12 13 for (i=0; i<N-2; ++i) 14 for (j=0; j<N; ++j) 15 result ^= A[i][j]; 16 return result; 17 } Form2: 1 #define N 10 2 int test(int A[N][N]) 3 { 4 int i, j; 5 int result =0; 6 for(j=0; j+2<N; ++j) { 7 for(i=0; i<j && i+j+1<N; i++) { 8 //for(i=0; i<j && i<N-j-1; i++) { 9 A[i+j+1][j] = A[j + 2][j-i] + i; 10 } 11 } 12 13 for (i=0; i<N-2; ++i) 14 for (j=0; j<N; ++...
2007 Aug 14
0
Panel data and imputed datasets
...country", time="year") pdata.frame(data4, "country", time="year") pdata.frame(data5, "country", time="year") #Using mitools, combine the panel data frames 1-5 allhiv <- imputationList(list(data1,data2,data3,data4,data5)) #A test regression form2<-APIPolSupport~subnatexpoftotal+adultprev.lag+pressfreedom #The following is something I tried but which didn't work. estimateHIV1 <-with(allhiv, plm(form2, data=imputations[1:5,])) ---------- Nathan A. Paxton Ph.D. Candidate Dept. of Government, Harvard University Resident Tutor John...
2007 Sep 03
1
unnumbered priorities
...uot;unnumbered priorities"(n) in extensions.What is the different between these 2 forms of extensions.conf? and ,Are both true? extensions.conf: form1: [Conferencerooms] exten => 333,1,Answer exten => 333,n,meetme(8000|cim) exten => 333,n,playback(vm-goodbye) exten => 333,n,hangup form2: [Conferencerooms] exten => 333,1,Answer exten => 333,2,meetme(8000|cim) exten => 333,3,playback(vm-goodbye) exten => 333,4,hangup I'd appreciate any help. Regards. --------------------------------- Luggage? GPS? Comic books? Check out fitting gifts for grads at Y...
2011 Nov 15
2
Regular expressions in R
Good afternoon list, I have the following character strings; one with spaces between the maths operators and variable names, and one without said spaces. form<-c('~ Sentence + LEGAL + Intro + Intro / Intro1 + Intro * LEGAL + benefit + benefit / benefit1 + product + action * mean + CTA + help + mean * product')
2006 Mar 09
7
how to make two forms on the same page???
I can get the forms to be displayed, but i want to have only one "create" button. i''ve tried everything i can think of... -- Posted via http://www.ruby-forum.com/.
2007 Jul 14
2
Using Helpers inside a Controller
...splayed, there will be an asynchronous javascript request to load additional resources such as html forms and other data. The controller which handles the request will collect the resources and send them back in json format. def get_resources data=Hash.new data[:form1]=form_helper1() data[:form2]=form_helper2() ...etc.... render :text data.to_json, :layout=>false end This works great if I''m loading up the data hash with pure data, but I can''t collect html elements such as forms that require helpers because I can''t call the helper inside of the controller...
2008 Aug 13
4
[LLVMdev] A case where llvm created different cfg for same code
...autoesl.com> wrote: > >> > Hi, >> > >> > The following two segments of code are actually the same, >> > but llvm created different cfg for them. >> > >> > ... > >> > >> > The prime difference is that: cfg of form2 has additional basic block >> > which has a back edge to a non-header-block >> > I think the loop in that cfg is not canonical. >> > >> > I tried -loopsimplify and -indvars , but no improvement. >> > >> > Any comments for this? Thanks in advance...
2016 Jun 16
0
Unable to mount a USB DVD drive
....864033] scsi 6:0:0:0: CD-ROM HL-DT-ST RW/DVD_GCC-T10N 1.01 PQ: 0 ANSI: 0 Jun 15 18:41:37 tesla kernel: scsi 6:0:0:0: CD-ROM HL-DT-ST RW/DVD_GCC-T10N 1.01 PQ: 0 ANSI: 0 Jun 15 18:41:37 tesla kernel: [ 914.867503] sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Jun 15 18:41:37 tesla kernel: [ 914.867517] cdrom: Uniform CD-ROM driver Revision: 3.20 Jun 15 18:41:37 tesla kernel: [ 914.867814] sr 6:0:0:0: Attached scsi generic sg2 type 5 Jun 15 18:41:37 tesla kernel: sr 6:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Ju...
2009 Apr 21
4
My surprising experience in trying out REvolution's R
...r(j in 1:m) pp[, j] <- as.vector( x[, , j] %*% b + z[, , j] %*% ran[ ,j] ); pp <- exp(pp)/( 1+exp(pp) ); y <- runif(m*n); ifelse(y<pp, 1, 0); } ################# quadratic.form <- function(A, x) { return( as.vector(x %*% A %*% x) ) } quadratic.form2 <- function(A, x) { x <- chol(A) %*% x; colSums(x*x) } ####################################################################### REML.b.D.u <- function(b, D.u, x, y, z, n.iter) { u.mean.initial <- array( 0, c(n.random, m) ); TT <- matri...