similar to: adding NA to "subset"

Displaying 20 results from an estimated 200 matches similar to: "adding NA to "subset""

2008 Sep 02
3
boxplot - label outliers
Hi All- I have 24 boxplots on one graph. I do not have the whiskers extending to the outliers, but I would like to label the maximum value of each outlier above the whiskers. I have the stats but am having trouble figuring out how to label the whiskers. Any suggestions would be great! sherri
2008 Dec 21
2
data format issue
Dear all- I have a dataset (see a sample below - but the whole dataset is June 2005 - June 2008). The "LST" format is "YYMMDDHHmm" and I would like to get the hourly average of the "mph" for the summer months (spanning all years). I have been trying to use "aggregate" but am not having much success at all! any thoughts would be greatly appreciated.
2010 Jun 16
1
multiple plots without for loops
Dear All- I am trying to plot over one hundred figures. I do not want to save them, just walk through them to take a look. If I run the code as it is below, then the plots just rapidly run through. I tried adding a new device, but I reached the device number limit. I have gone through the online manuals, done google searches and the R Site help pages and haven't found anything to
2008 Oct 13
1
sep. dataset
Hi everyone- I have a dataset that I created using the aggregate command: Hour Level C2 1 1 1 -3.517117e+00 2 2 1 -2.536083e+00 3 3 1 -1.429000e+00 4 4 1 -1.148667e-01 5 5 1 1.345333e+00 6 6 1 3.108117e+00 7 7 1 4.763733e+00 8 8 1 6.161867e+00 9 9 1
2009 Jan 04
1
POSIXct and chron issues with tz
Dear All- I am trying to merge two data files - they have different date formats and different times zones. I need to match up the date/time of the datasets and then invoke a conditional statement, such as: if dataC$mph is >= 12 then keep dataM$co23 for the corresponding time/date stamp. snippets of data files: *dataC.txt* LST in mph Deg DegF DegF2 % volts Deg
2007 Jul 18
1
nested for loop
Hi, I am new to programming and R. I am reading the manual and R books by Dalgaard and Veranzo to help answer my questions but I am unable to figure out the following: I have a data file that contains 1080 data points. Here's a snippet of the file: [241] 0.3603704000 0.1640741000 0.2912963000 NA 0.0159259300 0.0474074100 I would like to break the file up into 30
2007 Dec 01
1
creating conditional means
Hi all- I have a dataset (year, month, hour, co2(ppm), num1,num2) [49,] 2006 11 0 383.3709 28 28 [50,] 2006 11 1 383.3709 28 28 [51,] 2006 11 2 383.3709 28 28 [52,] 2006 11 3 383.3709 28 28 [53,] 2006 11 4 383.3709 28 28 [54,] 2006 11 5 383.3709 28 28 [55,] 2006 11 6 383.3709 28 28 [56,] 2006 11 7 383.3709 28 28 [57,] 2006
2013 Mar 10
2
Editing figure without re-running the plotting code?
Dear all, I am curious if anyone knows of a command/program that would enable one to edit a figure in R once it is created (akin to Matlab). Currently, if I need to make any changes to the figure I do so and then have to run the plotting portion of the code again. I have searched the R site mailing lists, etc to no avail. Any help is greatly appreciated. Kind regards, Sherri [[alternative
2008 Apr 14
1
boxplot tick locations
hi all- i am creating a boxplot and would like to shift the x-axis tick marks (named 1:23) so that the ticks are in between the boxes and not centered in the middle of the boxes. i have searched the help files and google and have not found what i am looking for. does anyone know how to do this? thanks! s.heck University of Colorado, Boulder
2005 Jun 16
1
smbldap adding machine error
Hi all, I'm currently working on getting the whole samba with ldap working. I'm having an error trying to join a computer to the domain, when windows goes to change to the new domain I get the dialogue box to enter the user/pass to join I do that and it returns: the following error occurred.... the username could not be found. taking a look at the smbd.log file it shows: [2005/06/16
2005 Mar 29
1
regression tree xerror
I am running some models (for the first time) using rpart and am getting results I don't know how to interpret. I'm using cross-validation to prune the tree and the results look like: Root node error: 172.71/292 = 0.59148 n= 292 CP nsplit rel error xerror xstd 1 0.124662 0 1.00000 1.00731 0.093701 2 0.064634 1 0.87534 1.08076 0.092337 3 0.057300 2
2008 Jan 29
2
Using Predict and GLM
Dear R Help, I read through the archives pretty extensively before sending this email, as it seemed there were several threads on using predict with GLM. However, while my issue is similar to previous posts (cannot get it to predict using new data), none of the suggested fixes are working. The important bits of my code: set.seed(644) n0=200 #number of observations
2009 Feb 26
3
windows vs. linux code
Dear All- I have been given some Rcode that was written using a Linux OS, but I use Windows-based R. The person that is giving it to me said that it needs to run on a Linux system. Does anyone have any insight and/or can verify this. I haven't yet obtained the code, so I haven't been able to try it yet. cheers- sherri
2011 Feb 10
1
Multi-page plots (Trellis)
Dear All - I would like to make multi-page plots, but my plots are writing over one another - thus leaving just the last plot. Here is what I am doing: pollutionRose(temp, "nox", type="hour") update(trellis.last.object(), layout =c(3,3,3) ) I would like 24 plots with 9 plots/page (the last page would not have 9 plots) Is there any way to "force" layout to make 3
2008 Mar 22
1
Simulating Conditional Distributions
Dear R-Help List, I'm trying to simulate data from a conditional distribution, and haven't been able to modify my existing code to do so. I searched the archives, but didn't find any previous post that matched my question. n=10000 pop = data.frame(W1 = rbinom(n, 1, .2), W2 = runif(n, min = 3, max = 8), W3 = rnorm(n, mean=0, sd=2)) pop = transform(pop, A = rbinom(n, 1,
2009 Apr 10
2
Plot legend
Dear All- I am trying to create a legend where the first 9 terms are represented as pch=16 in one column (which I am able to do); but, I would like the last two terms in that column to be 'lines" (which are black and red - just as it looks like in the plot). I have read through many help pages and searched the help listserv, but haven't figured this one out yet. Does anyone have
2010 Feb 28
1
Combining 2 columns into 1 column many times in a very large dataset
*Combining 2 columns into 1 column many times in a very large dataset* The clumsy solutions I am working on are not going to be very fast if I can get them to work and the true dataset is ~1500 X 45000 so they need to be efficient. I've searched the R help files and the archives for this list and have some possible workable solutions for 2) and 3) but not my question 1). However, I include
2018 Feb 13
2
doveadm with wildcard users?
On 13 Feb 2018, at 00:11, Aki Tuomi <aki.tuomi at dovecot.fi> wrote: > doveadm -u "*mask*" makes no sense. The ?index? that was in the first line was dropped out of my further examples. But now where was there a ?*mask*?. > what command are you trying to run? # doveadm index -u ?*@sqldomain.tld" "*? Error: User listing returned failure doveadm: Error: Failed to
2010 Jul 25
2
3d topographic map
Hi All- I would like to create a 3d topographic map using lat/lon and z(height). I have been scouring the R help pages and have not located the package I am looking for. Does anyone have a suggestion of package that will work for this? thanks- sherri
2008 Aug 08
2
aggregate
Dear All- I have a dataset that is comprised of the following: doy yr mon day hr hgt1 hgt2 hgt3 co21 co22 co23 sig1 sig2 sig3 dif flag 244.02083 2005 09 01 00 2.6 9.5 17.8 375.665 373.737 373.227 3.698 1.107 0.963 -0.509 PRE 244.0625 2005 09 01 01 2.6 9.5 17.8 393.66 384.773 379.466 15.336 11.033 5.76 -5.307 PRE 244.10417 2005 09 01 02 2.6 9.5 17.8 411.162 397.866 387.755 6.835 5.61 6.728