search for: rescale

Displaying 20 results from an estimated 321 matches for "rescale".

2000 Dec 28
0
some (may be related) problems with windows(rescale=) (PR#795)
...ed by the R graphics engine (which is used unchanged), I expect they are correct in one of the multiple interpretations. On Thu, 28 Dec 2000 joehl@web.de wrote: > ############################################################################### > > Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version. > > Happy New Year > > > Jens Oehlschlaegel > > > ############################################################################### > > > &g...
2000 Dec 28
1
some (may be related) problems with windows(rescale=) (PR#794)
############################################################################### Before reporting 4 problems with windows(rescale=) I want to congrat on R1.2 and to thank r-developers for quickly adding the rescale workaround to the windows version. Happy New Year Jens Oehlschlaegel ############################################################################### #########################################################...
2001 Jan 10
0
Re: some problems with windows(rescale=) (PR#794)
...ngs bother you, could you please supply fixes? > > Given that I don't have much experience in C coding, given that I don't know any internals of the R graphics engine (where I think a solution would be best), given that I don't have ever compiled R for Windows (where obviously the rescale stuff happens), it is currently too expensive for me to attack that. > > What I definitely can offer is testing and giving replicable bug reports. > > Also, given that I am not a member of r-devel and that some r-devel don't think these are clearly bugs, I shrink from producing code...
2006 May 13
2
windows( ... ,rescale="fixed") bug (PR#8857)
Full_Name: Gerhard Thallinger Version: 2.3.0; 2.2.0 OS: Windows XP Submission from: (NULL) (212.183.54.87) Invoking windows() with the parameter rescale="fixed" followed by plot.new() or any other plot command causes very often the following error: windows(width=7, height=7, rescale="fixed");plot.new() Error in plot.new() : outer margins too large (fig.region too small) The values in the width and height parameters seem no...
2008 May 09
1
Rescaling a column in a matrix based on a certain rows
Hi, Let say I have this matrix: > mat<-matrix(cbind(rnorm(20),rnorm(20)), ncol = 2) And I want to rescale values of column [,1] and [,2] using values from row 1 to 5, such that the values of row 1:5 should be rescale to the same amplitude (kinda like take the z-score of population from row 1:5). column 1 and 2 are two different samples need to be compared. I hope I made myself clear enough. thanks for...
2011 Jul 25
1
Rescaling columns in a multi-plot layout
Dear all, I am trying to create a 6-plot layout - 3 rows and 2 columns - so that only the top two plots have variable widths, all else with their default setting. Using "layout(matrix(c(1,2,3,4,5,6),3,2,byrow=T),widths=c(5,2))" rescales column #2 of all three rows, whereas I would like to rescale that of only row #1. Is there a simple way of doing this? Thanks, Manojit
2006 Oct 06
1
glm and plot.effects
...difference between the following two plots of effect objects, which I understand should be different. What am I missing? require(doBy) require(effects) data(budworm) m1 <- glm(ndead/20 ~ sex + log(dose), data=budworm, weight=ntotal, family=binomial) m1.eff <- all.effects(m1) plot(m1.eff, rescale.axis = FALSE, selection = 2, main = 'rescale = F') plot(m1.eff, rescale.axis = TRUE, selection = 2, main = 'rescale = T') ********************************* R version 2.4.0 (2006-10-03) powerpc-apple-darwin8.7.0 locale: C attached base packages: [1] "grid" "too...
2012 Oct 31
3
Cannot rescale a constant/zero column error.
I am trying to run the R Script below, I have actually simplified it to just this part that is causing issues. When I run this script I continue to get an error that says "cannot rescale a constant/zero column to a unit variance". I cannot figure out what is going on here. I have stripped down my data file so it is more manageable so I can try to figure this out. The data.txt file that is being read looks like this: I have made this file very basic on purpose to see if I...
2003 Aug 15
0
Re: [R} stars graphs
...ersion to do a polar plot that starts at the right and goes counterclockwise or a 24 hour clock plot that starts at the top and goes clockwise. There are probably other varieties that would be interesting. Jim -------------- next part -------------- # scales a vector of numbers to a new range rescale<-function(x,newrange) { if(is.numeric(x) && is.numeric(newrange)) { xrange<-range(x) if(xrange[1] == xrange[2]) stop("rescale: can't rescale a constant vector!") mfac<-(newrange[2]-newrange[1])/(xrange[2]-xrange[1]) invisible(newrange[1]+(x-xrange[1])*mfac)...
2006 Jun 20
1
rescale the data into unit square?
Dear Rusers, Recently, i saw the sentence "rescale the data into unit square" for several times. Could anybody tell me what it means,and give an example? Thanks very much! -- Kind Regards, Zhi Jie,Zhang , [[alternative HTML version deleted]]
2011 Jul 13
1
Scaling in SVM
...quite poor, so training with scaled data is essential. The rescaling of the support vectors is of course quite an easy task, but what about the parameters coefs and the summand rho? Are they influenced by the optimisation with scaled data (I think they have to...)? And is there any possiblility to rescale these values? I appreciate your help! Greetings! Matthias -- View this message in context: http://r.789695.n4.nabble.com/Scaling-in-SVM-tp3664588p3664588.html Sent from the R help mailing list archive at Nabble.com.
2012 Feb 01
2
Problem with xtable- rescaling a table
Dear R users, I am new to Latex and I am using the R package xtable to generate tables. I want to produce a table that is very long. in the landscape format, but I would need to rescale the table so that it fits in the page. xtable enables me to have the landscape format, but I cannot rescale it, and there seems to be a problem, if I use scalebox in Latex on my output produced with stable and the option sidewaystable. Do you know any way to achieve this result with xtable or anoth...
2007 Nov 06
1
color2D.matplot
...,0,1,0,0) > dg = c(1,0,0,1,0) > db = c(1,0,0,0,1) I can get some color to work but I cannot get them all as if I but in a c() range equalling 0-7 (i.e. one color for each number I get the following. I cannot figure out from the documentation why it will not let me do what I want :( Error in rescale(x[segindex], redrange[c(seg, seg + 1)]) : rescale: can't rescale a constant vector! help please someone... -- View this message in context: http://www.nabble.com/color2D.matplot-tf4760527.html#a13614400 Sent from the R help mailing list archive at Nabble.com.
2008 Apr 09
1
chi-square test
...using Chi-suare test for my data below: xobs=observed data, xtwe=predicted data using tweedie, xgam=predicted data using gamma > xobs <- c(223,46,12,5,7,17) > xtwe <- c(217.33,39,14,18.33,6.67,14.67) > xgam <- c(224.67,37.33,12.33,15.33,5.33,15) > chisq.test(xobs, xtwe = xtwe, rescale.p = TRUE) Error in chisq.test(xobs, xtwe = xtwe, rescale.p = TRUE) : ? unused argument(s) (xtwe = c(217.33, 39, 14, 18.33, 6.67, 14.67)) chisq.test(x, p = p, rescale.p = TRUE) I'm not sure what's wrong with it.? Thank you so much for your help. _____________________________________...
2011 Jan 25
1
how to resize heatmap without rescaling?
...ically looks like I want it to be, but the labels of the columns are cut off. I.e. the textual labels of the columns, although they are not very long (less than 12 characters), do not fit into the window and can not be read entirely. If I manually resize the graphics window, the entire heatmap is rescaled, so this doesn't help at all. How can I change the output size so that I can read the labels in full? (final goal is PNG and PDF). Thanks. [[alternative HTML version deleted]]
2001 Jun 21
2
timeseries: R/S (rescaled range) analysis
Has anyone written utilities to do rescaled range analysis in R? Jeff -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !)...
2007 May 04
0
[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.
...} #patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, .info {color:#888;background:#fff;} --></style> <title>[1007] trunk/wxruby2/swig: Fixed Wx::Image#scale and rescale signature, also added needed constants.</title> </head> <body> <div id="msg"> <dl> <dt>Revision</dt> <dd>1007</dd> <dt>Author</dt> <dd>seanlong</dd> <dt>Date</dt> <dd>2007-05-04 19:36:25 -0400...
2023 Oct 26
1
Inquiry about bandwidth rescaling in Ksmooth
...ors for a (larger) different bandwidth. To confirm this, I wrote my own Nadaraya-Watson kernel regression estimator, which is consistent with the two local polynomial estimators and shows the same discordance with ksmooth. This led me to the suspicion that the bandwidth that is passed to kmooth is rescaled or transformed within the function. Unfortunately, I was not able to confirm this with either the code of the function or the documentation. It would be of great help to me if you could clarify this for me. Thank you very much for your time and help in advance. Kind regards, Jan Failenschmid...
2005 Jul 13
3
How to use the function "plot" as Matlab?
Hello, How to use the function plot to produce graphs as Matlab? example in Matlab: a = [1,2,5,3,6,8,1,7]; b = [1,7,2,9,2,3,4,5]; plot(a,'b') hold plot(b,'r') How to make the same in R-package ? I am trying something thus: a <- c(1,2,5,3,6,8,1,7) c(1,7,2,9,2,3,4,5) -> b a;b plot(a,t="l",col="blue") plot(b,t="l",col="red")
2023 Oct 26
1
Inquiry about bandwidth rescaling in Ksmooth
...(larger) different bandwidth. To confirm this, I wrote my own Nadaraya-Watson kernel regression estimator, which is consistent with the two local polynomial estimators and shows the same discordance with ksmooth. > > This led me to the suspicion that the bandwidth that is passed to kmooth is rescaled or transformed within the function. Unfortunately, I was not able to confirm this with either the code of the function or the documentation. It would be of great help to me if you could clarify this for me. > > Thank you very much for your time and help in advance. > > Kind regards, &g...