search for: xypoint

Displaying 9 results from an estimated 9 matches for "xypoint".

Did you mean: xpoint
2009 Jul 09
1
Creating and Using Objects in R
...finition (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 > of the point, we could define two classes, |"xypoint"| and > |"rthetapoint"|. All the `xypoint' data structures are lists with an > x-component and a y-component. All `rthetapoint' objects are lists > with an r-component and a theta-component. > > Now, suppose we want to get the x-position from either type of...
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") ypos.xypoint <- function(x) x$y print.xypoint <- function(x) { cat("xypoint\n") cat("x: ", xpos(x), " y: &quot...
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", "hel...
2004 Apr 05
0
Register Name with nmbd fails after network move
...rd_fail_register: Failed to register/refresh name MROTH<03> on subnet UNICAST_SUBNET The following is the smb.conf for your reference. # Samba config file created using SWAT # from 192.168.249.79 (192.168.249.79) # Date: 2002/01/22 14:53:16 # Global parameters [global] workgroup = XYPOINT netbios name = MROTH server string = Matt Roth's Workstation security = DOMAIN encrypt passwords = Yes password server = rogue username map = /usr/local/samba/lib/users.map load printers = No local master = No dns proxy = N...
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.o...
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...