Displaying 20 results from an estimated 700 matches similar to: "Changing code within a package"
2008 Mar 07
1
Trouble with R CMD check
Friends,
I changed one line of a package at the source level and then rebuilt it.
When I run R CMD check, I get an error:
installing R.css in C:/polsplineRS.Rcheck
---------- Making package polsplineRS ------------
adding build stamp to DESCRIPTION
making DLL ...
making hareall.d from hareall.c
making heftall.d from heftall.c
making lsdall.d from lsdall.c
making lspecall.d from lspecall.c
2008 Mar 05
1
Axes in polymars
Hi All,
I can't quite figure out how to change the parameters of the x and y
axes when I plot a polymars object. I want to add a scatterplot of the
data points, but the polymars plot seems to automatically set the
parameters to fit the polymars line. I've tried using plot(poly,1,fig=
c(x1,x2,y1,y2)) but have no luck. Any thoughts?
Thanks,
Ryan
2005 Dec 12
2
Bivariate Splines in R
Hi..,
is there a function in R to fit bivariate splines
?
I came across 'polymars' (POLSPLINE) and 'mars' (mda)
packages. Are these the one to use or are there other
specific commands?
Thanks.
Harsh
2006 Jul 01
4
Start Model for POLYCLASS
Dear all,
I have a question on how to set up the starting model in POLYCLASS and
make sure the terms in the starting model retained in the final
POLYCLASS model.
In the function POLYMARS, this can be done using the STARTMODEL option.
See below for example, I started with model
y= b0 + b1*X1 + b2*X2 + b3*X4 + b4*X5 + b5*X2*X5 + e
> m00 <- matrix(c(
1, NA, 0, NA, 1,
2,
2008 Mar 06
1
Installing package from source in windows
Hi all,
I am trying to install a custom package from its source using windows.
Using this guide
http://www.maths.bris.ac.uk/~maman/computerstuff/Rhelp/Rpackages.html
I've gotten to the fifth step, but I get the following error in the
command window: "'sh' is not recognized as an internal or external
command, operable program or batch file." I saw in the help archives
that
2004 Nov 17
1
need help on R
Hi,
I am working on a modeling project for PMI-Australia and interested in
using R, especially POLYMARS or PLYCLASS. I use SAS /PC on WINDOWS for
the statistical analyses including Modeling. I got R downloaded to the
system but can't figure out how to interface with SAS so that I could
use SAS datasets already in place.
Also I could not find POLYMARS on the library packages. I need to know
2003 Apr 21
2
piece wise functions
Hello,
Apologies if this question has already arised, hope you can
help me to the find the solution to this or point the place to look at.
I have a multidimensional piece-wise regression linear problem, i.e.
to find not only the regression coefficients for each "interval" but
also the beginning and ends of the intervals.
To simplify it to the one dimensional case and
two intervals,
2003 Feb 24
2
segmented regression
Hello all,
I'm trying to find out how to perform a 'segmented regression'. I have some data and the 'classical' model used is:
y(t) = a + bx(t) + cx(t)^2 + u(t) for x(t) < x(0)
y(t) = a + bx(0) + cx(0)^2 + d(x(t) - x(0)) + u(t) for x(t) > x(0)
and u(t) = rho.u(t-1) + eps
(It's a model using an ARIMA-model, in this case AR(1)-process)
The parameters to estimate here
2002 Nov 27
1
polymars package
Does the polymars library exist anymore? I see reference to it at
http://rweb.stat.umn.edu/R/doc/html/packages.html, but not on CRAN
(looked in contrib and contrib/Old).
--
Rob Schick
Ecologist
NOAA Fisheries
Santa Cruz Lab
110 Shaffer Road
Santa Cruz, CA 95060
Phone: 831.420.3960
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2002 Sep 27
2
Polymars
I've seen references to "polymars", an R implementation of Friedman's MARS
algorithm. Can anyone tell me where I might be able to find this (doesn't
seem to be in the contributed packages.
Thanks,
David
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send
2007 Dec 10
1
Multiple Reponse CART Analysis
Dear R friends-
I'm attempting to generate a regression tree with one gradient predictor and multiple responses, trying to test if change in size (turtle.data$Clength) acts as a single predictor of ten multiple diet taxa abundances (prey.data) Neither rpart or mvpart seem to allow me to do multiple responses. (Or if they can, I'm not using the functions properly.)
> library(rpart)
2004 Jul 21
2
nonparametetric bivariate regression
Hi there,
Does R has built-in codes for nonpara. bivariate regression so that I can
estimate the joint distribution of two variables as a function of some
covariates? Thanks a lot.
---------------------------------------------------
Ximing Wu
Department of Economics
University of Guelph
Guelph, Ontario, Canada, N1G 2W1
Tel: (519) 842-4120, ext 53014
Fax: (519) 763-8497
email: xiwu at
2004 Sep 01
1
error in mle
Friends
I'm trying fit a survival model by maximum likelihood estimation using this function:
flver=function(a1,a2,b1,b2)
{
lver=-(sum(st*log(exp(a1*x1+a2*x2)))+sum(st*log(hheft(exp(b1*x1+b2*x2)*t,f.heft)))
-(exp(a1*x1+a2*x2)/exp(b1*x1-b2*x2))*sum(-log(1-pheft(exp(b1*x1+b2*x2)*t,f.heft))))
}
emv=mle(flver,start=list(a1=0,a2=0,b1=0,b2=0))
where hheft and pheft are functions defined in
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
2005 Mar 14
0
polymars
Can you help me interpret the output I get with "polymars"?
I'd like to find a regression model to predict 2 dependent variables (then
called Y1 and Y2) with 2 independent variables (then called X1 and X2).
Here is the output:
polymars(responses = data[, 13:14], predictors = data[, 2:3])
Model fitting
0/1 size RSS 1 RSS 2 GCV
1 1 1 0.2486744
2009 Oct 07
0
Updates to rms package
The rms package, a replacement for the Design package, has been updated
on CRAN. The most major change is the addition of smooth calibration
curves for externally (val.surv function) or internally (calibrate.cph,
calibrate.psm) validating a survival model with right-censored data.
The polspline package is used to estimate the survival probability at a
fixed time point as a function of the
2009 Oct 07
0
Updates to rms package
The rms package, a replacement for the Design package, has been updated
on CRAN. The most major change is the addition of smooth calibration
curves for externally (val.surv function) or internally (calibrate.cph,
calibrate.psm) validating a survival model with right-censored data.
The polspline package is used to estimate the survival probability at a
fixed time point as a function of the
2007 May 10
1
anyone konw Polyclass package in R?
Hi everyone:
Polyclass is a polytomous logistic regression model using
linear splines and their tensor products. It provides estimates for
conditional class probabilities which can then be used to predict class
labels. I know there is Polyclass package in S-plus. So I'm wondering if
there is a corresponding package in R? I have been searching for it for
quite a while, but still
2003 May 08
2
approximation of CDF
Hi all,
is there any package in R capable of smooth approximation of CDF
basing on given sample?
(Thus, I am not speaking about ecdf)
In particular, I expect very much that the approximation should
subject to the property:
f(x0)<=f(x1) for x0<x1, where x0 and x1 belong to range of
the sample given.
Polynomial approximation could be OK for me as well.
P.S.
2009 Jul 16
0
Rsocp
Hi,
The following works fine:
> f
[1] 0.08 0.03 0.04
> A2
[,1] [,2] [,3]
[1,] 0.000000e+00 0.0000000000 0.000000e+00
[2,] 0.000000e+00 0.0000000000 0.000000e+00
[3,] 2.999651e-03 0.0009094342 1.945708e-03
[4,] 4.124431e-05 0.0001360390 1.203345e-05
[5,] 3.027932e-04 0.0000412920 4.668090e-04
[6,] 0.000000e+00 0.0000000000 0.000000e+00
> b2
[1] 0 0 0 0 0 0