On 01/27/2010 10:58 AM, Steve Taylor wrote:
Hi all,
I'm producing some pie charts (Yes I know!) and plotting them into a Windows
metafile. This is for insertion into a Word document.
The circles come out rather jagged when you zoom in on them, the cause of which
I have perhaps narrowed down
Hi:
On Tue, Jan 26, 2010 at 1:19 PM, jim holtman jholt...@gmail.com wrote:
You can do something like this:
lapply(1:nrow(X), function(.indx, param){
X[.indx,] * param[.indx] # apply param[i] to row i of X
}, param=arrayOf Params)
As a follow-up to Jim's reply, another solution to the
Steve Taylor wrote:
Hi all,
I'm producing some pie charts (Yes I know!) and plotting them into a Windows metafile. This is for insertion into a Word document.
The circles come out rather jagged when you zoom in on them, the cause of which I have perhaps narrowed down to the way polygon()
I have a table (contact) with several fields and it's PK is an auto
increment field. I'm bulk loading data to this table from files which if
successful will be about 3.5million rows (approx 16000 rows per file).
However, I have a linking table (an_contact) to resolve a m:m
relationship between
On Tue, 2010-01-26 at 19:59 -0400, Colin Curry wrote:
Hello,
I'm trying plot points in an NMDS according to a factor with two levels:
fig-ordiplot(canod.sol,
type=none,cex.axis=0.9,cex.lab=0.1,pty=m,tck=-0.01)
ordisymbol(fig, y = hab, factor = habitat, rainbow = T,col = env,
legend =
Hi,
I'm getting an error that I don't understand when updating an nls
object. Here is a toy example.
dd - structure(list(Contrast = c(0.00376, 0.03759, 0.12782, 0.25564,
0.50376, 1), Response = c(0.29915, 6.13248, 29.01709, 30.0641,
29.46581, 27.67094)), .Names = c(Contrast, Response), class =
On 01/27/2010 04:08 PM, Jie TANG wrote:
Hello,
Now I draw a figure by boxplot ,but I am fail to add the tick information in
the axis? How could I ?
https://mail.google.com/mail/?ui=2ik=c88089ec0aview=attth=1266e2c8dff41fcbattid=0.1disp=attd
now I want to add the tick information in the x-axis
Dear R heleprs
Suppose I have following data
Scenarios
combination_names
series1
series2
Sc1
MAT2 GAU1
7.26554
8.409778
Sc2
MAT2 GAU2
7.438128
8.130275
Sc3
MAT3 GAU1
8.058422
8.06457
Sc4
MAT1 GAU2
8.179855
8.022071
Sc5
MAT3 GAU2
8.184033
8.191831
Sc6
MAT3 GAU2
7.50312
Hello!
I have a dataset with the dates and positions - Lat and Long columns
How do I make a scatter plot?
Do I have to cbind to combine the Lat and Long columns?
Any suggestions will be much appreciated!
Thank you
Julia
[[alternative HTML version deleted]]
Hello Bradley
I don't think there's an easy way to do what you want because the viewing
angles are internal to p3d(). Frankly p3d() tries to be all things to all
men (the arguments are a mess) and inevitably isn't as flexible as one
might wish.
I take it you want to do this:
data(bunny)
Hi,
How can I attach chart/plot to a excel file? I would like to create a
plot in R eg.
plot(1)
and save it into a Excel file, eg. test.xls in a same working directory.
Regrads,
-J
__
R-help@r-project.org mailing list
Hi Nathan,
I have a table (contact) with several fields and it's PK is an auto
increment field. I'm bulk loading data to this table from files
which if successful will be about 3.5million rows (approx 16000 rows
per file). However, I have a linking table (an_contact) to resolve a
m:m
On 01/27/2010 08:31 PM, Julia Tchernova wrote:
Hello!
I have a dataset with the dates and positions - Lat and Long columns
How do I make a scatter plot?
Do I have to cbind to combine the Lat and Long columns?
Any suggestions will be much appreciated!
Hi Julia,
I depends greatly on what you
Hi David,
I have a client running Microsoft SQL Server. I am interested in
ways of accessing data from this server using R.
Why don't you try RMySQL package? It works fine for me.
[[alternative HTML version deleted]]
__
Hi,
Look at the sort_df function from the reshape package.
cheers,
Paul
Madhavi Bhave wrote:
Dear R heleprs
Suppose I have following data
Scenarios
combination_names
series1
series2
Sc1
MAT2 GAU1
7.26554
8.409778
Sc2
MAT2 GAU2
7.438128
8.130275
Sc3
MAT3 GAU1
8.058422
Rhelp wanted wrote:
Dear All I hope that someone can help.
I am working with sp pakage and akima
library(akima)
library(sp)
imagine lots of different dataframes, of row = 100 columns = 3 of x and y
coordinates with z values I will call these data frames for the sake of this
example akima
Dear all,
I did ANOVA for many response variables (Var1, Var2, Var75000), and i got
the result of p-value like below. Now, I want to select those predictors, which
have pvalue less than or equal to 0.05 for each response variable. For example,
X1, X2, X3, X4, X5 and X6 in case of Var1,
Dear all,
I am using GARCH (1,1) model to simulate volatility.
But seems that I am missing something about how it works in R.
The following code produces negative results, though vola cannot be.
What is wrong here?
library(fSeries)
library(fGarch)
spec = garchSpec(model = list(omega = 0.01,
Ken,
You just need to wrap the rhs of your formula in I() to
get around update()'s parsing of terms.
m2 - update(m1, . ~
I(Rm * Contrast^ex/(Contrast^fx + sig^fx)),
start = list(Rm = 30, sig = 0.05, ex = 3,
fx = 3.1))
-Peter Ehlers
Ken Knoblauch wrote:
at the end of an object (attached) component (BP[1]).
But Im not able to do so. I cant isolate the coordinates, if I use the
�...@lines it turns into a list, but I need to keep the SpatialLines and S4
structure, then I will be able to transform the closed lines into polygons.
So, How can I
hello,
I have a problem to open an hdf file. i have downloaded the package 'hdf5' as
it was advised on R seek. But when i try to load the file, the R console sends
me an eror message:
setwd(C:/Documents and Settings/Karine/Bureau/data/)
#install.packages('hdf5')
library(hdf5)
sea_ice -
Thanks, I hadn't thought of that. It works fine, now.
I'll look out for that in the future.
Ken
Quoting Peter Ehlers ehl...@ucalgary.ca:
Ken,
You just need to wrap the rhs of your formula in I() to
get around update()'s parsing of terms.
m2 - update(m1, . ~
I(Rm *
Try this:
library(RDCOMClient) # from omegahat.org
xl - COMCreate(Excel.Application)
xl[[Visible]] - TRUE
xl[[DisplayAlerts]] - FALSE
wk - xl$Workbooks()$Add()
tf - tempfile()
png(tf)
plot(rnorm(100), type = 'l')
dev.off()
wk$ActiveSheet()$Pictures()$Insert(tf)
wk$SaveAs(gsub(/, ,
Hi dear users,
I try to split a matrix into a few matrices, for example, suppose that I
have 1000X4 matrix from mvrnorm(1000,m,c) with
m-matrix(c(0,0,0,2),4,1) and
c-matrix(c(1.0,0.2,-0.5,0.3,0.2,1,0.2,-0.5,-0.5,0.2,1,0.2,0.3,-0.5,0.2,1),4,4,byrow=T)
How to split the matrix into
a. 2
Try this:
a - mvrnorm(100, m, c)
On Wed, Jan 27, 2010 at 9:50 AM, ayu2008 ayuaz...@yahoo.com wrote:
Hi dear users,
I try to split a matrix into a few matrices, for example, suppose that I
have 1000X4 matrix from mvrnorm(1000,m,c) with
m-matrix(c(0,0,0,2),4,1) and
Classification: UNCLASSIFIED
Caveats: NONE
I really appreciate Mr. Dallazuanna's quick reply for my question. See below.
Kyong
-Original Message-
From: Henrique Dallazuanna [mailto:www...@gmail.com]
Sent: Thursday, January 21, 2010 3:13 PM
To: Park, Kyong H Mr CIV USA AMC
Cc:
On Jan 27, 2010, at 3:05 AM, Jim Lemon wrote:
On 01/27/2010 10:58 AM, Steve Taylor wrote:
Hi all,
I'm producing some pie charts (Yes I know!) and plotting them into
a Windows metafile. This is for insertion into a Word document.
The circles come out rather jagged when you zoom in on
On 27.01.2010 06:45, Steven Kang wrote:
Hi all,
I am trying to replace a string containing ' (apostrophe) with (two
apostrophes not inverted commas).
i.e
*asdf'qwer* replaced to *asdfqwer*
Is this feasible?
gsub(', '', asdf'qwer)
Uwe Ligges
Thanks .
On 27.01.2010 03:40, David Lubbers wrote:
I want to add just one more function to an already installed, locally
developed site-library package. Is there a good tutorial on this laying
about? From what I see the new function would touch several files and
directories in the existing package.
Hi,
I'm trying to use the XML-RPC client in the SSOAP package to connect to a
service that I have created. From other languages (Perl, Python, Ruby) this
is not a problem but the SSOAP client gives the following error:
Error in .XMLRPC(http://localhost:9000;, Cytoscape.test, .opts =
You were asked to provide details, but so far have not.
--
David.
On Jan 27, 2010, at 2:17 AM, prem_R wrote:
Yes i think this is explanation of the problem faced .Could you
please
help me to solve this .
--
View this message in context:
RMySQL is for MySQL. MySQL is not MSSQL.
There is not RMSSQL. So the best you have something to conneto
MSSQL... RODBC or you may connect.
Or as Jim point you use a java client to connect to MSSQL through
RJDBC which you may use for example a free jDBC driver like jTDS.
Caveman
On Wed, Jan
Hi Joel,
Can you paste a minimal example illustrating your problem?
Thanks,
Ista
On Wed, Jan 27, 2010 at 6:19 AM, Joel GOMBIN joel.gom...@gmail.com wrote:
Hello,
thanks to Sarah for her help. That works fine, except for one thing. When I
generate my reports, using odfWeave(), some cells in my
Dear R community
I would like to perform some statistical analysis on a data set containing
the following items: date, time, index of observation and various
covariates.
The date and time are originally extracted in the following format:
dd.mm. and hh:mm:ss respectively. R and more
Read the article in R News 4/1.
2010/1/27 Robert Kalicki robert.kali...@mph.unibe.ch:
Dear R community
I would like to perform some statistical analysis on a data set containing
the following items: date, time, index of observation and various
covariates.
The date and time are originally
Hi everybody,
From my experience (which is limited), it seems to me that '
(apostrophe) and (quotation marks) are the same in R: they are both
used for strings. The only difference would be taste.
But I've recently read about the difference between = and - and I
thought that there might be a
Hi,
so to sum up, I'm making automated reports, in the form of tables. In each
cell of the table is an expression like (e.g.) :
\Sexpr{odfCat(round(summary(get(modele1))$coefficients[1,1],2))}
For most cells, after I run odfWeave, the results are correctly put and
formatted. But in some cells
Hello *
is possible to have something like the LaTeX \href in Rd ?
\url doesn't fit very well, and I didn't find much about.
I have a long (external to the help system, a www one) url but i
would like it to be hidden from a small word with the link.
Please CC me! ;)
thanks in advance
Luca
On 27/01/2010 8:36 AM, Luca Braglia wrote:
Hello *
is possible to have something like the LaTeX \href in Rd ?
\url doesn't fit very well, and I didn't find much about.
I have a long (external to the help system, a www one) url but i
would like it to be hidden from a small word with the link.
One approach would be to use one of the URL shortening services to
define a shorter URL. The shorter URL would then appear rather than
the long original one (although there would still be a URL shown so
its not quite the functionality you asked for). For more info google
for: url shortening
On
Hi All,
I have a quick question about using plot.Predict now that the rms package
uses lattice. I'd like to add tick marks along the regression line, which
is given by data=llist(variablename) in the plot call. The ticks show up
fine, but I'd like to alter the color. I know the ticks are
Yes, checking it now, I see you are absolutely right. Sorry for this
confusion.
Cheers,
Olga
On 27.01.2010, at 12:45, Orvalho Augusto wrote:
RMySQL is for MySQL. MySQL is not MSSQL.
There is not RMSSQL. So the best you have something to conneto
MSSQL... RODBC or you may connect.
Or as
On Wed, Jan 27, 2010 at 8:56 AM, Matthew Dowle mdo...@mdowle.plus.com wrote:
How many columns, and of what type are the columns ? As Olga asked too, it
would be useful to know more about what you're really trying to do.
3.5m rows is not actually that many rows, even for 32bit R. Its depends
Hello Matthew,
I do not have a direct answer to your problem, but you could try saving it
as an EPS and then rasterizing it using a graphics program (e.g., GIMP) to
whatever resolution you wanted.
Best luck finding a real solution.
Joshua
On Tue, Jan 26, 2010 at 9:05 AM, Matthew Walker
Joel, I still don't see an example. I think you're making things more
difficult for yourself than you need to, but without an example I
don't know what exactly you're doing.
-Ista
On Wed, Jan 27, 2010 at 8:34 AM, Joel GOMBIN joel.gom...@gmail.com wrote:
Hi,
so to sum up, I'm making automated
Is there a way (with a simple plot) to select all observations greater than a
certain value and plot them with a different color than the rest of the
observations in the plot? (i.e. for all observations greater than 10, I want to
plot them in red, but the rest of the observations remain black.
On 1/27/2010 10:00 AM, Richardson, Patrick wrote:
Is there a way (with a simple plot) to select all observations greater than a
certain value and plot them with a different color than the rest of the
observations in the plot? (i.e. for all observations greater than 10, I want
to plot them
Mike Babyak wrote:
Hi All,
I have a quick question about using plot.Predict now that the rms package
uses lattice. I'd like to add tick marks along the regression line, which
is given by data=llist(variablename) in the plot call. The ticks show up
fine, but I'd like to alter the color. I
On Wed, 27 Jan 2010 14:15:28 +0100 Ivan Calandra ivan.calan...@uni-
hamburg.de wrote:
From my experience (which is limited), it seems to me that '
(apostrophe) and (quotation marks) are the same in R: they are both
used for strings. The only difference would be taste.
But I've recently
Greetings,
I am trying to write multiple .emf graphs to individual files.
Our data is from agricultural laboratories where individual soil samples are
tested for various plant nutrients, for example, ammonium nitrogen,
phosphorus, and zinc. Basically, there are three important columns: the
Joel,
The list strips off binary attachments. But Ista is correct - to
diagnose your problem
(one that I've never encountered), we need to see a short odfWeave
input file (including
data - random numbers are fine) that we can actually run, and see
table cells that
work and do not work. There's
On 27/01/10 - 08:54, Gabor Grothendieck wrote:
One approach would be to use one of the URL shortening services to
define a shorter URL. The shorter URL would then appear rather than
the long original one (although there would still be a URL shown so
its not quite the functionality you asked
Dear forum,
I need to create biplot graphic. I took a look at the code of the
biplot.default function from the stats package and I found that the arrows for
the variables are multiplied by a coefficient of 0.8 before plotting:
...
if (var.axes)
arrows(0, 0, y[, 1L] * 0.8, y[, 2L] *
Ram:
You do not say how many cases (rows in your dataset) you have, but I suspect
it may be small (a few hundred, say).
In any case, what you describe is probably just a complicated way to
generate random numbers -- it is **highly** unlikely that any meaningful,
replicable scientific results
Probably so that the end of the arrow does not overplot the labels.
Kevin
On Wed, Jan 27, 2010 at 10:28 AM, Martin Ivanov tra...@abv.bg wrote:
Dear forum,
I need to create biplot graphic. I took a look at the code of the
biplot.default function from the stats package and I found that the
Just as an aside, the scatterplot3d package does things like this very
cleverly. Essentially, when you create a plot with scatterplot3d, the function
actually returns functions with values set so that points3d(), for example,
knows the axis scaling.
Best,
--
Wolfgang Viechtbauer
Dear R-users,
Say that I have a sequence of zeroes and ones:
x - c(1,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0)
The sequences of ones represent segments and I want to report the starting and
endpoints of these segments. For example, in 'x', the first segment starts at
location 1 and ends at 3,
On 27/01/2010 10:50 AM, Blanford, Glenn wrote:
Duncan, thanks.
To the point, R supports -(2**31-1) to 2**31-1 or -2147483647 to +2147483647
-2147483648 is a valid signed integer but returns NA.
Signed integers are -2147483648 to 2147483647
Yes, R uses the -2147483648 encoding to store the
Hi,
On Wed, Jan 27, 2010 at 12:31 PM, Gregory Gentlemen
gregory_gentle...@yahoo.ca wrote:
Dear R-users,
Say that I have a sequence of zeroes and ones:
x - c(1,1,1,0,0,0,0,1,1,1,0,0,0,0,1,1,1,0,0,0,0)
The sequences of ones represent segments and I want to report the starting
and endpoints
sqldf(select * from BOD order by Time desc limit 3)
Exactly. SQL requires use of order by. It knows the order, but it isn't
ordered. Thats not good, but might be fine, depending on what the real goal
is.
Gabor Grothendieck ggrothendi...@gmail.com wrote in message
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Gregory Gentlemen
Sent: Wednesday, January 27, 2010 9:31 AM
To: r-help@r-project.org
Subject: [R] Function for describing segements in sequential data
Dear R-users,
Say
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
Try this:
unique(cbind(tag, phi))[order(unique(tag)),]
On Wed, Jan 27, 2010 at 4:13 PM, song song rprojecth...@gmail.com wrote:
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my
Thank you so much Eik. This is what I used, and it genereated 530 files of
triple graphs in less than a minute.
dev.copy(win.metafile, file = paste(myV,emf,sep=.), width = 7, height =
10, pointsize = 12)
dev.off()
Thanks again,
Jerry Floren
Minnesota Department of Agriculture
--
View this
On my Mac (Snow Leopard and R64), I had been using Rcmdr nicely. But now
when I do
library(Rcmdr)
the tk libraries load, but the Rcmdr window never appears.
library(Rcmdr)
Loading required package: tcltk
Loading Tcl/Tk interface ...
And if I try to do anything else, R goes to 100% cpu and
Hi all,
I am trying to use and place in a graph some alt characters such as
*.. Could you help me?
Thanks
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Hello everybody,
I would need some help from you.
I am trying to fit a logistic model to some presence absence data of
animals living on river islands. I have got 12 predictor variables and I am
trying to use a stepwise forward method to fit the best logistic model to
my data. I am using the
Duncan, thanks.
To the point, R supports -(2**31-1) to 2**31-1 or -2147483647 to +2147483647
-2147483648 is a valid signed integer but returns NA.
Signed integers are -2147483648 to 2147483647
Glenn D Blanford, PhD
NAIL lab, PM NSI, Fort Monmouth, NJ
glenn.blanf...@us.army.mil
Scientific Research
Good morning,
I would like to know if is possible somebody can help me with this please:
I would like to calculate the median of grouped data, this is an example:
IDPM
adt_01 25.255
adt_01 225.36
adt_01 14.2325
adt_02 15
adt_02 12.3
adt_03 15.2
adt_03 148.3
adt_03 25.5
adt_03 14.25
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
31
2
question like this:
I have data tag and phi, when tag are the same, then phi are the same. like
below, tag have value 1 2 3 4 and phi have value .9 .3 1 0.
my question is, how can I get the result like
tag=c(1,2,3,4) and corresponding phi=c(.9,.3,1,0)
tag phi
2.3
1.9
2.3
On 28/01/2010, at 2:59 AM, Joe Trubisz wrote:
Hello...
In other languages (e.g. php, perl), you have the ability to create a
valid string and execute the string to get the result. For example (in
pseudo-R):
S-which(m==4)
R-exec(S)
I know this does not work, but was wondering if there was an
m - c(1,4,2,3,7,5)
S - which(m==4)
P - parse(text=S)
R - eval(P)
R
Before you do this, see fortune(106)
fortune(106)
If the answer is parse() you should usually rethink the question.
-- Thomas Lumley
R-help (February 2005)
On Wed, Jan 27, 2010 at 8:59 AM, Joe Trubisz jtrub...@mac.com
Hi,
On Wed, Jan 27, 2010 at 12:21 PM, francesca.ior...@googlemail.com wrote:
Hello everybody,
I would need some help from you.
I am trying to fit a logistic model to some presence absence data of
animals living on river islands. I have got 12 predictor variables and I am
trying to use a
I'm going to be manipulating some 3-rd and 4-th rank tensors in
relatively high dimensions, and it would help a great deal to use only
the unique entries instead of repeating every operation 6 or 24 times.
Operations are tensor-matrix, tensor-vector, and tensor-tensor
multiplication.
Does
Hi,
I remember asking a similar question some time ago, I don't know if
the matter has evolved since then,
http://groups.google.com/group/ggplot2/browse_frm/thread/a3df8a0d1ee335fb/e3bedd50fb9bd567?lnk=gstq=theme#e3bedd50fb9bd567
There's also set_default_scale, somewhat related to your
Julia Tchernova wrote:
Hello!
I have a dataset with the dates and positions - Lat and Long columns
How do I make a scatter plot?
Do I have to cbind to combine the Lat and Long columns?
Any suggestions will be much appreciated!
Thank you
Julia
[[alternative HTML version deleted]]
Dear Jim,
The Rcmdr (version 1.5.4) works for me under R64 (R 2.10.1) and Snow
Leopard. Without more information, it's hard to know what went wrong. Have
you checked whether tcltk works? For example, try
library(tcltk
tk_choose.dir(getwd(), Choose folder)
I hope this helps,
John
Apparently tcltk is the issue. That hung my R. How do I reinstall tcltk?
On 1/27/10 3:06 PM, John Fox wrote:
library(tcltk
tk_choose.dir(getwd(), Choose folder)
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE
Lazy evaluation.
Consider:
funlist - list()
for (i in 1:5)funlist[[i]]- eval(bquote(function(x)x^.(i)))
str(funlist[[2]])
function (x)
- attr(*, source)= chr function(x)x^.(i)
funlist[[2]]
function(x)x^.(i)
## But...
body(funlist[[2]])
x^2L
body(funlist[[3]])
x^3L
Tena koe Gepeto
Not sure if the following helps since you have not been very specific in
your question:
plot(1:10)
text(3,2,'*')
text(5,2,'*5')
text(4,2,'5*5')
text(4,5,'17\n4')
text(6,5,'17\\n4')
Hei kona ra ...
Peter Alspach
-Original Message-
From: r-help-boun...@r-project.org
Tena koe Maria
?tapply
Specifically:
tapply(yourData$PM, yourData$ID, median)
HTH
Peter Alspach
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of María del
Pilar Márquez
Sent: Thursday, 28 January 2010 7:06 a.m.
To:
Dear James,
The tcltk package is part of the standard R distribution. I'm not sure why
it isn't working. You might try reinstalling R or posting a question to the
R-SIG-Mac list about tcltk not working. If you do the latter, you'll
probably get a more informative response if you provide the
Hi,
Is it possible to create a heatmap for say a 3x3 matrix of data where every
color is pre-assigned?
I can easily create a matrix of hex colors but when I try to use that matrix
as the parameter for the 'col' option it doesn't work. If it's possible to
just display a matrix of hex colors that
Hi, I have a data frame read from a .csv file, with columns
V1,V2,V3...,V18, per say, and I want to sort this data frame according
to V1, and then V2, then V3..., and so on. Is there any fast way to
get around with this problem?
Thanks.
-JJ
__
I think you want ?order
Juanjuan Chai wrote:
Hi, I have a data frame read from a .csv file, with columns
V1,V2,V3...,V18, per say, and I want to sort this data frame according
to V1, and then V2, then V3..., and so on. Is there any fast way to get
around with this problem?
Thanks.
-JJ
Hi,
It's easy with ggplot2,
cols = matrix(c(#F7FBFF, #DEEBF7, #C6DBEF, #9ECAE1, #6BAED6,
#4292C6, #2171B5, #08519C ,#08306B), ncol=3)
library(ggplot2)
m = melt(cols)
qplot(factor(X1),factor(X2),data=m, fill=value, geom=tile) +
scale_fill_identity()
HTH,
baptiste
2010/1/27 evgeny55
Hello,
I have the following data1 (index are chars):
index
1 008823
2 012689
3 004503
4 002991
5 012689
6 002845
7 012689
8 012395
9 012689
10 009302
11 002845
12 006669
13 008823
14 009302
15 025340
16 012689
and data2 in this format (index2 are chars):
index2 tic
1
Why yes. If you keep reading the helpfile for merge, you come to this bit:
Value:
A data frame. The rows are by default lexicographically sorted on
the common columns, but for ‘sort = FALSE’ are in an unspecified
order.
sort=FALSE doesn't preserve your order; instead it gives
quote
From: hammadi jbeli hammadi.jbeli_at_gmail.com
Date: Tue, 26 Jan 2010 23:40:47 +0100
I have used R formulation style and I found this in some R documentations.
/quote
Sorry, that makes no sense. I would recommend you go back to your
original dataset and pick a very small subset of
Hi:
I have a question about installing R (and modules) on a Unix system (AIX).
Can I just gunzip (or the equivalent) the installation files into my home
directory or will I need someone with root access to install R? I am hoping
that the answer is the former (I can unzip all files to a directory
Finally I´m very near on the graph I want...
The code is this (based on your guide):
First I read this data on the M.txt file:
Player TYr Dec Jose 20 14 Pepe 12 16 Andres 15 12 Guille 16 14 Pedro 18
19 Luis 14 19 Raul 18 15 Pepe 7 5
MC-read.table(MC.txt,header=T,sep=,dec=,)
#I read the
Like this?
d = read.table(textConnection(ID PM
adt_01 25.255
adt_01 225.36
adt_01 14.2325
adt_02 15
adt_02 12.3
adt_03 15.2
adt_03 148.3
adt_03 25.5
adt_03 14.25),head=T)
d
d$PM - as.numeric(d$PM)
ddply(d,.(ID),numcolwise(median))
Felipe D. Carrillo
Supervisory Fishery Biologist
?sample
On 28/01/2010, at 12:06 PM, jshort wrote:
Hi
I've recently been trying to solve some probability questions in R,
but am
having trouble.
This is one question thats been causing some hair loss:
Given the set of integers S = {1,2,3,4,5,6,7,8,9,10}, create a
function F(S)
that
On Wed, Jan 27, 2010 at 11:11 PM, Rolf Turner r.tur...@auckland.ac.nz wrote:
?sample
And/Or read Knuth.
Does this sound like a homework problem?
--
blog: http://geospaced.blogspot.com/
web: http://www.maths.lancs.ac.uk/~rowlings
web: http://www.rowlingson.com/
twitter:
Hi Jan
Is
.XMLRPC(http://localhost:9000;, Cytoscape.test, .opts = list(verbose =
TRUE))
the command you used? If not, what did you use?
Can you debug the .XMLRPC function (e.g. with options(error = recover))
and see what the XML that was sent to the server, i.e. the cmd variable
How it represents data internally should not be important as long as
you can do what you want. SQL is declarative so you just specify what
you want rather than how to get it and invisibly to the user it
automatically draws up a query plan and then uses that plan to get the
result.
On Wed, Jan
Hello all,
I am using quartz (on OS X obviously) to produce PDFs and PNGs from my
plots, for later inclusion in LaTeX.
I am typically using something like:
plot(0)
dev.print(quartz, file=foo.pdf, width=5, height=3)
dev.print(quartz, file=foo.png, width=5, height=3, dpi=72)
I want the sizes of
Hi,
I have a matrix of size 19x512x20 in R. I want to export this file into
another format which can be imported into MATLAB.
write.xls or write.table exports only one dimension.
please send a code if possible. I am very new to R and have been struggling
with this.
Thanks !
Gopi
On 01/28/2010 09:52 AM, Jose Narillos de Santos wrote:
Finally I´m very near on the graph I want...
The code is this (based on your guide):
First I read this data on the M.txt file:
Player TYr Dec
Jose20 14
Pepe12 16
Andres 15 12
Guille 16 14
Pedro 18 19
1 - 100 of 117 matches
Mail list logo