similar to: How to Standardise the x/y coordinates to the unit square?

Displaying 20 results from an estimated 10000 matches similar to: "How to Standardise the x/y coordinates to the unit square?"

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 Oct 03
1
new standardised variable based on group membership
Hi I have a data comprised of repeated measures of growth (5-15 records per individual) for 580 fish (similar to Orange dataset from nlme library). I would like to standardise these growth measures (yi – ŷ/sd) using mean and standard deviation unique to each fish. Can someone suggest a function that would help me do this? I’ve had a look at scale and sweep but can’t find a worked example that does
2008 Apr 09
1
chi-square test
Hi R-users, I would like to find the goodness of fit 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,
2007 Jun 18
1
Second y-axis in xyplot (lattice) where y1 and y2 have different ranges
Hi all, I realize this is asking a lot of lattice, but I want to add a second y axis inside a xyplot and have y1 and y2 have different ranges. Given dat below, I can add a second y axis by overlaying a new plot with par(new=T) and label axis 4 with standard graphics. I've seen an example for doing something similar in xyplot even though Deepayan has indicated that lattice isn't the right
2011 Jun 30
2
sdev value returned by princomp function (used for PCA)
Dear all, I have a question about the 'sdev' value returned by the princomp function (which does principal components analysis). On the help page for princomp it says 'sdev' is 'the standard deviations of the principal components'. However, when I calculate the principal components for the USArrests data set, I don't find this to be the case: Here is how I
2012 Sep 12
7
multinomial MCMCglmm
Dear all, I would like to add mixed effects in a multinomial model and I am trying to use MCMCglmm for that. The main problem I face: my data set consits of a trapping data set, where the observation at eah trap (1 or 0 for each species) have been aggregated per traplines. Therefore we have a proportion of presence/absence for each species per trapline. ex: ID_line mesh habitat Apsy Mygl
2002 Jul 01
2
file renaming utility
Does anyone out there already have a utility to rename ogg files based on the tags? I want to re-standardise on "[track number] - [artist] - [track name].ogg" but my files are currently not that. It should be easy enough, as everything is tagged, but I'm sure someone else has written this already. Or are there Perl libraries to read tags? Otherwise I'll have to do it then donate
2013 Feb 19
2
how to change the plot from X-axis to Y-axis
hello ,Rusers: I have a dataset for example totdata=c(8.020 7.412 8.110 8.270) plot(totdata[1:4],type='l',pch=1,lty=1,col='blue',lwd=1) and the data could be plotted as the attachment figure. now I want to exchange its x-axis and y-axis in the figure .How could I modify the plot command ? thank you -- TANG Jie
2003 Apr 03
4
Two y-axis in plots
Hi, I am trying to plot two data sets on one plot but with using a different y-axis ranges for each - preferably with one shown on each side of the graph. Is there a function that will allow me to do this. Thanks Allan McRae [[alternate HTML version deleted]]
2013 Apr 07
5
Duda con width y height. Resolución de pantalla
Buenas tardes: Por favor, ¿alguien me puede explicar este comportamiento?. Lanzo este código enun equipo con una pantalla de 21'''' y el resultado es correcto, tanto en la ventana gráfica como al guardar en pdf: quartz(title="Ventada de prueba", width=8.27, height=11.69, dpi=85) plot(1:10) Sin embargo, lanzado en un equipo con pantalla de 15'''', la
2010 Jan 07
2
"%d/%m/%Y" can not be displayed in a .rd file
Hi all, I found the date format (e.g."%d/%m/%Y") in the .rd file cannot be displayed after building the package. See below, ###.rd file#### \examples{ a<-"10/20/1999" DateConversion(a,DateIn="%m/%d/%Y",DateOut="%d/%m/%Y") } ####The result is #### Examples: a<-"10-20-1999" DateConversion(a,DateIn=" ??"%m/%d/%Y"
2010 Dec 21
0
[LLVMdev] Function-level metadata for OpenCL (was Re: OpenCL support)
> From: Peter Collingbourne [mailto:peter at pcc.me.uk] > Sent: 20 December 2010 20:11 > As with __local variables, it may be that "kernelness" cannot be > represented in a standard form in LLVM. For example on a CPU a > kernel function may have an additional parameter which is a pointer to > __local memory space, which would not be necessary on GPUs. Then in >
2014 Sep 29
3
[LLVMdev] [cfe-dev] Proposal to add Bitcode version field to bitcode file wrapper
On 29 September 2014 15:16, Robinson, Paul <Paul_Robinson at playstation.sony.com> wrote: > That promise is what I understood from a discussion within the past month, > e.g. http://lists.cs.uiuc.edu/pipermail/llvmdev/2014-September/076815.html > If I misunderstood, clarification on the clarification would be helpful. ;-) I see, I missed that one. My concerns seem to be similar to
2012 Feb 23
1
(no subject)
Dear Helpers, I wrote a simple function to standardise variables if they contain more than one value. If the elements of the variable are all identical, then I want the function to return zero. When I submit variables whose elements are all identical to the function, it returns not zero, but NaNs. zt=function(x){if (length(table(x)>1)) y=(x-mean(x))/sd(x) else if (length(table(x)==1)) y=0;
2006 Nov 07
1
plot questions?-errors in persp(x1, x2, y) and contour(x1, x2, y)
Dear Uwe Ligges , I still can't finish it. *> aa* #my data x1 x2 y 5 0.05 6 4.4180 1 0.50 3 2.6979 4 0.50 9 2.9000 7 0.95 6 2.6230 8 0.95 6 2.9078 9 0.95 6 2.6727 3 1.40 3 2.4203 2 1.40 9 2.5329 6 1.85 6 2.4867 *> attach(aa)* *> persp(x1,x2,y* error in persp.default(x1, x2, y) : increasing 'x' and 'y' values expected
2010 Nov 25
1
How to change value of y axis from log relative Hazard to relative Hazard
http://r.789695.n4.nabble.com/file/n3058505/file.csv file.csv Hi, Rusers I have a problem in making a rcspline.plot with a Hmisc package. My data is in the upload attachment. My programme as follows: library(Hmisc) A<-read.csv("file.csv",header=TRUE) attach(A)
2007 Nov 06
1
color2D.matplot
I am a true R novice aonly using it for this function ;) I am trying to use color2D.matplot to form a image of my data using the following conditions color2D.matplot(fi1, c(dr), c(dg), c(db), nslices=7, ylab='Species', xlab="gene", show.legend=TRUE) where fi1 is my matrix. I have a matrix with 36 columns and 130 rows. most entries are 1 or 0 and I am trying to get this
2012 Feb 23
1
FW: NaN from function
Dear Helpers, I wrote a simple function to standardise variables if they contain more than one value. If the elements of the variable are all identical, then I want the function to return zero. When I submit variables whose elements are all identical to the function, it returns not zero, but NaNs. zt=function(x){if (length(table(x)>1)) y=(x-mean(x))/sd(x) else if (length(table(x)==1)) y=0;
2001 Oct 01
3
can I add to a plot and auto-re-scale axes?
(I'm new to R) Is there a way to add data to an existing plot, and have the plot axes rescaled automatically (i.e. if the new data lie outside the current axes) ? If not, how can I specify multiple datasets at once, so the axes are scaled to accomodate all sets? Details: (Am I using R's data structures in a reasonable way?) I have many small datasets taken under different
1999 Sep 22
1
model.matrix() (PR#285)
I was alarmed to discover that model.matrix.default() can permute columns with respect to the formula. This seems to happen with user-defined components of the formula. Thus X <- matrix(1:4, 1, 4, dimnames = list(NULL, LETTERS[1:4])) Q <- function(x) x^2 # because model.matrix() does not like, eg, A:A model.matrix(~ -1 + A + A:B + Q(C), data.frame(X)) has columns ordered A, Q(C), and