Displaying 20 results from an estimated 100 matches similar to: "colouring a tree"
2008 Jun 17
4
PCA analysis
Hi,
I have a problem with making PCA plots that are readable.
I would like to set different sympols instead of the numbers of my samples or their names, that I get plotted (xlabs).
How is this possible? With points, i donĀ“t seem to get the right data plotted onto the PCA plot, as I do not quite understand from where it is taken. I dont know how to
plot the correct columns of the prcomp
2013 Aug 30
3
Memory usage bar plot
Hi,
I haven't tried the code yet. Is there a way to parse this data
using R and create bar plots so that each program's 'RAM used' figures are
grouped together.
So 'uuidd' bars will be together. The data will have about 50 sets. So if
there are 100 processes each will have about 50 bars.
What is the recommended way to graph these big barplots ? I am looking
2019 Aug 08
3
Producing different text formats in R
Dear all,
I am facing a strange problem with text files formats.
I am currently using a C++ code named voro++ (http://math.lbl.gov/voro++/). This code accepts text files with four columns:
<id> <x> <y> <z>
where id is an identification number and x,y,z are the coordinates of a point in a 3D space.
The input file, name it myfile_cpp.txt, is generated by another C++ code
2019 Aug 08
0
Producing different text formats in R
>>>>> "Llu?s" == <Lluis.Hurtado at uv.es> writes:
Llu?s> Dear all,
Llu?s> I am facing a strange problem with text files formats.
Llu?s> I am currently using a C++ code named voro++ (http://math.lbl.gov/voro++/). This code accepts text files with four columns:
Llu?s> <id> <x> <y> <z>
Llu?s> where id is
2006 Jun 25
0
Colouring ''text_area'' plus scrollbar on view
Hi,
I am trying to colour a text_area input field,
including the scrollbar (2-dimensional field).
I was able to change the colour of a button associated
with a ''submit_tag'' by adding a :class and defining
properties in my CSS file.
Is something similar required?
Thanks,
Lee.
___________________________________________________________
All new Yahoo! Mail "The
2003 Oct 17
1
Query: colouring graph
Hi!
How can I fill with colors a portion of a graph (e.g.: I want fill in red the
area within two confidence intervals)?
Thank you very much
Cristian
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cristian Pattaro
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unit of Epidemiology & Medical Statistics
University of Verona
Tel +39 045 8027668
fax +39 045 505357
cristian at biometria.univr.it
2007 Feb 12
0
Colouring the polygons, correlation matrix
Hello,
Below a modified function for displaying a correlation matrix by Vincent
Zoonekynd posted in his excellent tutorial. Compared to the matrix and the
legend, the colouring of the polygons is wrong. The error is in the
sequence: col=col[N*(mat[i,j]+1)/2].
I cannot seem to devise a sequence which will make the colouring consistent
with that in the legend. Can you help? The number of different
2009 Oct 08
1
Colouring a grid segment
Hi,
I am attempting to create a polar chart (using plotrix polar.plt) and I need
to colour a segment of the grid to indicate an area of interest, say from
90-120 degrees, for arguments sake. Is this possible? I can colour the whole
grid by passing the grid.bg parameter through to radial.plot but I cannot
find a way to colour a segment.
thanks,
Darren
--
View this message in context:
2011 Jan 13
0
Colouring areas on a map with updated maptools functions
Hi -
I'm trying to plot a map from a shapefile and then colour different areas of
it depending on different attributes of those areas. A couple of years ago I
used some code to do this that would plot a map in R from a shapefile
(states within a country). It then uploaded a .txt file which had the same
number of rows as the shapefile and one column populated with numbers from 1
to 8 which
2012 Jan 07
2
colouring a table, data.frame or matrix in an interactive R session
Hi everybody,
as I am dealing with complex confusion matrices, I wonder whether there
might be a way to colour text/tabular data in R. I.e. imagine
highlighting the true positive values or certain classes in a table.
I know how to colour text in graphical output as well as how to sweave
or odfWeave coloured tables. But is there a way to do it directly in an
interactive R session?
Of course I
2024 Feb 29
2
[External] converting MATLAB -> R | element-wise operation
I decided to do a direct comparison of transpose and sweep.
library(microbenchmark)
NN <- matrix(c(1, 2, 3, 4, 5, 6), nrow = 2, byrow = TRUE) # Example matrix
lambda <- c(2, 3, 4) # Example vector
colNN <- t(NN)
microbenchmark(
sweep = sweep(NN, 2, lambda, "/"),
transpose = t(t(NN)/lambda),
colNN = colNN/lambda
)
Unit: nanoseconds
expr min lq
2012 Apr 13
1
R: Colouring phylogenetic tip labels and/or edges
Hi,
I have reconstructed ancestral character states on a phylogeny using MuSSE in the diversitree package and plotted the character state probabilities as pie charts on the nodes. I would, however, like to colour the character states of my extant species, i.e. the tip labels, the same colours as my pie charts, such that all species in state 1 are e.g. blue, species in state 2 red and species in
2011 Oct 11
2
Creating the mean using algebra matrix
Dear all,
I wanted to create the mean using a algebra matrix.
so I tried this one:
> meanAnimals <- new3%*%factorial
(Calculates the matrix multiplication of the new3 * factorial).
But I get the following error message:
Error in new3 %*% factorial : non-conformable arguments
These are my matrices:
> new3
[,1] [,2]
[1,] 1.350 8.1
[2,] 465.000 423.0
2004 May 10
3
Colouring hclust() trees
I have a data set with 6 variables and 251 cases.
The people who supplied me with this data set believe that it falls
naturally into three groups, and have given me a rule for determining
group number from these 6 variables.
If I do
scaled.stuff <- scale(stuff, TRUE, c(...the design ranges...))
stuff.dist <- dist(scaled.stuff)
stuff.hc <- hclust(stuff.dist)
2011 Jan 13
3
[fdo] bugs.freedesktop.org SSL certificate (was: HTML colouring in xedit)
On 01/13/11 04:29 AM, Krzysztof ?elechowski wrote:
> Dnia ?roda, 12 stycznia 2011 o 09:26:30 Alan Coopersmith napisa?(a):
>
>> On 01/11/11 11:19 AM, Krzysztof ?elechowski wrote:
>>> The manual page for *xedit* does not say how to switch syntax colouring off and the display for *HTML* is awful. The font used for /code/ is smaller than the font used for /text/ , to the point
2008 Mar 30
2
convert weekly time series data to monthly
I have weekly time series data with year, month, day, and price variables.
The input data set for the weekly series takes the following form:
Year month day price
1990 8 20 119.1
1990 8 27 124.5
1990 9 3 124.2
1990 9 10 125.2
1990 9 17 126.6
1990 9 24 127.2
1990 10 1 132.1
1990 10 8 133.3
1990 10 15 133.9
1990 10 22 134.5
1990 10 29 133.9
.. ... ... ...
... ... .... ....
2008 3 3 313.7
2008
2006 Mar 20
2
subsetting and NAs
R-help,
I'm getting some unexpected behavior with subsetting a data frame
(aircraft flight data) that I can't sort out.
Here is a simplified version of my data frame and problem:
> flight
FlightID TailNo FlightDate HobbsTime FlightCost Date year
1 4497 6009K <NA> 2.2 330.0 <NA> NA
2 4498 6009K <NA>
2010 Oct 05
2
loess and NA
Hi everyone.
I'm trying to do a loess with missing value on independant variable.
doc = c(2.27904, 2.59536, 7.44696, NA, 6.24264, 4.58400, 5.79192, 5.39502,
7.41216, 4.09440, 4.22868, 4.24620, 5.43804, 1.95528);
distance = c(26.5,56.5, 90.3, 123.0, 147.5, 176.0, 215.7, 229.3, 252.0,
325.3, 362.0, 419.3, 454.6, 470.0);
myloess = loess(doc ~ distance, na.action = na.omit);
plot(distance,
2008 Aug 18
3
NUT on Mac OSX 10.5
Hi!
I have iMac24" computer powered by Back-UPS CS650IE. (USB)
I Installing NUT using Fink packages from source.
Configuring NUT :
1. /sw/etc/nut/ups.conf
[CS_650]
driver = newhidups
port = /dev/ttyS1
2. /sw/etc/nut/upsd.conf
ACL all 0.0.0.0/0
ACL localhost 127.0.0.1/32
ACCEPT localhost
REJECT all
3. /sw/etc/nut/upsd.users
[nobody]
password =
allowfrom = localhost
2005 Feb 18
7
export to text file
I'm trying to export a large data frame to a text file for permanent
storage. The only thing I could find was the treeglia Package but that
didn't work. Any suggestions?
Thanks!
Christina D Smith
PhD Student, GRA
Statistics Department
Kansas State University