search for: posi

Displaying 12 results from an estimated 12 matches for "posi".

Did you mean: pos
2005 Oct 06
3
playing with R: make a animated GIF file...
Hello all I am playing with R for to make a animated GIF. any suggestions, improvements are welcome :-) case somebody could help me, i thanks! Cleber N. Borges ( klebyn ) my objective: (steps TODO) ------------------- 1) to save PNG files; -----> i don't know the best way to make this; 2) transform the PNG files into GIF files (easy! no problem! ... i think ...) 3)
2012 Dec 18
0
R function for computing Simultaneous confidence intervals for multinomial proportions
...posl<-paste("z",1:8,sep="") mydata$pos<-factor(NA,levels=posl) n=nrow(mydata) mydata$pos<-replicate(n,sample(posl,1,prob=c(0.05,0.05,0.05,0.4,0.3,0.05,0.05,0.05)))#strong preference for z3 and z4 ##pre-treatment of the above row data, number of time (out of 21) each position was observed mydata2=ddply(mydata,.(sub,per,pos),summarize,nobs=length(pos),.drop=F) mydata2[,1:3]=catcolwise(function(x)as.factor(x))(mydata2) summary(mydata2) # boxplot of frequencies of occpupancy require(ggplot2) mydata2$fobs=mydata2$nobs/21 ggplot(mydata2)+geom_boxplot(aes(pos,fobs)) ###...
2008 Aug 28
2
sample consecutive integers efficiently
Hi all, I have some rough code to sample consecutive integers with length according to a vector of lengths #sample space (representing positions) pos<-c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20) #sample lengths lengths<-c(2,3,2) From these two vectors I need a vector of sampled positions. the sampling is without replacement, making things tough as the sampled integers need to be consecutive. Im hoping somebody kno...
2007 Aug 30
5
Single plot multiple levels in x?
Plotting with 2 x axis? One axis inside another, for example salary within state, 1-50 | 50 ? 100 | 100+ | 1- 50 | 50 -100 | 100+ | ? repeated bins for salary AL ! AR ?? more states The values are all stored with a single data frame. I have tried different things with the axis function and done many
2018 Apr 12
3
Bivariate Normal Distribution Plots
R-Help I am attempting to create a series of bivariate normal distributions. So using the mvtnorm library I have created the following code ... # Standard deviations and correlation sig_x <- 1 sig_y <- 1 rho_xy <- 0.0 # Covariance between X and Y sig_xy <- rho_xy * sig_x *sig_y # Covariance matrix Sigma_xy <- matrix(c(sig_x ^ 2, sig_xy, sig_xy, sig_y ^ 2), nrow = 2, ncol = 2)
2010 Jan 04
0
ggplot2 = bar size
Hi, i am newbie into ggplot and i thow that i have to learn a lot about this package. I am doing this function to draw an graphic: library(ggplot2) posx <- theme_text(angle=45,hjust=1,face='bold',size=12) posy <- theme_text(angle=0,hjust=1,face='bold',size=12) y1 <- c(1,4,6,1,8,10,6,1,5,4) x <-
2012 Apr 20
1
Ternaryplot as an inset graph
...trying. Note that if I change the inset plot to be an ordinary scatter, for instance, it works as expected. library(ade4) library(vcd) tdat <- data.frame(x=runif(20), y=rlnorm(20), z=rlnorm(20)) insetPlot <- function(data){ ternaryplot(data) } ternaryplot(tdat) add.scatter(insetPlot(tdat), posi="topleft", ratio=.2) Thanks very much, Jennifer Young Fisheries and Oceans Canada Jennifer.Young@dfo-mpo.gc.ca [[alternative HTML version deleted]]
2006 May 03
2
mca id numbers
Is it possible to make disappear the id numbers from scatter.dudi (mc analysis) ? a <- as.factor(c(1, 2, 3, 2, 1)) b <- as.factor(c(3, 2, 3, 1, 1)) x <- as.factor(c(1, 2, 2, 1, 3)) y <- as.factor(c(2, 2, 3, 1, 1)) dat <- data.frame(a=a, b=b,x=x,y=y) summary(dat) dat require(ade4) dat.acm <- dudi.acm(dat, scann = FALSE, nf = 2) scatter.dudi(dat.acm) Thank you very much !
2008 Jan 18
2
plotting other axes for PCA
Hi R-community, I am doing a PCA and I need plots for different combinations of axes (e.g., PC1 vs PC3, and PC2 vs PC3) with the arrows indicating the loadings of each variables. What I need is exactly what I get using biplot (pca.object) but for other axes. I have plotted PC2 and 3 using the scores of the cases, but I don't get the arrows proportional to the loadings of each variables on
2003 Apr 10
1
Starcraft Patch
I've done some work getting the patches from http://starcraft-wine.sourceforge.net/ working with CVS wine. Using the patch I'm including, starcraft works perfectly on my machine, run as root using DGA on a 640x480 XF86 layout. In particular the changes to event.c enable the mouse and keyboard with DGA. The changes to input.c make the mouse acceleration work the same in all directions.
2006 Oct 17
0
[680] trunk/wxruby2/samples/printing/printing.rb: Cleaned up to use the Ruby naming convention, added #! line, now uses Wx default ID''s in standard menu items.
...uot;cx"> else </span><del>- actualScale = scaleY </del><ins>+ actual_scale = scale_y </ins><span class="cx"> end </span><span class="cx"> </span><span class="cx"> # Calculate the position on the DC for centring the graphic </span><del>- posX = ((w - (200*actualScale))/2.0) - posY = ((h - (200*actualScale))/2.0) </del><ins>+ pos_x = ((w - (200*actual_scale))/2.0) + pos_y = ((h - (200*actual_scale))/2.0) </ins><span class="cx"...
2016 Nov 21
2
Winbind traffic not encrypted
...ll1.../bin/bash 0x02c0: 3022 0411 756e 6978 486f 6d65 4469 7265 0"..unixHomeDire 0x02d0: 6374 6f72 7931 0d04 0b2f 686f 6d65 2f75 ctory1.../home/u 0x02e0: 7365 7232 3046 040b 6f62 6a65 6374 436c ser20F..objectCl 0x02f0: 6173 7331 3704 0374 6f70 040c 706f 7369 ass17..top..posi 0x0300: 7841 6363 6f75 6e74 0406 7065 7273 6f6e xAccount..person 0x0310: 0414 6f72 6761 6e69 7a61 7469 6f6e 616c ..organizational 0x0320: 5065 7273 6f6e 0404 7573 6572 301b 0412 Person..user0... 0x0330: 7573 6572 4163 636f 756e 7443 6f6e 7472 userAccountContr 0x0340: 6...