Displaying 20 results from an estimated 3000 matches similar to: "par(ask=T) in termplot()"
2000 Oct 27
1
par(ask=T) in termplot() (PR#711)
At 11:57 25/10/00 +0100, Brian Ripley wrote:
>> Date: mer., 25 oct. 2000 12:38:55 +0200
>> From: Emmanuel Paradis <paradis@isem.univ-montp2.fr>
>
>> I think it would be nice to have par(ask=T) set by default in termplot(),
>> like it is in plot.lm().
>
>Well, it isn't really the default in plot.lm, the default for `ask' being
>
>interactive()
2002 Apr 18
2
Changing tick mark labels
Hello,
Can anyone help me out with this problem?
After performing logistic regressions and testing the significance with
likelihood ratios, I have plotted the results using "termplot". I am
wondering, how to get the names of my variables to appear on the x-axis
rather than ascending numbers?
I have used:
termplot(fm, se=T, axes=FALSE, col.se="black")
axis(1, 1:4,
2004 Jan 24
1
Enhancement to termplot()
I'd like to make the following change to termplot():
Add panel=points as an extra parameter.
Replace
if (partial.resid)
points(xx, pres[, i], cex = cex, pch = pch, col = col.res,
...)
by
if (partial.resid)
panel(xx, pres[, i], cex = cex, pch = pch, col = col.res,
...)
Also, I think, add col.smooth, span and iter as named parameters; see
below.
2002 Nov 29
1
KS for goodness of fit
Dear All,
I have two distributions which I don't their nature. I want to check whether they come from the same distribution. I know that I can use KS test however the standart function ks.test applies only the ks test for testing the difference of two samples (non-parametric). By the way the distribution are of Euclidean distances. One of observed and the other of shuffled data.
Thanks,
Ron
2003 Apr 07
3
New window for plot()
Hi,
Can anybody tell me how to open new a new window for plot()? Thanks.
Minghua
2006 Jul 15
1
termplot and ylim
Hi together,
I always get an error message with using ylim in termplot(), like this:
> x<-(1:10)
> y<-(10:1)
> l<-lm(y~x)
> termplot(l,ylim=c(1,2))
Is this a bug, or is there another possibility to do that? Especially, I would like to use term.plot() for gamlss objects.
Thanks for your help!
Andreas
--
Echte DSL-Flatrate dauerhaft f?r 0,- Euro*!
2016 Jun 28
2
termplot intervals - SE or CI?
Hello,
A reviewer queried what the intervals were on the termplot I provided in a report. The help file for termplot() suggests they're standard errors (se=T), but in the code the se.fit values from predict() are multiplied by 2, suggesting it's a rough 95% confidence interval, is that right?
Many thanks,
Eric Goodwin
Scientific data analyst | Coastal and Freshwater Group
Cawthron
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6675)
The bug exists on R-1.9.0-alpha compiled the 10/3.
Termplot has a problem if either the model only contains a single term
or if asked to plot a single term. In addition there are problems with
the option se = TRUE.
Analysis: termplot starts with
terms <- if (is.null(terms))
predict(model, type = "terms", se = se)
else predict(model, type = "terms", se = se,
2010 Aug 26
3
Using termplot() with transformations of x
Hi all
I was playing with termplot(), and came across what appears to be an inconsistency.
It would appreciate if someone could enlighten me:
> # First, generate some data:
> y <- rnorm(100)
> x <- runif(length(y),1,2)
> # Now find the log of x:
> logx <- log(x)
>
> # Now fit two models that are exactly the same, but specified differently:
> m1 <-
2002 Dec 19
2
More on scan()
Hi,
If I have a CSV file which has several comments at the top, and the data
start immediately after the line:
@DATA
Is it possible to use the scan() command to get the CSV data into R, by
only reading the lines after @DATA? If so, how can I do it?
Cheers,
Kevin
------------------------------------------------------------------------------
/* Time is the greatest teacher, unfortunately it
2004 Jan 22
1
Bug in termplot?
Hi,
Is this a bug in termplot, or (once again) do I just not understand what R
is really doing?
I am using termplot to contruct partial residual plots,
1. For all terms at once
2. One term at a time
but I get different results from these two methods. To give a concrete
example, I would have thought the top and bottom rows of the plot
constructed with the following code would be identical.
2004 Mar 18
1
termplot has problems with a single term (fix included) (PR#6679)
On Thu, 18 Mar 2004 k.hansen@biostat.ku.dk wrote:
> The bug exists on R-1.9.0-alpha compiled the 10/3.
>
> Termplot has a problem if either the model only contains a single term
> or if asked to plot a single term. In addition there are problems with
> the option se = TRUE.
I can't reproduce this in either R-devel or 1.8.1, and termplot hasn't
changed since January.
I do
2000 Feb 14
2
par(fig) problem
hello R-users,
I'd like to plot four graphics on the same page but with different
sizes. I've tried to use :
par(fig=c(0,0.5,0,0.6))
plot(fig1)
par(fig=c(0.5,1,0,0.6))
plot(fig2)
etc...
but when a figure is plotted, it erase the previous.
I've tried to pass 'new=T' to plot function but it's not possible.
What can I do ? is it a bug ?
I've already reported this a 2 or
2018 Jan 10
1
termplot intervals - SE or CI?
Thanks for your prompt reply Duncan.
I had indeed assumed they were what the help file says until observation raised doubts, which is why I queried it.
>From reading the code for termplot(), it seems that either the predict() function doesn't return the 1x standard error, or the curves plotted by the termplot() function are not 1x standard errors. If they're not 1x standard errors,
2007 Jul 02
2
termplot with uniform y-limits
Does anyone have, or has anyone ever considered making, a version of
'termplot' that allows the user to specify that all plots should have
the same y-limits?
This seems a natural thing to ask for, as the plots share a y-scale. If
you don't have the same y-axes you can easily misread the comparative
contributions of the different components.
Notes: the current version of termplot
2007 Jul 02
2
termplot with uniform y-limits
Does anyone have, or has anyone ever considered making, a version of
'termplot' that allows the user to specify that all plots should have
the same y-limits?
This seems a natural thing to ask for, as the plots share a y-scale. If
you don't have the same y-axes you can easily misread the comparative
contributions of the different components.
Notes: the current version of termplot
2012 Oct 19
1
Addition of plot=F argument to termplot
I have a suggested addition to termplot.
We have a local mod that is used whenever none of the termplot options is quite right. It
is used here almost daily for Cox models in order to put the y axis on a risk scale:
----
fit <- coxph(Surv(time, status) ~ ph.ecog + pspline(age), data=lung)
zz <- termplot(fit, se=TRUE, plot=FALSE)
yy <- zz$age$y + outer(zz$age$se, c(0, -2, 2),
2018 Jan 11
0
termplot intervals - SE or CI?
From ?termplot:
col.se, lty.se, lwd.se: color, line type and line width for the
?twice-standard-error curve? when ?se = TRUE?.
...which is findable, but might usefully also be made explicit in the definition of the se= argument.
-pd
> On 10 Jan 2018, at 23:27 , Eric Goodwin <Eric.Goodwin at cawthron.org.nz> wrote:
>
> Thanks for your prompt reply Duncan.
>
>
2009 Jan 19
1
termplot
I have used glm and stepAIC to choose a best model. I can use termplot to
assess the contribution of each explanatory variable in the glm. However
the final model after running stepAIC includes interaction terms, and when I
do termplot I get "Error in `[.data.frame`(mf, , i) : undefined columns
selected". I also see the termplot detail saying "Nothing sensible happens
for
2011 Dec 14
1
termplot & predict.lm. some details about calculating predicted values with "other variables set at the mean"
I'm making some functions to illustrate regressions and I have been
staring at termplot and predict.lm and residuals.lm to see how this is
done. I've wondered who wrote predict.lm originally, because I think
it is very clever.
I got interested because termplot doesn't work with interactive models:
> m1 <- lm(y ~ x1*x2)
> termplot(m1)
Error in `[.data.frame`(mf, , i) :