similar to: Can't load package 'lars'

Displaying 20 results from an estimated 20000 matches similar to: "Can't load package 'lars'"

2007 Aug 02
2
lasso/lars error
I'm having the exact problem outlined in a previous post from 2005 - unfortunately the post was never answered: http://tolstoy.newcastle.edu.au/R/help/05/10/15055.html When running: lm2=lars(x2,y,type="lasso",use.Gram=F) I get an error: Error in if (zmin < gamhat) { : missing value where TRUE/FALSE needed ...when running lasso via lars() on a 67x3795 set of predictors. I
2013 Mar 19
1
Lars package
Hi,   I'm using lars package to run some regression analysis and my doubt now is how can I predict my model to another dataset? Let me explain a little better: I have a dataset from which I withhold some data. With the data that wasn't withheld, I create the model. Now, what I'm not being able to do is apply the model back to the data that I withheld. Any suggestions?   Here it goes
2005 May 31
3
lars / lasso with glm
We have been using Least Angle Regression (lars) to help identify predictors in models where the outcome is continuous. To do so we have been relying on the lars package. Theoretically, it should be possible to use the lars procedure within a general linear model (glm) framework - we are particular interested in a logistic regression model. Does anyone have examples of using lars with logistic
2007 Jun 13
3
installing Rgraphviz under fedora 5
Dear list, I have a lot of troubles installing Rgraphviz. I installed graphviz 2.13 from "graphviz-2.13.20061222.0540.tar" I installed the library Rgraphviz > getBioC("Rgraphviz") Running biocinstall version 2.0.8 with R version 2.5.0 Your version of R requires version 2.0 of Bioconductor. trying URL '
2010 Dec 08
1
the output of function lars
Hi here is the code as example lars is in package lars > x<-matrix(rnorm(20*5,0,1),20,5) > bs<-matrix(sample(seq(1:10),5),5,1) > er<-rnorm(20,0,1) > y<-x%*%bs+er > lobj<-lars(x,y,type="lasso") > names(lobj) [1] "call" "type" "df" "lambda" "R2" [6] "RSS"
2003 Jun 13
1
lars - lasso problem
hello I tried to use lars() but neither with my own data nor with the sample data it works. I get in both cases the following error prompt: > data(diabetes) > par(mfrow=c(2,2)) > attach(diabetes) > x<-lars(x,y) Error in one %*% x : requires numeric matrix/vector arguments > x<-lars(x,y, type="lasso") Error in one %*% x : requires numeric matrix/vector arguments
2009 Jul 22
1
Question about the lars package
Hello, I have a question about lars package, probably basic. The returned values of lars function include R squares along the variable selection path. However, such values are always slightly different from the R squares returned by the regression function lm using the same models. Anyone know the reasons? Very important, and needs quick answers. Thanks a million! -- View this message in
2010 Apr 26
1
Problem with 'lars' package
Hi, I'm having trouble running 'lars'. When I install it I get the following warning: >install.packages('lars') Warning in install.packages("lars") : argument 'lib' is missing: using 'C:\Users\Anna\Documents/R/win-library/2.10' --- Please select a CRAN mirror for use in this session --- trying URL
2008 Feb 15
1
OT: installing the XML package - xmlOutputBufferCreateBuffer problem
Hi, first of, my apologies for the possibly off-topic message regarding a problem when installing the XML package (I meant to post at omegahat- help, but I get 404 at http://www.omegahat.org/mailman/listinfo) When installing the XML package using: install.packages("XML") everything seems to go fine... but then I try to load the package and I get: > library(XML) Error in
2007 Nov 23
1
intercept in lars fit
I am trying to extract coefficients from lars fit and can't find how to get intercept. E.g. y = rnorm(10) x = matrix(runif(50),nrow=10) X = data.frame(y,x) fit1 = lars(as.matrix(X[,2:6]),as.matrix(X[,1])) fit2 = lm(y~.,data=X) Then, if I do: > predict(fit1,s=1,mode='fraction',type='coefficients')$coef X1 X2 X3 X4 X5 0.3447570
2005 Jun 08
1
A question about lars
Hi, I am trying to use lars on my data. After getting the model and did the prediction, I compare the predicted value and the coefficients and it seems like there should be a constant term in the model. I have gone through the documentation of the lars package and I can't seem to find how to get this piece of information from the lars object. Can somebody help me? Thanks a lot! Mark
2010 Dec 06
2
How to get lasso fit coefficient(given penalty tuning parameter \lambda) using lars package
Hi, all, I am using the lars package for lasso estimate. So I get a lasso fit first: lassofit = lars(x,y,type ="lasso",normalize=T, intercept=T) Then I want to get coefficient with respect to a certain value of \lambda (the tuning parameter), I know lars has three mode options c("step", "fraction", "norm"), but can I use the \lambda value instead
2008 Oct 23
1
lars
I am trying to use the lars package in R to carry out lasso analysis. However, I am having some problems. Please could you help me with the following questions: 1) Exactly what format do x and y need to be in for cv.lars(x, y) and lars (x, y)? And what information do x and y need to contain exactly? I have tried using to test just a simple matrix of numeric values for x and a simple vector of
2012 Mar 21
1
glmnet() vs. lars()
dear all, It appears that glmnet(), when "selecting" the covariates entering the model, skips from K covariates, say, to K+2 or K+3. Thus 2 or 3 variables are "added" at the same time and it is not possible to obtain a ranking of the covariates according to their importance in the model. On the other hand lars() "adds" the covariates one at a time. My question
2007 Sep 19
1
Strange behaviour of lars method
Hi! When I apply the lars (least-angle-regression) method to my data (3655 features, only 355 data points, no I did not mistype), I observe a strange behaviour: 1) The beta values tend to grow into real high values quite fast up to a point where they overflow and get negative. The overflow is not a problem, I don't need the last part of the analysis anyway, but why do they just
2008 Nov 25
1
Problem with installed.packages (PR#13332)
Full_Name: Lars Hansen Version: 2.8.0 OS: Linux Submission from: (NULL) (70.90.201.133) Hi, Calling installed.packages() on a directory with only one package causes an error if the priority argument is set to "NA": > installed.packages(lib.loc = "/home/lhansen/R/libs", priority = "NA") Error in mat[, "Package"] : incorrect number of dimensions This
2009 Oct 27
1
lasso plot using LARS
When plotting a lars object, I cannot find a way to plot solid lines. Even when the arguments breaks=F and lty="solid" are used, the vertical lines at the break points do not plot but asterisks indicating the breaks still plot as part of each path leaving solid lines broken up by asterisks at the break points. I'm using the following code. larsfit <-
2010 Nov 05
1
Problem with 'lars' package
Hello, I have problems with 'lars' package. I found the previous post of the person who had the same issue, but the suggested solution in that post did not help me. I created the matrices: ResponseMatrix <- data.frame (GAOdecision=GAOdecision) PredictorsMatrix <- data.frame (WeaponvsNon = WeaponvsNon, ProductvsService = ProductvsService, KDuration = KDuration, BusinessSize =
2012 Mar 27
2
rgl package broke with R 2.14.2
Dear People I can't figure out how to fix this problem: rgl won't run under R 2.14.2 (it was working for me before under 2.14.0). The error message is: > library(rgl) Error : .onLoad failed in loadNamespace() for 'rgl', details: call: dyn.load(file, DLLpath = DLLpath, ...) error: unable to load shared object '/Library/Frameworks/
2012 Sep 20
1
rjags install on Ubuntu 10.04
I have been having trouble with rjags on Ubuntu 10.04 > library(rjags) Loading required package: coda Loading required package: lattice linking to JAGS 3.2.0 module basemod loaded Error : .onLoad failed in loadNamespace() for 'rjags', details: call: dyn.load(file) error: unable to load shared object '/usr/lib/JAGS/modules-3/bugs.so': /usr/lib/JAGS/modules-3/bugs.so: