similar to: subset with NA

Displaying 20 results from an estimated 1000 matches similar to: "subset with NA"

2003 Jun 10
1
color coding a legend
I'm using R 1.6.2 on a Windows 2000 machine. I've plotted the results of an MDS run labeled by a numerical ID, and color coded by a group code: plot(cv.mds.spr$points, type="n", main="Non-Metric Multidimensional Scaling of SprRun CV Watersheds") text(cv.mds.spr$points, labels = as.character(cv.wshed.id.spr), col = codes(cv.wshed.grp), cex=.75) Question is, how do I
2002 Oct 25
1
reshape: duplicate rows to multiple cols
I have a dataframe that I'm trying to reshape, and need advice. My data: > klam.merge[200:225,] stream lulc x sumlength pct.lgth 200 1223030419685 92 0.25000000 9.89 2.52780586 201 1223030419686 23 0.00274154 4.73 0.05796068 202 1223030419686 41 0.75009917 4.73 15.85833341 203 1223030419686 42 2.65000000 4.73 56.02536998 204
2002 Oct 17
4
Newbie Time Series Questions
I have a data set of monthly river flows from 1960-2000, which are similar in structure to the nottem data: > klam.flow Oct Nov Dec Jan Feb Mar Apr May Jun Jul Aug Sep 1961 1461 1716 2524 1773 1906 2005 1756 1575 1387 983 1094 1382 1962 1907 2253 1985 1907 1769 1676 2634 1386 929 766 968 1309 ... I tried plotting with > ts.plot(klam.flow) Which quickly led me to
2002 Nov 26
1
Another Mozilla issue
This isn't an R issue per se, but given the recent issues with Mozilla and help.search(), I figured I'd float it. I use mozilla on a WIN2000 box. I was using 1.0 and the help.search() wasn't working as has been discussed over the past few days. Yesterday I upgraded to 1.1, and the javascript help still does not work. (I checked and it is enabled.) Another problem I noticed this morning
2002 Nov 27
1
polymars package
Does the polymars library exist anymore? I see reference to it at http://rweb.stat.umn.edu/R/doc/html/packages.html, but not on CRAN (looked in contrib and contrib/Old). -- Rob Schick Ecologist NOAA Fisheries Santa Cruz Lab 110 Shaffer Road Santa Cruz, CA 95060 Phone: 831.420.3960 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read
2003 Jan 27
1
Conditioned file Import?
I'm using R 1.6.2 on Windows 2000. I have two similar sets of files in two different directories. One contains species presence data and environmental measurements; the other contains species absence data and environmental measurements for the same variables as the presence data. The absence datasets contain many more observations than the presence datasets, and I'd like to draw a
2003 Jul 02
2
using [i] to plot & label all vector elements
I'm using 1.6.2 on a win 2k box. (I know I'm due for an upgrade.) I've used brute force to label a series of vectors, and I'm wondering if there's a better way to do this. I wanted to create a biplot of the 2nd & 3rd PCs, and did this: test <- edit(loadings(cv.prc.spr)) test.1 <- test[,1] test.2 <- test[,2] test.3 <- test[,3] x0 <- 0 y0 <- 0 i <-
2002 Nov 15
1
Scaling part of a data frame
I have a 30 x 27 data frame, which I'm trying to scale and transform. Only I want to scale certain all variables except one (the dependent, which I want to log+1 transform). I can use split() and then scale() and log1p(), but I'm wondering if I can do this in one call. I tried apply(), but I could only get the whole data frame, not a part of it: > test <- apply(chin.sub, 2, log1p)
2017 Nov 01
1
Creating Tag
i want to tag categories to its menuname. i have a csv containing menu item name and in other csv i have a column containing some strings, i want to pick that strings from categories and look into menu items if any menu item containing that string i want to create a new column next to menu item name flagged as 1 otherwise 0 and the only condition is once a menu item flagged as 1 i don't need
2010 Sep 02
2
unanswered questions
Hello, Since some months I can not get any feedback from you for my questions in two different account with the same name. I just wonder is there any specific reason for it? Maybe my english is not so clear or I ask wrong questions for wrong lists I don't know but in any case I think I should have been informed. Sincerely Yours Murat Can Tuna
2002 Aug 13
2
Misalignment of <NA> in rownames (PR#1905)
An NA in the rownames of a matrix (or dataframe) causes misalignment when the matrix is printed: R> x <- matrix(1:12, 3,4, dimnames=list(letters[1:3], LETTERS[1:4])) R> rownames(x)[2] <- NA R> x A B C D a 1 4 7 10 <NA> 2 5 8 11 c 3 6 9 12 The bug is in function Rstrlen, in src/main/printutils.c. MatrixRowLabel and MatrixColumnLabel (same file) rely on Rstrlen
2009 Sep 11
1
Quo vadis?
Hi, In the course of my experiments with rt kernels it so happens that the gui versions of tuna built from upstream (RHEL, F11) SRPMs show wrong affinity settings for IRQ threads. Where would be a proper place to report this and get some help on other rt-related issues? Thanks, Sasha
2010 Sep 01
2
user permissions
Hello, I have a problem about reaching my share folder when the permission is 750 but whenever I change it to 755 I can see the content of the folder. for 750 I get this result: "smbclient //serverip/sharename -U username" smb: \> ls NT_STATUS_NETWORK_ACCESS_DENIED listing \* 0 blocks of size 0. 9 blocks available smb: \> but for 755 everything is fine but of
2004 Mar 19
3
Incomplete Gamma Functions and GammaDistribution Doc errata.
Hello all, In the course of trying to implement the CDF of an InverseGammaDistribution, I have run across the need for an igamma() function. Several others have needed this function but the answers I have found so far are not totally clear to me. I'm writing for three reasons: 1) to present a small error in the docs 2) to clarify the approach we are expected to take 3) to request,for the
2003 Sep 17
3
[Bug 667] Openssh 3.7x, Windows ssh clients and Ldap don't play together
http://bugzilla.mindrot.org/show_bug.cgi?id=667 Summary: Openssh 3.7x, Windows ssh clients and Ldap don't play together Product: Portable OpenSSH Version: 3.7.1p1 Platform: ix86 OS/Version: Linux Status: NEW Severity: critical Priority: P2 Component: PAM support AssignedTo:
2000 May 31
2
Installing add on packages
Hi- I''m a complete newbie trying to install R and the ''tree'' package on a linux box. I installed R successfully using an RPM for Redhat 6.2. I downloaded the tree*.gz file, ran tar, the fired up R. When I''m at the >prompt in R, and type ''R INSTALL /usr/apps/tree'' I get: ''Error: Syntax error'' I want tree to end up in the
2009 Nov 28
1
[LLVMdev] llvm-2.6 since October version bump.
Just a quick question. Back in October (26th) after downloading llvm-2.6.tar.gz, I did a sha1sum of the file and got; 67f4bace9e64cc39255583aa837470d9b9de0aa5 Today I downloaded the same file and got a sha1sum of; 547471147cbf6d3e49539e01196ffada2c79c250 While it might be possible the error is on my end. Was the tarball changed since its release and the version number not changed? Thanks
2001 Feb 07
2
Re: Writing graphics code (was: [R] get vector data from contour)
I submitted a message to r-help this morning that really belongs in r-devel; here's its URL in the archive: <http://www.r-project.org/nocvs/mail/r-help/2001/0693.html>. In summary, I suggest that R graphics objects should be accessible and modifiable, but it raises some problems if you want to do it without pointers. Duncan Murdoch
2005 Feb 08
1
Drawing maps of UK
Hi I have downloaded the maps package from CRAN, along with a few other map* packages that I could find - but there didn't seem to be data on the UK. What I actually want to do (finally) is draw some maps of data that I have which is organised by postcode (sort of equivalent of US Zip code for those who don't know). I think this may be quite ambitious, but I wanted to see just how far I
2001 Apr 30
1
Some loglog density plot
Dear all, A looong time ago, Witold Eryk Wolski asked here why there wasn't a log="xy" parameter to the hist() function <URL:http://www.R-project.org/nocvs/mail/r-help/2001/0267.html>, and Prof. Ripley responded that a loglog histogram does not make much sense, and that one should use a better density estimate if one seeks to plot log density. I understand the point and I