Displaying 9 results from an estimated 9 matches for "xypoints".
Did you mean:
xpoints
2009 Jul 09
1
Creating and Using Objects in R
Dear All,
I am not very into object-oriented programming, but I would like to
learn the ropes for some R applications.
Quoting from the online R language definition (paragraph 5.1)
> Consider the following simple example. A point in two-dimensional
> Euclidean space can be specified by its Cartesian (x-y) or polar
> (r-theta) coordinates. Hence, to store information about the location
2010 Jan 07
0
setting different environments
Hallo,
I have a set of S4 and S3 classes together in one script.
While running this script I create a lot of new functions and objects
An example for S3 and S4 classes:
## S3 classes
pt <- list(x=1,y=2)
class(pt) <- "xypoint"
xpos <- function(x, ...) UseMethod("xpos")
xpos.xypoint <- function(x) x$x
ypos <- function(x, ...) UseMethod("ypos")
2010 Feb 16
3
error : unused argument(s) when boxplot
Dear all,
I am a total beginner in R, so sorry if this is the wrong place. I am using R 2.10.1 on a Mac (Mac OS 10.6.2).
I have this small dataset :
growth sugar
75 C
72 C
73 C
61 F
67 F
64 F
62 S
63 S
I have no problem reading the table, or getting the summary, but if I try boxplot(growth~sugar, ylab="growth", xlab="sugar", data=Dataset), I have the following error :
2011 Nov 22
3
Binned line plot
I have a scatter plot with 10000 points.? I would like to add a line that bins every 50 points and connects the average of each bin.? I'm looking for something similar to line type "m" in Stata.
With this dataset of 10000 points, I would also like to bin the data and make boxplots at certain intervals, so that I have a set of boxplots to represent each bin.? I would also like the
2002 Apr 30
0
What am I doing wrong with xyplot?
...ound with R trying out some of the plotting functions when I came across
what may be a bug in xyplot or (more likely) me doing something wrong.
try this:
x<-1:10
y<-sin(x) #yes I know it's an under sampled function
xyplot(y~x)
lines(x,y) #at this point the lines do not lay on the xypoints
spline(x,y)
points(x,y) # in my installation the points(x,y) do not lay on the xyplot points
My version is the latest available from debian (Version 1.5.0 Under development (unstable)
(2002-03-30)). Does anybody else see this?
John Walker
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-....
2002 Apr 30
0
Re What am I doing wrong with xyplot?
...the two lines indicated by arrows
try this:
x<-1:10
y<-sin(x) #yes I know it's an under sampled function
-> plot(x,y) ###These two lines are required to reproduce the
-> lines(x,y) ### behaviour
xyplot(y~x)
lines(x,y) #at this point the lines do not lay on the xypoints
spline(x,y)
points(x,y) # in my installation the points(x,y) do not lay on the xyplot points
John Walker
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help...
2004 Apr 05
0
Register Name with nmbd fails after network move
Hello,
I am new to SAMBA. Originally, the WIN server and the SAMBA server
were located in the same subnet. After the migration of the Microsoft end
users subnet to 10.32.12.x, the SAMBA server is no longer able to seem
by the Windows clients in 10.32.12.x. The following is the error indicated
at /usr/local/samba/var/log.nmbd. I appreciate if anyone can guide me to
resolve the problem.
2009 Mar 05
0
(PR#13553) wishlist boxplot
...148,7 +148,7 @@
> ## Median
> xysegments(xP(x, -wntch), stats[3L],
> xP(x, +wntch), stats[3L],
> - lty = medlty[i], lwd = medlwd[i], col = medcol[i])
> + lty = medlty[i], lwd = medlwd[i], col = medcol[i], lend=1)
> xypoints(x, stats[3L],
> pch = medpch[i], cex = medcex[i], col= medcol[i], bg =
> medbg[i])
> ## Whiskers
>
>
>
> Best wishes,
> Uwe Ligges
>
--
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox...
1997 May 11
2
R-alpha: Logarithmic scales
...XP op, SEXP args, SEXP env)
{
SEXP sxl, sxr, syb, sys, col, lty, border;
double *xl, *xr, *yb, *ys;
int i, n, nxl, nxr, nyb, nys;
int ncol, nlty, nborder;
int colsave, ltysave;
GCheckState();
if(length(args) < 4) errorcall(call, "too few arguments\n");
xypoints(call, args, &n);
sxl = CAR(args); nxl = length(sxl); args = CDR(args);
syb = CAR(args); nyb = length(syb); args = CDR(args);
sxr = CAR(args); nxr = length(sxr); args = CDR(args);
sys = CAR(args); nys = length(sys); args = CDR(args);
PROTECT(col = FixupCol(GetPar("col&...