similar to: How to add a data line (series) to a plot using add=TRUE

Displaying 20 results from an estimated 10000 matches similar to: "How to add a data line (series) to a plot using add=TRUE"

2005 Oct 19
1
Plotting more than one series on the same graph
I'm new to R and have searched for help and consulted the the pdf manuals, but I can't seem to figure out how to plot more than one series on the same graph. I've tried using multiple par(new=TRUE) statements such as >plot(series1, ci.type="line", col="red", lwd=2, ci.lty=0, ci.col="red") >par(new=TRUE) >plot(series2, ci.type="line",
2006 Feb 24
3
Sorting alphanumerically
I'm trying to sort a DATAFRAME by a column "ID" that contains alphanumeric data. Specifically,"ID" contains integers all preceeded by the character "g" as in: g1, g6, g3, g19, g100, g2, g39 I am using the following code: DATAFRAME=DATAFRAME[order(DATAFRAME1$ID),] and was hoping it would sort the dataframe by ID in the following manner g1, g2, g3, g6, g19,
2017 Feb 27
0
SMBTorture tests on HP UX IA64 - Samba 4.5.3 without AD DC
Hi Samba Team, We are testing Samba 4.5.3 without AD DC on HP UX IA64 with samba SMBTorture as test clients. We are running all tests in SMBTorture. Samba server failed about 75% of RAW tests ,16% of BASE tests ,90% of DCE/RPC protocol and interface tests (rpc), 50% of Remote Administration Protocol tests (rap) 100% of DFS referrals calls (dfs) and other test with minimum failures. We used the
2005 Feb 04
1
Samba 3.0.9/10, missing 'net rap printq list' on HP-UX?
I have only this platform to try it on, but observe the following inconsistencies: (from the manpage for 'net'): RAP PRINTQ RAP PRINTQ LIST QUEUE_NAME Lists the specified print queue and print jobs on the server. If the QUEUE_NAME is omitted, all queues are listed. ...OK, so: [novosirj@njmsa ~]> /products/samba/bin/net rap printq list ljndemo No command: list
2009 Jun 17
2
How to translate a dataframe into the R code that makes that dataframe?
Hi, I am helping another R user (off list) and I would like to email her an R script containing the data she needs and the code to solve her problem. I have made a small dummy dataset, but instead of sending her a CSV I would prefer to send the data embedded in the script, so there would be a like in the script like: my.df<-c( etc, etc, etc I have made the dataframe (in a spreadsheet) and
2006 Feb 24
2
Sorting a dataframe by one column?
Given the following dataframe: A=1:10 B=(a-5)^2 DATAFRAME=data.frame(A,B) How can I sort DATAFRAME increasing (or decreasing, for that matter) by B without making reference to A, or any other column? I've read ?order and ?sort but cannot seem to figure this out. Thank you. Mark
2005 Oct 25
5
Graphics window always overlaps console window!
Does anyone know how I can set up R so that when I make a graphic, the graphics window remains behind the console window? It's annoying to have to reach for the mouse every time I want to type another line of code (e.g., to add another line to the plot). Thanks.
2007 Apr 16
2
Histograms of lots of variables
Hi R-helpers, I wish to produce frequency histograms of all of the variables in my dataframe (except some identifying variables). I have tried >hist(dataframe[,3:20]) to produce histograms of the 3rd through 20th variables in my dataframe, but R doesn't like that. Could anyone provide a suggestion? Also, once I produce the histograms, I'd like to save them as graphic files on my
2006 Feb 24
1
Read SAS .sd2 file into R?
Does anyone know how to import a SAS .sd2 file into R? I can't see anything in library(foreign). Thank you. Mark
2006 Feb 20
2
glob2rx function not working
Dear R users, Inspired by previous list discussion of the glob2rxc function, I am attempting to create a new vector called TOTAL by summing all vectors whose names begin with ABC: TOTAL = sum(list = ls(pattern = glob2rx("ABC*"))) I'm running R 2.2.1 on Windows XP. Can anyone say what I'm missing? Thank you, Mark
2007 Mar 26
2
How to drop variables using a wildcard and logic...
Dear R users I would like to make a new dataframe from an existing dataframe, retaining ONLY those variables that end in the letter "t" I have searched the help archives and consulted several reference books but cannot seem to find an example. Any ideas...? Thanks! Mark [[alternative HTML version deleted]]
2008 Aug 06
4
How to calculate GLM least square means?
Hello R-helpers, I would like to calculate least square means after having built a GLM with quasipoisson errors. In my model the dependent variable is continuous, I have one continuous independent variable and one categorical independent variable (that is the variable for which I would like to calculate the least square means). I've looked around for the command to calculate the least
2009 Jun 02
3
How to convert blanks to NA
Hi R-helpers, I have imported data from Excel using the following code: library(xlsReadWrite) data <- read.xls(data,colClasses=c("character")) and this results in all of the empty (blank) cells in the imported Excel file also being empty (blank) in the resulting dataframe. I am not used to having blanks (rather NAs) and I think these are caused by the colClasses argument. I would
2010 Mar 18
4
Please help with loop, thanks
Dear R helpers, I would like to write a loop that makes 4 objects (called A, B, C, and D) each of which contains ten random numbers. This attempt: individuals<-c("A","B","C","D") for(i in 1:length(individuals)) { individuals[i]<-rnorm(10) } does not work because "individuals[i]" is not the proper way to extract each letter from the
2010 May 02
2
samba4 make error - drsblobs.so
Hello - make fails to build the latest git of samba4 - erroring on drsblobs.so. Below is a full log from autogen.sh to the make. Would you have any suggestions on proceeding? Thank you, Ryan ryan at test1:~/samba-master/source4$ sudo ./autogen.sh ./autogen.sh: running script/mkversion.sh ./script/mkversion.sh: 'version.h' created for Samba("4.0.0alpha12-GIT-d83850a")
2009 Oct 12
2
add=TRUE function not working
Hey everybody, I have a matrix with three columns. I want to plot two columns (independent variable) against one column (the defendant). This is my code and the error associated with it: plot(p, q, data=columns) > plot(pprime,q, add=TRUE) Warning messages: 1: In plot.window(...) : "add" is not a graphical parameter 2: In plot.xy(xy, type, ...) : "add" is not a graphical
2006 Aug 28
1
net rap share vs. net share
Hi All, I have been using the 'net rap share' command to enumerate Windows shares and CIFS shares hosted on Filers. I have realized though in some cases that using this command does not show all shares as does using 'net share'. I have looked at the shares hosted on this particular windows box and cannot find any difference between the ones that are enumerated using 'net rap
2008 Feb 27
0
Listing users from a group (net rap groupmember list)
Hello list! I've been trying to list the users from a group of my samba server (running on an OpenBSD 4.2 box) by using "net rap groupmember list GROUPNAME -S PDC -U administrator%password -w DOMAIN", but I get nothing in return. By running the command with a -d for debug purposes, I get the messages above:
2011 May 13
2
More effective calculation for loop
I am getting confused in how to use R effectively. Below is the example that I would like to optimize, which is basically a loop. In its current version it takes about 20 seconds to run. I have looked at the apply function and but didn't seem to get it to work. I am sure this is relatively easy to show me a better version for someone who has done this before. For some reason I seem to
2001 Jul 02
5
Nullsoft Vorbis Decoder v.1.11a Bug Report
Hi, there. While waiting for the encoder RC1, I will report some minor problems I experienced with Peter's Winamp decoder. First, I am using Nullsoft Vorbis Decoder v.1.11a with Winamp v.2.76 on Windows 98 SE. 1. When the buttons of Playlist Editor are extended, the part extended in playlist screen seems to be flickering when an Ogg file is being played. 2. I check the option of