similar to: R Help

Displaying 20 results from an estimated 5000 matches similar to: "R Help"

2008 Sep 02
1
installation problem: package 'mgcv' could not be loaded
Hello all, i'm a newbie of R trying to make some statistical work in R environment. Now i have to laptops, one is Thinkpad X40 with Debian Lenny and the other is Thinkpad T43 with Ubuntu 8.10. Recently i met such problem and am wondering if anybody can do some help. After upgrading my /etc/apt/sources.list , i install R by apt-get install command. It works fine in both laptops. Then i
2008 Sep 02
1
installation problem: package 'mgcv' could not be loaded
Hello all, i'm a newbie of R trying to make some statistical work in R environment. Now i have to laptops, one is Thinkpad X40 with Debian Lenny and the other is Thinkpad T43 with Ubuntu 8.10. Recently i met such problem and am wondering if anybody can do some help. After upgrading my /etc/apt/sources.list , i install R by apt-get install command. It works fine in both laptops. Then i
2001 Oct 11
2
Where's MVA?
Hi All: Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources. Best wishes, ANDREW tseries: Package for time series analysis Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6 Depends: ts, mva, quadprog Date: 2001-08-27 Author: Compiled by Adrian
2010 Jun 01
1
TSA package dependencies
In Ubuntu 10.04, from the R command line install.packages('TSA',dep=TRUE) downloads & installs about 100 packages from CRAN, including some big ones like Zelig. It's only supposed to depend on leaps, locfit, mgcv, & tseries & through them akima, lattice, quadprog, zoo, & stats. Not a big problem of course, but I wondered if anyone else had noticed this behaviour.
2004 Apr 05
1
GAM with Locfit components
Hi, I?m trying to combine the Locfit Package with the Mgcv package (to use Generalized Additive Models with Locfit components). I read the book written by Clive Loader where it?s said that, for the S language, you just have to "load" the locfit package using the command : Library(locfit, first="T") in order to use locfit components in an additive model. But I can?t. I guess
2010 Mar 12
1
Problem installing new packages
Hi everyone, Using R 2.10.1 on Windows Vista. DOWNLOADED PACKAGES DO NOT INSTALL. I expect to see them in C:\Program Files\R\R-2.10.1\library These files download (see below). And they are all in zip format. What am I doing wrong? Please help. All suggestions appreciated. trying URL 'http://cran.cnr.Berkeley.edu/bin/windows/contrib/2.10/RColorBrewer_1.0-2.zip' Content type
2008 May 15
5
Inconsistent linear model calculations
Readers, Using version 251 I tried the following command: lm(y~a+b,data=datafile) Resulting in, inter alia: ... coefficients (intercept) a 1.2 3.4 Packages installed: acepack ace() and avas() for selecting regression transformations adlift An adaptive lifting scheme algorithm akima Interpolation of irregularly spaced
2010 Dec 14
2
Use generalised additive model to plot curve
Readers, I have been reading 'the r book' by Crawley and think that the generalised additive model is appropriate for this problem. The package 'gam' was installed using the command (as root) install.package("gam") ... library(gam) > library(gam) Loading required package: splines Loading required package: akima > library(mgcv) This is mgcv 1.3-25 Attaching
2005 Sep 20
1
Shy Suggestion?
The R-exts manual says about 'Suggests' field in package DESCRIPTION: "The optional `Suggests' field uses the same syntax as `Depends' and lists packages that are not necessarily needed." However, this seems to be a suggestion you cannot refuse. If you suggest packages: (a line from DESCRIPTION): Suggests: MASS, ellipse, rgl, mgcv, akima, lattice This is what happens:
2006 Feb 10
1
3-d splinefun
hello, is it possible to do something like splinefun(x,y), but with a 3rd dim? for example, if i have a 2-dim system like: x<-1:100 y<-rexp(100,1) func<-splinefun(x,sort(y)) func(n) # returns interpolated value of y (after sorting) given x=n # i can check this by: plot(x,sort(y)) lines(spline(x,sort(y))) Can i do the same thing with an x,y, and z? i have found the akima
2010 Oct 24
1
140 packages in R Commander!!
Dear List I just downloaded and installed R 2.12.0 and then installed R Commander . First it got RCmdr and Car, and then suggested for other packages for utilizing the full functionality- I clicked yes! I got 140 packages installed!!! Cran Mirror was UCLA... Here is the list. Is this intentional- I can see some packages like snow and multicore which are desirable but quite optional.(see list
2010 Jun 10
2
Capturing buffered output from Rterm
In MS Windows I a) invoke Rterm from a batch file (test.bat) b) to execute commands from a script (m:\test.rsc) c) capturing output in a log file (m:\test.log) BUT if the script results in an error the error message is NOT written to the log file, leaving me problems when the error is from a complicated function. Simplified example:. test.bat ------------------------ REM ensure
2010 Feb 22
4
Alternatives to linear regression with multiple variables
I wonder if someone can give some pointers on alternatives to linear regression (e.g. Loess) when dealing with multiple variables. Taking any simple table with three variables, you can very easily get the intercept and coefficients with: summary(lm(read_table)) For obvious reasons, the coefficients in a multiple regression are quite different from what you get if you calculate regressions for
2011 Mar 31
1
R packages "Demography installing Error In Ubuntu 10.04"
Dear lists: I could not calculate what is wrong with my installing. Could you help me to find the solution? Thanks. Following are the installing screen massages: install.packages("demography") 将程序包安装入‘/home/zzk/R/i686-pc-linux-gnu-library/2.12’ (因为‘lib’没有被指定) --- 在此連線階段时请选用CRAN的鏡子 --- 载入Tcl/Tk接口... 完成 also installing the dependencies ‘akima’, ‘rgl’, ‘misc3d’, ‘quadprog’, ‘zoo’, ‘locfit’,
2005 Oct 05
1
how do I write Rd file for this?
Dear R-devel, I'm working on Prof. Loader's new version of locfit to try to get it pass R CMD check. I'm almost there, but I have a problem with some Rd files that I hope some one can help me resolve. Here's an example: In the package there's a function called locfit.censor(). This function can be used in a few different ways: locfit.censor(x, y, cens, ...)
2009 Nov 20
1
AKIMA: z values at a set coordinate
Dear all. I am using the akima function to produce 3d contour plots using interp based on irregular data. using the eg in the akima manual library("akima") data(akima) plot(y ~ x, data = akima, main = "akima example data") with(akima, text(x, y, formatC(z,dig=2), adj = -0.1)) ## linear interpolation akima.li <- interp(akima$x, akima$y, akima$z) image (akima.li, add=TRUE)
2006 Feb 01
1
akima 0.4-5, interpp() bug = COMMON block problem
Hi, I'm currently hunting a bug in the akima library, especially in the code behind the interpp.old function (bi-variate linear interpolation). It is based on a triangulation algorithm, interpolation at a given point needs to know the triangle which contains this point, then the interpolation is a straightforward calculation based on the three vertexes. The problem is: Sometimes the triangle
2010 Jan 26
1
sp package coordinates and gridded problems with as.list()
Dear All I hope that someone can help. I am working with sp pakage and akima library("akima") library(sp) imagine lots of different dataframes, of row = 100 columns = 3 of x and y coordinates with z values I will call these data frames for the sake of this example akima akima<-as.list(1:100) producing 100 dataframes dataframes of the form akima[[i]] I then wish to interp this
2011 Sep 20
2
Multivariate spline regression and predicted values
Hello, I am trying to estimate a multivariate regression of Y on X with regression splines. Y is (nx1), and X is (nxd), with d>1. I assume the data is generated by some unknown regression function f(X), as in Y = f(X) + u, where u is some well-behaved regression error. I want to estimate f(X) via regression splines (tensor product splines). Then, I want to get the predicted values for some new
2006 Jan 02
1
An embarrassment of riches
I have a dataset which I am trying to smooth, using locally weighted regression. The y values are count data, integers with Poisson distribution, and it is important for the regression function to know this, since assuming a Gaussian distribution will lead to substantial errors. It is a time series; the x values have equal five minute intervals. Here is the problem: I have an embarrassment