similar to: How to represent factor levels & ordiellipses using different colors?

Displaying 20 results from an estimated 400 matches similar to: "How to represent factor levels & ordiellipses using different colors?"

2008 Feb 09
1
bad variable names when printing a data frame containing a matrix (PR#10730)
library(glmpath) data(heart.data) # heart.data is a list, $y a vector, $x a matrix data <- data.frame(x=I(heart.data$x), y = heart.data$y) > data[1:2,] x.1 x.2 x.3 x.4 x.5 x.6 x.7 x.8 x.9 y 1 160 12 5.73 23.11 1 49 25.3 97.2 52 1 2 144 0.01 4.41 28.61 0 55 28.87 2.06 63 1 > dimnames(heart.data$x)[[2]] [1] "sbp"
2011 May 26
1
ordiellipse
Hi Users, I am trying to plot 95% confidence ellipses around the 4 groupings found in a PCA ordination and identified a-priori by clustering. I am using ordiellipse to plot the ellipses and it works fine except one of my groups contains only 2 sites and I cannot get an ellipse around them. I'm assuming that 2 points is not enough to perform the relevant calculations here, however I would like
2008 Feb 09
0
bad variable names when printing a data frame containing (PR#10732)
timh at insightful.com wrote: > library(glmpath) > data(heart.data) > # heart.data is a list, $y a vector, $x a matrix > data <- data.frame(x=3DI(heart.data$x), y =3D heart.data$y) > =20 >> data[1:2,] >> =20 > x.1 x.2 x.3 x.4 x.5 x.6 x.7 x.8 x.9 y > 1 160 12 5.73 23.11 1 49 25.3 97.2 52 1 > 2 144 0.01 4.41 28.61
2009 Jan 19
0
Error while adding legends to xyplot
Dear All: Greetings! I am able to produce an "xyplot" in R; But I am not able to put multiple legends on it! So for that matter, I have saved the "xyplot" and reproduced the same using the simple "plot" option. Then using the "legend" option I successfully placed the require text and its corresponding value over it. Now, when I try to copy it as a
2006 Sep 20
1
Stats question - cox proportional hazards adjustments
Hi useRs, Many studies of the link between red meat and colorectal cancer use Cox proportional hazards with (among other things) a gender covariate. If it is true that men eat more red meat, drink more alcohol and smoke more than women, and if it is also true that alcohol and tobacco are known risk factors then why does it make sense to "adjust" for gender? I would think that in this
2002 Aug 13
1
interaction.plot() legend too narrow when mfcol > 2 (PR#1899)
Here is an example: The legends (mainly the factor level names) are cut off on the right. Somehow the internal calculation which computes horizontal space for the legend is not flexible enough. ## Call a new graphics window {with default par()s !}: get(getOption("device"))() par(mfrow = c(2,2)) ## part of example(interaction.plot) _improved_ using with() : data(OrchardSprays)
2010 Oct 07
2
Truncating leading zeros in strings
I am new to R. I thing this will be simple, but I don't yet know my way around. I am generating character strings from the system clock that represent integers, and I want to convert them to integer values. Strtoi works well, except when there are leading zeros on the string. Could anyone suggest a way to remove those leading zeros? Thanks Paul -- E. Paul Wileyto, Ph.D.
2011 Aug 10
1
Plotting Ellipses and Points of Matching Colors in an Ordination
Hello, R-Help - I am trying to plot the results of an ordination from package vegan. The tricky part for me right now is getting the colors of the ellipses denoting the 95% confidence intervals of the group centroids to match the colors of the points for those same groups. >From and earlier post, I saw the code to make a plot of the ordination using different colors for my different groups.
2004 Apr 27
0
Let's be together in the fight for life!
Breast cancer can be prevented? http://www.romaniancancerleague.org/newsletter/2004-04-27 Let's be together in the fight for life! - - - - For more information contact Romanian Cancer League: Address: 1-5 Calea Victoriei, sc.B, et.VI, ap.72, sector 3, Bucharest, Romania; Tel: +40.21-314.69.23; +40.21-314.69.33; Fax: +40.21-313.24.98; Email: office@romaniancancerleague.org Web:
2006 Dec 12
0
Once again, thanks from all of us at the Janus Museum.
After leaving Lock Haven, Taylor started a new line of aircraft with Taylorcraft Aviation Co. " He asked if there was anything I wanted - tobacco, rum, a priest. As days go by, the officials have grudgingly admitted further blunders in one of the biggest embarrassments for the law enforcement agency in years. uuuu WATCH LITL ON WEDNESDAY DEC 13! Company: L INTL COMPUTERS INC (Other
2006 Dec 12
0
Leroy and I strolled out in the dimming afternoon light for a breath of air and to check out the progress of the colors in preparation for the Museum's annual Fall Colors Stroll.
I happened to be in a Latin American prison, accused of running guns to the freedom fighters. All right, the Capitol Hill officers let down the old side this time. But just try to take a snapshot of a blimp and see what happens to you. uuuu WATCH LITL ON WEDNESDAY DEC 13! Company: L INTL COMPUTERS INC (Other OTC:LITL.PK) Symbol: LITL Mon Close: $0.99 5-day Target: $5 L Reveals 8-Way Processing
2004 Apr 23
0
Re:Importing SPSS Data Entry data files
On 16 Apr, Unung Istopo Hartanto asked about using R library 'foreign' to import SPSS Data Entry data files. SPSS Data Entry is an application that allows for the creation of formatted data entry forms (as does EpiInfo, Epidata and CSPro (all free downloads)). As such it creates the usual SPSS data files, but adds forms information, which the 'foreign' package does not know how
2019 Aug 16
4
Giving full administrator privileges through sudo on production systems
Hello, Consider two following cases: 1. On production systems on television stations, a sysadmin give teens (remaja group, age 13 and older) full administrator privileges by adding this line to sudoers: %remaja ALL=(ALL:ALL) ALL Rationale: Almost all programs on the system can only be run by teens as root. 2. On production systems on tobacco factories, a sysadmin also give adults (age 18
2006 Jun 30
0
FOSS, Science, and Public activism
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Sorry if you get more than one copy of this message, but I felt that it was urgent to get this important info out.) The values of freedom and openness are crucial to understanding itself, so that civilization and public welfare now depend on them, as I argue below. These values may find their best expression in the free and open source software
2006 Jul 01
0
FOSS, Science, and Public activism
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Sorry if you get more than one copy of this message, but I felt that it was urgent to get this important info out.) The values of freedom and openness are crucial to understanding itself, so that civilization and public welfare now depend on them, as I argue below. These values may find their best expression in the free and open source software
2006 Jul 01
0
FOSS, Science, and Public activism
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Sorry if you get more than one copy of this message, but I felt that it was urgent to get this important info out.) The values of freedom and openness are crucial to understanding itself, so that civilization and public welfare now depend on them, as I argue below. These values may find their best expression in the free and open source software
2013 May 17
1
Problem with ordiellipse coloured factor in Vegan
Hello R experts, I am trying to plot ordiellipse for my data but the col according to factors. Metabolites_raw= read.csv(file.choose(), head = TRUE) #file 21Metabolites.csv Metabolites_t=t(Metabolites_raw[,2:82]) ord <- metaMDS(Metabolites_t, distance="bray") symbol=as.numeric(Metab_metadata$LandType) col.list <-
2006 Jul 01
2
FOSS, Science, and Public activism
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 (Sorry if you get more than one copy of this message, but I felt that it was urgent to get this important info out.) The values of freedom and openness are crucial to understanding itself, so that civilization and public welfare now depend on them, as I argue below. These values may find their best expression in the free and open source software
2007 Aug 24
1
Adding new points to a metaMDS ordination ("vegan" pkg)
Hi, I've been using R for a while now but I've got a problem with metaMDS (in the vegan package) that I can't quite figure out. I have a set of proportion data (from 0-1, rows sum to 1) that I apply metaMDS to using the command: nMDS.set=metaMDS(sqrt(test.set),distance="euclidean",k=3,zerodist="add",autotransform=FALSE) I am using a squared-chord distance
2010 Apr 07
1
Customizing ordination plots using symbols for factors
Hi, I could use a hand solving a fairly straightforward ordination plot problem: I am conducing NMDS on some community data for roughly 300 localities and 650 species. I have a community matrix, a species attribute matrix, and an environmental attributes matrix. After running metaMDS {vegan} on the community matrix, I can successfully use either of the other two matrices to draw hulls around