similar to: 'loop FOR' for make plots

Displaying 20 results from an estimated 1000 matches similar to: "'loop FOR' for make plots"

2005 Dec 13
2
creating a subset of a dataset using ifelse statement?
I am using R in a Microsoft Windows environment. I have a dataset called “mp1b”. I have a variable called h. h can take a value from -1 to 5. If h <1, I want to create a new dataset called mp2 that is the same as mp1b: “mp2<-mp1b” If h > 0, I want to set create a dataset mp2, where I limit the original dataset to those where mp1b$group = =h. similar to:
2006 Nov 20
4
for help about logistic regression model
I have a dataset like this: p aa index x y z sdx sdy sdz delta as ms cur sc 1 821p MET 1 -5.09688 32.8830 -5.857620 1.478200 1.73998 0.825778 13.7883 126.91 92.37 -0.1320180 111.0990 2 821p THR 2 -4.07357 28.6881 -4.838430 0.597674 1.37860 1.165780 13.7207 64.09 50.72 -0.0977129 98.5319 3 821p GLU 3 -5.86733 30.4759
2013 Oct 05
3
trying to compile R in win 7 (with Rtools)
hello all, I am trying to compile the R in Win7 and compiles one small part but the script don't move from the 'base' directory to 'stats' I installed the Rtools likee administrator and call the terminal (MS-DOS) like administrator too. if somebody can tell me any tips, I thank in advanced cleber ############################################# File LOG
2006 Nov 22
1
sshd startup error on SCO SR6
Openssh 4.4p1 and 4.5p1 SCO Openserver 6 w/mp1, mp2 While installing v4.5p1, I noticed this sshd syslog error which began appearing when I upgraded from v4.3p2 to v4.4p1: Sep 1 17:54:41 tenzing sshd[12837]: error: Bind to port 22 on :: failed: \ Network is unreachable. sshd -d reports: debug1: Bind to port 22 on ::. Bind to port 22 on :: failed: Network is unreachable. debug1: Bind
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)
2008 Jan 26
5
double-click in RData file versus load( file )
hello all, when I start up the R and I execute o follow code: > ls() character(0) > x=123 > assign("test_x", x, envir = .GlobalEnv ) > ls() [1] "test_x" "x" > setwd('C:\\R\\etc') > save.image('TEST.RData') > q('no') I have two different behaviours: (a) - when I start up R again by "double click" in
2006 Jul 08
2
String mathematical function to R-function
hello I make a subroutine that give-me a (mathematical) function in string format. I would like transform this string into function ( R function ). thanks for any tips. cleber #e.g. fun_String = "-100*x1 + 0*x2 + 100*x3" fun <- function(x1,x2,x3){ return( ############ evaluation( fun_String ) ############ ) True String mathematical function :-( :-( > nomes [1]
2008 Dec 08
1
example of gladeXML - RGtk2
hello all, where I find a example or tutorial of RGtk2 package? I would like to know about the gladeXML functions in R. thanks in advance Cleber Borges
2011 Mar 27
1
gtk, RGtk2 and error in callback: delet_event in mai window
Hello All, I am trying to learn about the GUI in R (with GTK+Glade+RGtk2) and in my test I don't get sucess in to make an callback to destroy the application... When I try to define an function for "delet-event callback", I get the error message: (with mouse click in X window) *Error in function () : * * unused argument(s) (<pointer: 0x017ca000>, <pointer:
2011 Apr 04
1
RGtk2: How to populate an GtkListStore data model?
hello all I am trying to learn how to use the RGtk2 package... so, my first problem is: I don't get the right way for populate my gtkListStore object! any help is welcome... because I am trying several day to mount the code... Thanks in advanced Cleber N. Borges --------------------------- # my testing code library(RGtk2) win <- gtkWindowNew() datamodel <-
2009 Jul 13
2
Problems in plotting with abline
Dear R-users, I am using R(a package igraph) to calculate certain topological features of networks. When I try to draw a plot between these features I get an error. Following is the code I am using : *> plot(met_eco_deg,met_eco_bet) > lmout<-lm(met_eco_bet ~ met_eco_deg) > abline(lmout) Error in int_abline(a = a, b = b, h = h, v = v, untf = untf, ...) : plot.new
2003 Feb 24
2
69.x.x.x network in rfc1918
I came across a problem when one of our clients was not able to access any of the servers on our network. This person has never connected to us before and now for this first time was trying to do it from his home is Houston, TX using earthlink cable service provided by Time Warner. All this information, I think, is important because when I started examining my shorewall logs I found out
2012 Nov 08
1
the results of the SORT function differ from Scilab/Matlab for Complex Numbers
Hello useRs, The results of the SORT function differ from Scilab/Matlab for Complex Numbers in my example. This design is the desirable in R? Thanks. Cleber r <- c( 1.7507+0.1689i, 1.7507-0.1689i, 1.3886+0.0000i, 1.0458+0.0792i, 1.0458-0.0792i, 0.8279+0.1861i, 0.8279-0.1861i, 0.8263+0.3731i, 0.8263-0.3731i, 0.6548+0.0000i ) > cbind(sort(r, d=T)) [,1] [1,]
2005 Sep 28
1
scatterplot3d + density() + polygon(color)
Hi R Users, How to use the function polygon() together with the package scatterplot3d? I am trying to color below of the curves defined for the function density(). I tried to use the site: R GRAPH GALLERY as tutorial. I tried to adapt the example of this page: [figure]: http://addictedtor.free.fr/graphiques/RGraphGallery.php?graph=30 [code]:
2002 Jun 14
2
Losing hope.
Is it normal for rsync 2.5.5 to keep locking up on large HP/UX 11.0 files? I am not talking about a delay here, but locking up and never returning w/error. Anybody have any suggestions? Aharon -- Sr Unix Administrator Tampa, Florida Websites: http://www.tamparacing.com http://www.tampaforums.com http://www.ls6.com http://www.lastgen.com http://www.xmbforum.com
2005 Nov 02
2
help with the coordinates of the ECDF object
Hi all R users I would like to know how acess the coordinates of the ECDF object. I look for the example, in this part: ###################### print(ls.Fn12 <- ls(env= environment(Fn12))) ###################### but I do not know to extract the Y coordinate and put it in other variable. My objective is to make a plot and identify the points with labels. ############# Example by
2006 Jul 20
1
libshout: Streaming MPEG Audio Layer 2
Hi, I'm not anywhere near an expert, but I had successfully used Darkice, TwoLame, and Icast231 to netcast a mp2 stream. If it will help, here is a snip from the related area of my darkice.cfg: [icecast2-1] format = mp2 bitrateMode = cbr bitrate = 384 quality = 1.0 server = 127.0.0.1 port = 32710 password = (duh!) sampleRate =
2006 Sep 28
2
get index of elements in vector
Hello all Is There a fuction that return a index of a element in vector? like this semantic example: vector = c( 100, 200, 300 ) getINDEX( vector, value = 200 ) Thanks in advance for your attention. Cleber Borges
2006 Jan 27
1
about lm restrictions...
Hello all R-users _question 1_ I need to make a statistical model and respective ANOVA table but I get distinct results for the T-test (in summary(lm.object) function) and the F-test (in anova(lm.object) ) shouldn't this two approach give me the same result, i.e to indicate the same significants terms in both tests??????? obs. The system has two restrictions: 1) sum( x_i ) = 1 2) sum(
2005 Dec 17
1
How to reverse the sequence of axis Y ??
Hello R-users! My (simple?) doubt: How to reverse the sequence of axis Y ?? the diagram below illustrate my idea... (default) | | . | . | . | 3 | 2 | 1 | 0 +---------------------------- 0 1 2 3 ... like I want... 0 | 1 | 2 | 3 | . | . | . | | +---------------------------- 0 1 2 3 ... thanks in advance klebyn