search for: blok4

Displaying 2 results from an estimated 2 matches for "blok4".

Did you mean: bloke
2010 Mar 22
1
maxNR - Error in p(a, b) : element 1 is empty; the part of the args list of '*' being evaluated was: (b, t)
...is to read the data from the website and then peform maxNR on the function, F. Btw the version of R being used is "RGui for Windows" if it helps to know this. R-code below: library(maxLik) > require(maxLik) > > x <- > read.table('http://www.math.ku.dk/kurser/2008-09/blok4/stat2/doku/data/Eksempel_6_3.txt', > header = TRUE); > t <- log(x$Koncentration); > X <- x$Status; > > p <- function(a,b) exp(a+b*t)/(1+exp(a+b*t)); > S <- sum(X); > SP <- sum(t*X); > > F <- function(a,b) { + c(sum(p(a,b)) - S, + sum(t*p(...
2007 May 24
1
"[RODBC] ERROR: Could not SQLExecDirect"
Hi, everyone, I try to run as follows: Z>library("RODBC") Z>cnct<-odbcConnectExcel("Forbes2000.xls") Z>cnct RODB Connection 1 Details: case=nochange DBQ=C:\Program Files\R\R-2.5.0\Forbes2000.xls DefaultDir=C:\Program Files\R\R-2.5.0 Driver={Microsoft Excel Driver (*.xls)} DriverId=790 MaxBufferSize=2048 PageTimeout=5 Z>sqlQuery(cnct, "select