similar to: Winsorizing Multiple Variables

Displaying 20 results from an estimated 100 matches similar to: "Winsorizing Multiple Variables"

2005 Oct 23
1
Coloring leaves, twigs and labels in plot.dendrogram()
Core developers, I couldn't find any simple way to send a vector of colors to apply to each terminal in plot.dendrogram() or plot.hclust()---I asked R-help about it a few weeks ago and didn't get any response---so I hacked that functionality into the plot.dendrgram code (see below for hacked function plus examples).... Is there any chance this functionality could be added to the
2004 Mar 12
1
plot.dendrogram and expressions
Hi, currently the "label" and "edgetext" attributes of a dendrogram are coerced to character before they are added to a plot with `text'. Is there a specific reason to do so (expect for the determination of the size of the character string to be plotted)? Otherwise one could plot the attributes directly via diff dendrogram.R /usr/src/R/src/library/stats/R/dendrogram.R
2010 Sep 21
3
Web forum - should I make one?
Hello, this might be little off-topic, but still... I have not found any official web forum for R users. Did I look good? If not, I'm sorry and shame on me! :-) Such forums are very probably the most common way to share information about all sorts of problems, to ask and get answer. See http://forums.opensuse.org/ as an example. Admins, developers, users, do You think to have such forum
2008 Jun 15
1
recursive beta with cutoffs on large data set
dear R experts: I have an academic question that borders on asking for consulting help, so I hope I am not too imposing. If I am, please ignore me. My data set has 100MB data set of daily stock returns. I want to compute rolling (recursive?) betas---either bivariate or multivariate---with respect to some other data time series. Many of these regressions are "take away the first
2010 Aug 01
3
remove extreme values or winsorize – loop - dataframe
Hi everyone! #I need a loop or a function that creates a X2 variable that is X1 without the extreme values (or X1 winsorized) by industry and year. #My reproducible example: firm<-sort(rep(1:1000,10),decreasing=F) year<-rep(1998:2007,1000) industry<-rep(c(rep(1,10),rep(2,10),rep(3,10),rep(4,10),rep(5,10),rep(6,10),rep(7,10),rep(8,10),rep(9,10), rep(10,10)),1000) X1<-rnorm(10000)
2011 Sep 28
1
removing outliers in non-normal distributions
Hello, I'm seeking ideas on how to remove outliers from a non-normal distribution predictor variable. We wish to reset points deemed outliers to a truncated value that is less extreme. (I've seen many posts requesting outlier removal systems. It seems like most of the replies center around "why do you want to remove them", "you shouldn't remove them", "it
2010 Jul 10
4
Using Ubuntu as a Server
*Hi, I want to know how can I configure R in a Ubuntu to be a server. I am planning to use R in a Windows machine with Tinn-R, but I want R running at an Ubuntu Lucid machine. How can i do this? *Atenciosamente, Leandro Marino http://est.leandromarino.com.br/Blog (Estatístico) Cel.: + 55 21 9845-7707 Cel.: + 55 21 8777-7907 [[alternative HTML version deleted]]
2008 Dec 30
3
Componentwise means of a list of matrices?
Dear useRs, I have a list, each entry of which is a matrix of constant dimensions. Is there a good way (i.e., not using a for loop) to apply a mean to each matrix entry *across list entries*? Example: foo <- list(rbind(c(1,2,3),c(4,5,6)),rbind(c(7,8,9),c(10,11,12))) some.sort.of.apply(foo,FUN=mean) I'm looking for a componentwise mean across the two entries of foo, i.e., the
2006 Feb 08
6
filter performance/optimization questions
hi i''m using htb + u32 filters, and i was wondering if there is something one can optimize at this stage. i have a lot of filters (~ 50.000 / interface, and there are two interfaces), and around 4500 classes / interface. the traffic going through this machine is something around 210-230mbit/s at 50kpps. as you can imagine, the load is pretty high. in fact (as it''s a dual xeon at
2011 Jan 25
1
dendrogram plot does not draw long labels ?
Hello, It seems that the plot function for dendrograms does not draw labels when they are too long. > hc <- hclust(dist(USArrests), "ave") > dend1 <- as.dendrogram(hc) > dend2 <- cut(dend1, h=70) > dd <- dend2$lower[[1]] > plot(dd) # first label is drawn > attr(dd[[1]], "label") <- "aaaaaaaaaaaaaaaaaa" > plot(dd) # first label is
2009 Aug 27
2
Winsorized mean and variance
Hello everybody, after searching around for quite some time, I haven't been able to find a package that provides a function to compute the Windorized mean and variance. Also I haven't found a function that computes the trimmed variance. Is there any such package around? thanks, Roberto
2010 Sep 20
1
support for caron (hacek) symbol
I am creating a Slovak translation of an interactive website ( http://mazamascience.com/OilExport/index_sk.html ) and am running into problems with R's lack of support for the caron found in the following letters: Č/č, Š/š and Ž/ž. I am using R 2.6.1 running on a recent version of CentOS. Any information about whether these characters are supported or any possible workarounds would be
2007 Mar 19
2
Can't get dropbook to work on FC6 wine
I recently upgraded to FC6, well, I actually did a clean reinstall. Anyway I did a yum install wine as root and it went through with no errors. I tried to run dropbook and it draws the window and some times the controls but it doesn't respond to mouse clicks except for the close button to which I get the not responding dialog with the force quit option which I choose. dropbook did run under
2007 Oct 25
1
meaning of "trim" in mean()
(I see this in both R-patched r43124 and R-devel r43233.) In the Argument section of ?mean: trim the fraction (0 to 0.5) of observations to be trimmed from each end of x before the mean is computed. Values outside that range are taken as the nearest endpoint. Then in the Value section: If trim is non-zero, a symmetrically trimmed mean is computed with a fraction of trim observations
2011 Aug 12
2
Plotting and quantiles
Dear R users, This is most likely very basic question but I am new to R and would really appreciate some tips on those two problems. 1) I need to plot variables from a data frame. Because of some few high numbers my graph is really strange looking. How could I plot a fraction of the samples (like 0.1 (10%), 0.2 up to for example 0.6) on x axis and values 'boundaries' (like any value
2010 Sep 13
2
The future of R - Ross Ihaka stirs discussions around the web
Hello all, There is currently a (very !) lively discussions happening around the web, surrounding the following topics: 1) Is R efficient? (scripting wise, and performance wise) 2) Should R be written from scratch? 3) What should be the license of R (if it was made a new)? Very serious people have taken part in the debates so far. I hope to let you know of the places I came by, so you might be
2011 Jul 29
5
R in Linux (Ubuntu)
Hi, I?m trying to move to ubuntu at all, but I don?t like R in Ubuntu because it runs in the terminal, so i can?t access directly to some options R gots in Windows. Is there any R can i install in ubuntu which runs in hos own prompt or terminal?? Thanks ----- Mario Garrido Escudero PhD student Dpto. de Biolog?a Animal, Ecolog?a, Parasitolog?a, Edafolog?a y Qca. Agr?cola Universidad de Salamanca
2010 Jun 01
12
Wine & Pro/Intralink
Hi My name i Lorenzo, I'm new on linux's world. I wold like to know is someone has tried to use Wine with Pro/Intralink (a PTC product). During installation...no problem. Lunching the program after installation... no results. Following, more informations: WINE Version: Wine 1.2-rc1 TERMINAL OUTPUT DURING INSTALLATION [code]icelolli at ascari:/media/PRO$ wine setup.exe icelolli at
2010 Jul 06
2
Rcmdr installation under Unbuntu installatiion errors
Unbuntu 10.04 R 2.10 I am trying to install Rcmdr and receive the following messages: The downloaded packages are in ?/tmp/RtmpzhjDZG/downloaded_packages? Warning messages: 1: In install.packages("Rcmdr", dependencies = TRUE) : installation of package 'Rmpi' had non-zero exit status 2: In install.packages("Rcmdr", dependencies = TRUE) : installation of package
2007 Feb 16
1
optim() and resultant hessian
R users; A question about optimization within R. I've been using both optim() and nlminb() to estimate parameters and all seems to be working fine. For context (but without getting into specifics - sorry), I'm working with a problem that is known to have correlated parameters, and parameter estimation can be difficult. I have a question on optim() - I'm using