search for: medpolish

Displaying 20 results from an estimated 27 matches for "medpolish".

2002 Nov 16
0
Wishlist: allow NA values in medpolish (package 'eda') (PR#2298)
...help/01a/2333.html), but no reply followed. I attach the patch that I used on my system to add this feature (including an updated help page), if it can help. Sorry, the two "diff..." lines will certainly been wrapped due to the HTML form. Frederic diff -ur R-1.6.1.old/src/library/eda/R/medpolish.R R-1.6.1/src/library/eda/R/medpolish.R --- R-1.6.1.old/src/library/eda/R/medpolish.R Mon Jan 31 21:01:52 2000 +++ R-1.6.1/src/library/eda/R/medpolish.R Sat Nov 16 15:18:07 2002 @@ -1,4 +1,5 @@ -medpolish <- function (x, eps=0.01, maxiter=10, trace.iter = TRUE) +medpolish <- function...
2003 Mar 10
1
Problem with example(medpolish) in R-devel
Today's R-devel has a problem in `example(medpolish)'. It appears that the `plot.medpolish' method is not available. Here is the output and traceback() after starting `R --vanilla': > library(eda) > example(medpolish) mdplsh> deaths <- rbind(c(14, 15, 14), c(7, 4, 7), c(8, 2, 10), c(15, 9, 10), c(0, 2, 0)) mdplsh&gt...
2018 Jan 19
1
bug fix integer overflow in medpolish function
Dear R team I noticed a bug in the "medpolish" function in the "stats" package. When I run medpolish(x), with "x" the matrix in the attached .rda file, I get this rather cryptic error: "Error in if (converged) break : missing value where TRUE/FALSE needed In addition: Warning message: In sum(abs(z), na.rm =...
2012 May 02
1
Extracting results from a median polish
Quick question from a new user to R, How do I extract my solution of a median polish matrix from R to a spreadsheet file such as .csv? >From my reading of my guide book (R for SPSS and SAS users version 2), I deduce that exporting a file to .csv would look like the following: write.csv(medpolish, file ="outfilename.csv", row.names = FALSE) , by I get the following: Error in as.data.frame.default(x[[i]], optional = TRUE) :   cannot coerce class '"function"' into a data.frame So far I've been copy/pasting segment by segment into Excel and running text2colu...
2009 Mar 22
1
data frame to array
Aloha all, I have a data frame with 4 columns. The first three are factors (f1, f2, f3) and the fourth is numeric. I'd like to explore these data using median polish. To do that I plan to use medpolish() on the matrix[f1,f2xf3], then medpolish on the resulting matrix[f2,f3]. This approach is described by Cook on page 141 of Exploring Data Tables, Trends, and Shapes. split() gets me close to where I want to be, but results in a list, rather than a matrix. How do I construct the matrix[f...
1997 May 15
4
R-alpha: A Couple of Queries
..." "library:base" > library("eda") > search() [1] ".GlobalEnv" "library:eda" "library:base" > ls(pos=2) [1] "coefficients.tukeyline" "fitted.values.tukeyline" [3] "line" "medpolish" [5] "plot.medpolish" "print.medpolish" [7] "print.tukeyline" "residuals.tukeyline" [9] "smooth" > assign("x", 10, pos=2) > ls(pos=2) [1] "coefficients.tuke...
2008 Jul 15
1
methods/namespaces/possible bug
...POSIXct* [4] plot.POSIXlt* plot.TukeyHSD plot.acf* [7] plot.data.frame* plot.decomposed.ts* plot.default [10] plot.dendrogram* plot.density plot.ecdf [13] plot.factor* plot.formula* plot.hclust* [16] plot.histogram* plot.isoreg* plot.lm [19] plot.medpolish* plot.mlm plot.ppr* [22] plot.prcomp* plot.princomp* plot.profile.nls* [25] plot.spec plot.spec.coherency plot.spec.phase [28] plot.stepfun plot.stl* plot.table* [31] plot.ts plot.tskernel* Non-visible functions are asterisked...
2010 Jan 28
0
using function boot
...3 b95-99.9 a1% 4 b95-99.9 a1% 5 b95-99.9 a1% 6 a>99.9 a1% 7 b95-99.9 a1% 8 b95-99.9 a1% 9 b95-99.9 a1% 10 b95-99.9 a1% The statistic I want to use is the median polish (I created my own function that calls function medpolish from stats package). In my function, I included a second argument for the weight as asked by the boot function. Here is my function, which basically creates the table from the two variables, divides each cell by the sum of the column to obtain percentage, does the median polish, and computes the me...
2002 Nov 17
2
Package tseries: crash for Windows version (PR#2302)
Platform: Windows 98 R version: Version 1.6.1 (2002-11-01) Package 'tseries' version: 0.9-4 Built: R 1.6.0; Win32; Mon Oct 7 14:02:38 2002) (dependanted packages 'quadprog': Built: R 1.5.1; Win32; 2002-07-03 12:20:50) I've just upgraded to R 1.6.1. By typing library(tseries) example(garch) => I've got a crash with the following message: "RGUI a causé une
2002 Nov 17
2
Package tseries: crash for Windows version (PR#2302)
Platform: Windows 98 R version: Version 1.6.1 (2002-11-01) Package 'tseries' version: 0.9-4 Built: R 1.6.0; Win32; Mon Oct 7 14:02:38 2002) (dependanted packages 'quadprog': Built: R 1.5.1; Win32; 2002-07-03 12:20:50) I've just upgraded to R 1.6.1. By typing library(tseries) example(garch) => I've got a crash with the following message: "RGUI a causé une
2015 Jul 07
3
List S3 methods and defining packages
Hi, from the man page ?methods, I expected to be able to build pairs (class,package) for a given S3 method, e.g., print, using attr(methods(print), 'info'). However all the methods, except the ones defined in base or S4 methods, get the 'from' value "registered S3method for print", instead of the actual package name (see below for the first rows). Is this normal
2011 Aug 26
1
methods() not listing some S3 plot methods...?
...lot.formula* [13] plot.function plot.gam plot.gls* [16] plot.hclust* plot.histogram* plot.HoltWinters* [19] plot.intervals.lmList* plot.isoreg* plot.lm [22] plot.lme* plot.lmList* plot.medpolish* [25] plot.mlm plot.nffGroupedData* plot.nfnGroupedData* [28] plot.nls* plot.nmGroupedData* plot.pdMat* [31] plot.ppr* plot.prcomp* plot.princomp* [34] plot.profile.nls* plot.ranef.lme* plot.ranef.lmList*...
2007 Apr 10
1
median polishing
Hi, In SPlus there is a function called "twoway" for median polishing gridded data. Is there an equivalent function in R? I have been searching for it in R help without much success. Your help is much appreciated. Cheers Sorn [[alternative HTML version deleted]]
2004 May 06
1
plot(hist.default(1:10,plot=F)) error.
Hi! How to find out which plot function is used when i call plot(hist.default(1:10,plot=F)) and all works fine ? The reason why I would like to know it is that after loading some self written R functions > plot(hist.default(1:10,plot=F)) Error in xy.coords(x, y, xlabel, ylabel, log) : x and y lengths differ > traceback() 5: stop("x and y lengths differ") 4: xy.coords(x, y,
2016 Nov 11
0
.S3methods: issue in content of info data.frame
...plot FALSE plot.histogram FALSE registered S3method for plot plot FALSE plot.HoltWinters FALSE registered S3method for plot plot FALSE plot.isoreg FALSE registered S3method for plot plot FALSE plot.lm FALSE registered S3method for plot plot FALSE plot.medpolish FALSE registered S3method for plot plot FALSE plot.mlm FALSE registered S3method for plot plot FALSE plot.ppr FALSE registered S3method for plot plot FALSE plot.prcomp FALSE registered S3method for plot plot FALSE plot.princomp FALSE registe...
2015 Jul 07
0
List S3 methods and defining packages
..."plot.hclust" "plot.histogram" stats stats stats "plot.HoltWinters" "plot.isoreg" "plot.lm" stats stats stats "plot.medpolish" "plot.mlm" "plot.ppr" stats stats stats "plot.prcomp" "plot.princomp" "plot.profile.nls" graphics stats stats &...
1999 Mar 08
1
March7th R-devel,hpux10.20,egcs-2.93.03 19990124
Hello, I just got the latest (March7) tarball from CRAN. 1).It looks like ".so" is still hardwired in the source code. in src/main/platform.h all "Unix" systems get the ".so" extention. I had to #ifdef hpux and add ".sl". 2). It picks up readline but history is still inside the comments in src/include/Platform.h, I had to manually change this in order
2015 Jul 08
0
List S3 methods and defining packages
...stogram" >>> stats stats stats >>> "plot.HoltWinters" "plot.isoreg" "plot.lm" >>> stats stats stats >>> "plot.medpolish" "plot.mlm" "plot.ppr" >>> stats stats stats >>> "plot.prcomp" "plot.princomp" "plot.profile.nls" >>> graphics...
1998 Nov 16
2
0.63 missing .pl files in etc?
...LibIndex by hand, and fixed library/eda/R/eda so that eda.sl is used instead of eda.so. This time I got > library(eda) Error: dynamic library `eda.sl' not found but when I do : > dyn.load("./library/eda/libs/eda.sl") > library(help=eda) line Robust Line Fitting medpolish Median polish smooth Median smoothing > data(presidents) presidents[is.na(presidents)] <- 0 plot(presidents) lines(smooth(presidents)) works. Any ideas on what to do so libarary works? Thans in advance, Osman osman.buyukisik at ae.ge.com -.-.-.-.-.-.-.-.-...
1998 Nov 16
2
0.63 missing .pl files in etc?
...LibIndex by hand, and fixed library/eda/R/eda so that eda.sl is used instead of eda.so. This time I got > library(eda) Error: dynamic library `eda.sl' not found but when I do : > dyn.load("./library/eda/libs/eda.sl") > library(help=eda) line Robust Line Fitting medpolish Median polish smooth Median smoothing > data(presidents) presidents[is.na(presidents)] <- 0 plot(presidents) lines(smooth(presidents)) works. Any ideas on what to do so libarary works? Thans in advance, Osman osman.buyukisik at ae.ge.com -.-.-.-.-.-.-.-.-...