search for: fv2

Displaying 3 results from an estimated 3 matches for "fv2".

Did you mean: f2
2011 Mar 23
1
predict.lm How to introduce new data?
...0 as test data. Training data and test data are stored in an excell. training <- read.xls("C:/...../training.xls") , the same for test. That is: v1 v2 ... v15 When I type str(training) and str(test), both sets have the same names The resulting model is lms <- lm(vd ~ log(v1) + fv2+ fv5+ fv7 ) -fvi means they were turned into factors- plms<- predict(lms, new=test ,interval="prediction") Error at model.frame.default(Terms, newdata, na.action = na.action, xlev = object$xlevels) : length of the variables are different (found for 'fv2') More: Warning...
2009 Feb 25
1
monotonic GAM with more than one term
....nofit$w, X = f.nofit$X, C = f.nofit$C, S = f.nofit$smooth[[1]]$S, off = f.nofit$off, sp = f.ug$sp, p = f.nofit$smooth[[1]]$xp, Ain = FF2$A, bin = FF2$b ) p2 <- pcls(G2) fv2<-Predict.matrix(f.nofit$smooth[[1]],data.frame(x=x))%*%p2 Many thanks -Ben
2005 Sep 04
1
.Call with C and Fortran together (PR#8122)
Full_Name: Ricardo Luiz de Andrade Abrantes Version: 2.1.1 OS: Debian Linux, kernel 2.6.8 Submission from: (NULL) (201.6.83.153) The problem can be well explained with the following example: Suppose I made a program in fortran, and a C interfacece to it. Now I want to use this C interface in R to call my fortran program. Then I modified my C file to deal with SEXPs and compile it as a shared