Displaying 20 results from an estimated 10000 matches similar to: "problem with using lines command on windows XP machine"
2007 Feb 14
1
how to report logistic regression results
Dear all,
I am comparing logistic regression models to evaluate if one predictor
explains additional variance that is not yet explained by another predictor.
As far as I understand Baron and Li describe how to do this, but my question
is now: how do I report this in an article? Can anyone recommend a
particular article that shows a concrete example of how the results from te
following simple
2006 Mar 10
2
Plot.date and legends
Hi:
I'm trying to plot dates on the x-axis of a code, but the legend is not being
displayed. I receive the following error:
Error in match.arg(x, c("bottomright", "bottom", "bottomleft", "left", :
'arg' should be one of bottomright, bottom, bottomleft, left,
topleft, top, topright, right, center
In addition: Warning message:
longer
2007 Jan 28
2
Adding lines to xYplot
I am using xYplot to plot data and CIs. How do I add several lines to
the figure?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400 Charlottesville, VA 22904-4400
Parcels: Room 102 Gilmer Hall
McCormick Road Charlottesville, VA 22903
Office: B011 +1-434-982-4729
Lab: B019
2006 Apr 13
2
a question on subset a dataset
Dear R-users,
I generate a dataset "d", and want to get a subset from it.
**
*z<-rnorm(9)
coords<-cbind(x=c(1,1,1,2,2,2,3,3,3),y=c(1,2,3,1,2,3,1,2,3))
d<-SpatialPointsDataFrame(coords, data.frame (z=z[1:9]))*
The result*/dataset* is
coordinates z
1 (1, 1) 1.41173570
2 (1, 2) 0.18546503
3 (1, 3) -0.04369144
4 (2, 1) -0.21591338
5 (2, 2)
2004 Mar 08
5
abline
if I want to specify y-coordinates for the heights of horizontal lines to go across a plot.
x <- c(1,2,3,6,4,8,4,7)
y <- c(3,2,7,4,5,4,5,6)
h <- c(3,5,7)
plot(x,y)
abline(y=h)
However I got error message:
Warning message:
parameter "y" couldn't be set in high-level plot() function
(I tried abline(h=y) , it;s not what I want also)
Do u know why?
2009 Feb 03
2
Lattice histogram with vertical lines
I would like to add some vertical lines to a lattice plot of histograms.
What I am after is a lattice version of abline(v = 1234). The lattice
histogram plot is just:
histogram( ~ LTSE | approach, data = arrivals)
Can anyone point me in the right direction for this?
David Scott
_________________________________________________________________
David Scott Department of Statistics
The
2009 Jan 14
2
Package
Hello, My name is edwin, I come from Indonesia, Can you help me,
I want package which is contain lqs and lmsreg.
I need fast...
Can you help me to create
bootstrap regression
??
Thx
Edwin
[[alternative HTML version deleted]]
2012 Sep 18
4
add reference lines (or grid) in background
Dear all,
Is there a simple way to add reference lines in background? I am trying with
abline() or grid() but the lines, since they are executed after the plot
function, are draw on top. How can I draw such lines beneath the main plot?
Here is an example:
x<-rnorm(100)
boxplot(x)
abline(h=c(-1,0,1))
grid(NA, 4, lwd = 2)
regards,
Luigi Marongiu, MSc
[[alternative HTML
2006 Mar 31
1
adding texts to plots and a problem....
Hello,
I have a problem with adding texts to my plots: The code is
/plot(dates(as.character(tam[,tkolon])),d[,i],ylab=names(d[i]),ylim=c(galt,gust),type="l")
abline(orta,0,lty=3,col=3)
text(//length(d[,i]//),0.025+(orta),expression(mu),col=3)
abline(orta+l2,0,lty=4,col=2)
text(length(d[,i]),0.025+(orta+l2),expression(+2*sigma),col=2)
abline(orta-l2,0,lty=4,col=2)
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
Hi,
I have finally installed TeachingDemos trough zip file and installed on
lbrary.
One new question:
I want to draw a line (like abline) on diagonal or the result of running a
ols.
How can I do it.
On the other hand, I want to mark the length on each sub plot y axis.
It is possible?
My function is
sca<-function(){
z2<-read.table("Ase.txt",header=T)
2006 Sep 04
1
abline and plot(augPred) help
Dear all
as I did not get any response on my post about abline and
plot(augPred)) I try again. I hope I do not break some posting guide
rules. I would try to contact package maintainer directly but there
is stated to be R-core people, so I feel R-help list shall be OK.
I need to draw straight lines through augPred plotted panels
(vertical or horizontal) at specified point. I know I shall
2009 Jun 04
3
Plot and lm
I want to make a log-log plot with a regression line, but I can't figure
out what I'm doing wrong. What I'm trying is:
plot(mass,area, log="xy", pch=as.numeric(food))
abline(lm(mass~area))
or
plot(mass,area, log="xy", pch=as.numeric(food))
islands$logmass <- log(mass)
islands$logarea <- log(area)
attach(islands)
abline(lm(logmass~logarea))
But that does
2002 May 20
1
how does one apply Western Electric / AT&T rules to R plots?
I have searched for info on how to apply the Western Electric rules for
process control, to data and plots I have in R, but I have not been able
to learn how.
Any help would be greatly appreciated.
Thank you,
sjcrauhut at agere.com
05/20/02
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2006 Feb 09
2
nice log-log plots
Dear All,
I am trying to produce log-log plots in R and I was wondering if any of you have a 'template' for generating these with 'nice' labels and log-log grids?
I know I can set up axes individually and use the intervals I want, however, I will be producing a large number of these plots and would not like to do this manually for each of them + I am very new to R and at the
2017 Sep 19
3
Graph f(x) = 1/x
Dear All: good morning
I am trying to graph the function y=f(x)=1/x over the interval (-5,5). But
I am getting an error message. Please see below.
I am getting the error message: *Error in xy.coords(x, y, xlabel, ylabel,
log) : *
* 'x' and 'y' lengths differ*
x
x <- seq(-5, 5, 0.01)
y < 1/x
plot(x,y, type='l', xlim=c(-5, 5), ylim=c(-5, 5), xlab = "x",
2006 Jul 12
1
Query : Modification of graphs
How to change the background in the plots
The e.g. for which I am working is as follows,
The R script is
################### start #######################################
amounts <-
c(21790,5669,34921.17,60152.47,47228.61,16566.13,8283,3980,5445,1000,125
0,0,1285,1222,5001,600,1950,11580,7520,7999,4850,3850,16900,6095,0,4246,
8556,8280,3020,7250,0,8807,0)
# histogram
hist(amounts)
#
2006 Aug 24
1
help: trouble using lines()
Hi R experts,
I have been using ReML as follows...
model<-lmer(late.growth~mtf+year+treat+hatch.day+hatch.day:year+hatch.day:treat+
mtf:treat+ treat:year+ year:treat:mtf+(1|fybrood), data = A)
then I wanted to plot the results of the three way interaction using
lines() as follows...
tmp<-as.vector(fixef(model))
graph1<-plot(mtf,fitted(f2), xlab=list("Brood Size"),
2011 Jun 16
1
Scatter plot produces "'x' and 'y' lengths differ"
Hello,
I am working on a project to create some scatter plots. I have syntax
for 26 plots, and 22 of them display as they should. But here, for
example, is a sample of the command syntax I am using:
good <- complete.cases(affect1,adh1scr)
plot
(jitter(affect1,2.0),jitter(adh1scr,1.0),xlim=c(1,35),ylim=c(1,35),pch=1
6,
main='Adherence Score by Affectiveness Level - Visit 1',
2005 Nov 03
1
Problems with abline adding regression line to a graph
Hello all,
R2.1.1, W2k
I try to make a plot of a simple regression model in this way:
> with(njfA_bcd, {
+ plot(TC_OS.G31,Prot,cex = 2, col = "red", xlab= "TC/OS at GS32",
+ ylab="Grain crude protein (CP)")
+ })
This part works well and produces the datapoints as red circles.
When I try to add a line, using a fitted linear model in a way
that works perfect
2009 Feb 22
3
line joining graphs
hi,
I need to draw a line joining graphs,but abline stops within a graph.What do
i do to cover portions between two graphs
--
Rajesh.J
[[alternative HTML version deleted]]