Displaying 20 results from an estimated 500 matches similar to: "using [i] to plot & label all vector elements"
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
2009 Mar 21
1
Re: Chattha Sangayana - bit of a challenge
Thanks for the reply. Will contact you as requested offlist.
For this program, ran in the terminal window, but I presume that since it ran "OK", there were no messages in the terminal window* . The problem is that when the program windows open, they don't scroll - the slider bar snaps back to the top and the page doesn't move at all.
(*ashin at
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
2003 Feb 20
2
subset with NA
Easy question that I can't find an answer for. I'm trying to subset a
data frame and want to exclude the positive values, i.e. I want the NA
values.
My data:
> summary(temp$tuna)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
1 2 3 3 4 5 1211
Querying for
subset(temp, tuna %in% "NA", select....
subset(temp, tuna == NA,
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 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
2009 Mar 22
1
Re: Chattha Sangayana - bit of a challenge
Hi Austin,
Alas, no, the program cannot be downloaded, but the CD can be ordered (free) from pariyatti.org. I would be happy to send one, but can only do so in a couple of weeks when I am in BKK (if you could send your mailing address to me privately, I would be more than happy to do so! ashin DOT sopaka at g(ee)mail dot c0m) More info about this can be found at http://www.tipitaka.org/
I also
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 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
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)
2000 Jun 07
1
tree error
Hi- I'm trying to run a classification tree, and have received an error
I'm unfamiliar with. Following is the R code, and the first 10 lines of
my matrix. Any help would be appreciated.
> kuv.tree <- read.table("kuv3_mantelmatrix.txt",header=T,sep="\t")
> library(tree)
> attach(kuv.tree)
> ktree <- tree(Species ~ Drig + dwellln, data=kuv.tree)
Error
2012 Apr 24
2
How do i read the source code of "biplot"?
> biplot
standardGeneric for "biplot" defined from package "stats"
function (x, ...)
standardGeneric("biplot")
<environment: 0x0d4444d8>
Methods may be defined for arguments: x
Use showMethods("biplot") for currently available ones.
>
>
> showMethods("biplot")
Function: biplot (package stats)
x="ANY"
2007 Jun 05
2
biplot package
Dears,
I've been learning biplot (Gabriel, 1971) and I found the function 'biplot', inside of the package 'stats',
useful but, a bit limited.
So, I'm thinking to start a colaborative package to enhance this methods to other multivariate methods. In this
way, I would like to start it, making public a new function (biplot.pca, still in development, but running)
that make
2009 Mar 01
3
Modifying a built-in R function
Hello,
Something incredible (at least for me) has happen. Yesterday night I
downloaded biplot.R to edit this function and add new features I wished.
Namely I wanted to plot points belonging to different groups using different
colors and symbols. I identified which part of the original code I had to
modify. Then, I rename biplot by biplotes and executing biplotes(x), being x
a princomp class
2009 Sep 02
4
"biplot" graphical options?
Dear R-help fellows
good afternoon.
I am struggling in the attempt to impose some graphical conditions (changing point symbols, colors, etc) to biplot function (I am using it to visualize the results of princomp) but I can't apparently manage to change anything but the axis... and I have been browsing manuals and vignettes without finding any explicit suggestions on how to operate...
Can
2005 Jun 03
1
Reading biplot function's source code
Hi everybody,
Excuse me for this silly question, but after searching the
help archives I'm still unable to find my way to read the
source code of the "biplot" function in R.
I have installed the mvbutils package, and tried:
> fixr(biplot)
which only gives me:
function (x, ...)
UseMethod("biplot")
with no further details....
I'd like to read the code to see if
2007 May 13
2
Biplot
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20070513/6557c355/attachment.pl
2006 Jul 31
1
How does biplot.princomp scale its axes?
I'm attempting to modify how biplot draws its red vectors (among other
things). This is how I've started:
Biplot <- function(xx, comps = c(1, 2), cex = c(.6, .4))
{
## Purpose: Makes a biplot with princomp() object to not show arrows
## ----------------------------------------------------------------------
## Arguments: xx is an object made using princomp()
##