search for: preplot

Displaying 15 results from an estimated 15 matches for "preplot".

Did you mean: replot
2010 Jan 25
1
locfit questions/problems
...the code for one sided smoothing and change point analysis (p. 110-112). The code, after loading locfit: midp<-(1945:1988)+0.5 fitl<-locfit(thickness~left(year), data=penny, alpha=c(0,10), deg=1, ev=midp) fitr<-locfit(thickness~right(year),data=penny, alpha=c(0,10), deg=1, ev=midp) plot((preplot(fitr)-preplot(fitl))^2, type="b") the error message crops up after the plot command and is: Error in preplot(fitr) - preplot(fitl) : non-numeric argument to binary operator looking at preplot(fitr0 and preplot(fitl) shows a list with numeric values. Any suggestions on how to resolve...
2008 Jul 09
1
plot gam "main effect functions" in one graph
Dear R users, I have a question about the plot with the package gam. I need to plot different main effect functions, related to different gam models, in the same graphics (i.e. the same covariate about different models). I used the plot.gam e preplot.gam documentations. Using preplot.gam I can plot the single function but I'm not able to put all the functions together. Does anybody can help me. Thank you in advance. Pancrazio Bertaccini, PhD student, Universit? di Torino - Department of Statistics and Applied Mathematics
1999 Aug 23
0
smcp.shar (was linking object files)
...cott, Multivariate Density Estimation, p234,276): > midp <- (1945:1988)+0.5 > fitl <- locfit(thickness~left(year), data=penny,alpha=c(0,10),deg=1,ev=midp) > fitr <- locfit(thickness~right(year),data=penny,alpha=c(0,10),deg=1,ev=midp) To plot Delta-hat(t)^2 in S+ 5.0, > plot((preplot(fitr)-preplot(fitl))^2, type="b") In R, that would have to be > pr <- knots(fitr,what="coef") > pl <- knots(fitl,what="coef") > plot(midp,(pr-pl)^2,type="b") (when I package my current version of locfit, it allows the user to specify a set...
2009 Dec 08
1
coefficients of each local polynomial from locfit
...nd uses interpolation to predict any other points. I would like to know the terms of the polynomials at these points. It seems likely that they are stored in [locfit object]$eva$coef but I'm having trouble making sense of that list. That list is the second argument passed into the C function spreplot called from preplot.locfit.raw if that helps. Thanks, David [[alternative HTML version deleted]]
2005 Oct 06
1
Simple question.....
Hi all user R, My simple question is...I have a vector of names of predictors, text<-c("datem","cola","eslom")...I try to plot the model with this predictor in sequence loop...., for(i in 1:3){ png(paste("fig_",i,sep="")) plot(preplot.gam(mod9)[[i]],se=T,rug=F,main="",xaxt="n",ylab="",xlab="") axis(1,as.numeric(text[i]),as.character(text[i]),cex.axis=.9) dev.off() } But the line with function axis get error Error in axis(side, at, labels, tick, line, pos, outer, font, vfont, lty, :...
2002 Apr 03
0
Another question on locfit
...0 0.0 0.8 0.0 0.0 0.0 1.0 swt rsc 6228.0 0.0 When I tried locfit with ev="tree", lk, df1, df2, rsc are changed, so I think there is the problem!! If I use the predict() function, I get also an error message: > pre <- predict.locfit(fit, mat) Error in preplot.locfit.raw(object, newdata, where, what, band) NA/NaN/Inf in foreign function call (arg 2) But here the problem could be the newdata parameter. I don't know an other way to get around of this problems to get what I need. Also when I change the xlim to c(0,100) I get for the fitted(...
2003 Nov 22
0
: how to plot smooth function estimate from gam (mgcv package) in other program
Hi all, I would like to export the smooth function estimate I got from gam to plot it in another graphics software. In S-plus I use the function preplot() for that, but it seems not to work in R. Has somebody an idea how to solve that? Thanks Stephanie ******************************** Stephanie von Klot Institut f?r Epidemiologie GSF - Forschungszentrum f?r Umwelt und Gesundheit Ingolst?dter Landstr. 1 85764 Neuherberg Germany
2004 Oct 12
1
locfit confidence intervals
hi, after m=locfit(y~x,..........., family=binomial) plot(m,band="local") gives me a plot of locfit's result with a confidence interval around it. i would like to get the actual values that are being used to plot the lines in this figure. i tried using predict, but the standard error it returns when i supply the se=T argument, appears not to be the same as the CI produced by
1998 Aug 28
0
R-beta: R-0.62.3 is released
...NGES file: CHANGES IN R VERSION 0.62.3 NEW FEATURES o preserve factor levels and contrast settings in model objects o factor[...,drop=T] reduces level set o added dblepr, intpr o do_modelmatrix(model.c): Set rownames from data argument. o New generic function preplot(). o A new R BATCH interface for non-interactive execution. o Added `offline' argument to help() for producing hardcopy via latex and dvips. o glm.fit.null now calculates AIC and print.glm.null prints it o effects.lm implemented o new class "mlm" for...
1998 Aug 28
0
R-beta: R-0.62.3 is released
...NGES file: CHANGES IN R VERSION 0.62.3 NEW FEATURES o preserve factor levels and contrast settings in model objects o factor[...,drop=T] reduces level set o added dblepr, intpr o do_modelmatrix(model.c): Set rownames from data argument. o New generic function preplot(). o A new R BATCH interface for non-interactive execution. o Added `offline' argument to help() for producing hardcopy via latex and dvips. o glm.fit.null now calculates AIC and print.glm.null prints it o effects.lm implemented o new class "mlm" for...
2007 Aug 17
2
for plots
Hi, All, I am a beginner for R. Now I have installed R 2.5.1 in Window environment. After I run a program such as "gam" I would like to display a plot for the object. The following is an example. When I did this, only the last plot was presented on my screen. How can I get a plot before the last plot? I mean if the object has several plots how can I get those? "gam.object <-
2011 Mar 31
1
R packages "Demography installing Error In Ubuntu 10.04"
...e -fpic -std=gnu99 -O3 -pipe -g -c math.c -o math.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c minmax.c -o minmax.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c pcomp.c -o pcomp.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c preplot.c -o preplot.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c prob.c -o prob.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c procv.c -o procv.o gcc -I/usr/share/R/include -fpic -std=gnu99 -O3 -pipe -g -c scb.c -o scb.o gcc -I/usr/share/R/include...
2000 Feb 22
2
Some problems with R and/or locfit
...sr/lib/R/include/R_ext -mieee-fp -fPIC -O2 -m486 -fno-strength-reduce -g -c weight.c -o weight.o gcc -shared -o /usr/lib/R/library/locfit/libs/locfit.so S_enter.o adap.o band.o density.o family.o fitted.o frend.o kappa0.o kdtree.o lfstr.o linalg.o locfit.o math.o minmax.o nbhd.o odint.o pcomp.o preplot.o random.o scbmax.o simul.o startlf.o vari.o wdiag.o weight.o -L/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66 -L/usr/i386-redhat-linux/lib -lg2c -lm /usr/bin/ld: cannot open -lg2c: No such file or directory <------ HERE IS WHERE IT REALLY SEEMS TO HAVE PROBLEMS collect2: ld returned 1 exit st...
2000 Feb 17
2
Installation of rpm file on Suse Linux 6.2 (PR#449)
...ary/base/help/precip action: create D: file: /usr/local/lib/R/library/base/help/predict action: create D: file: /usr/local/lib/R/library/base/help/predict.glm action: create D: file: /usr/local/lib/R/library/base/help/predict.lm action: create D: file: /usr/local/lib/R/library/base/help/preplot action: create D: file: /usr/local/lib/R/library/base/help/presidents action: create D: file: /usr/local/lib/R/library/base/help/pressure action: create D: file: /usr/local/lib/R/library/base/help/pretty action: create D: file: /usr/local/lib/R/library/base/help/print action: create D:...
2002 Jul 11
1
dyn.load tcl/tk (PR#1774)
...html latex example precip text html latex example predict text html latex example predict.glm text html latex example predict.lm text html latex example preplot text html latex presidents text html latex example pressure text html latex example pretty text html latex example print text htm...