I use XEmacs + ESS, and looking for ways to add text to a region of
code, I see it is quite easy
with C-x r t. Thanks for your great advice.
On Fri, Jul 16, 2010 at 7:32 PM, Erik Iverson er...@ccbr.umn.edu wrote:
On 07/16/2010 06:59 PM, Joshua Wiley wrote:
Hello,
Is there an way to easy
Currently, we have developed an R package for our company's internal use (at
least for now). I have successfully built the package and generated zip
file which can be easily installed. However, I am not sure how to generate
the big HELP file in PDF.
Right now, I have about 30+ Rd files for
Le 17/07/10 08:23, noclue_ a écrit :
Currently, we have developed an R package for our company's internal use (at
least for now). I have successfully built the package and generated zip
file which can be easily installed. However, I am not sure how to generate
the big HELP file in PDF.
Right
Is there any way to include comments in the html output of R2HTML? Or
is there any other function in any package that produces an html
output including comments, commands and output of the commands.
Vikas Rawal
__
R-help@r-project.org mailing list
Thanks Henrique, that does the trick!!!
Bart
--
View this message in context:
http://r.789695.n4.nabble.com/Access-web-content-from-within-R-tp2289953p2292181.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org
Hi:
On Fri, Jul 16, 2010 at 3:44 PM, skan juanp...@gmail.com wrote:
Hello
I have a table of this kind:
functionx1 x2 x3
2.232 1 1 1.00
2.242 1 1 1.01
2.732 1 1 1.02
2.770 1 2 1.00
Hello,
I get some file names by list.files().
These names are in alphabetical order.
I want to change it to logical numeric order.
Example:
fileNames - c(A10, A1, A2, B1, B2, B10)
sort(fileNames)
[1] A1 A10 A2 B1 B10 B2
I want to have:
A1 A2 A10 B1 B2 B10
Is this possible?
Kind regards,
Hello R-users,
I was able using RExcel and the VBA script offered by Eric Neuwirth (modifying
it a little bit) to import dataframes on separate Excel sheets, each with its
own particular title. As such the problem is solved.
Thank you all for your suggestions.
Have a nice day ahead!
Eugen
Joshua Wiley wrote:
I use XEmacs + ESS, and looking for ways to add text to a region of
code, I see it is quite easy
with C-x r t. Thanks for your great advice.
or even
M-x comment-region
M-x uncomment-region
These are commonly bound to C-c ; (because of LISP heritage), but not in
(my
Thank you very much, I'll try it.
About my question on graphics with colour...
Imagine I have a function y=y(x1, x2, x3), I'd need four dimensions to graph
x1, x2, x3, and y.
My idea is to use the typical 3D plot adding the information of the
additional fourth variable 'y to the colour of the
David - information on calling R from within Mathematica can be found at the
following link:
http://www.mofeel.net/1164-comp-soft-sys-math-mathematica/13022.aspx
HTH,
Alan Kelly
__
R-help@r-project.org mailing list
DeaR experts,
I was asked for a log-rank pairwise survival comparison. I've a straightforward
way
to do this using the SAS system:
http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#/documentation/cdl/en/statug/63033/HTML/default/statug_lifetest_sect019.htm
What
library(gtools)
?mixedorder
--- On Sat, 7/17/10, Sebastian Gibb li...@sebastiangibb.de wrote:
From: Sebastian Gibb li...@sebastiangibb.de
Subject: [R] sort file names in numerical order
To: r-help@r-project.org
Received: Saturday, July 17, 2010, 4:31 AM
Hello,
I get some file names by
On Sat, Jul 17, 2010 at 4:31 AM, Sebastian Gibb li...@sebastiangibb.de wrote:
Hello,
I get some file names by list.files().
These names are in alphabetical order.
I want to change it to logical numeric order.
Example:
fileNames - c(A10, A1, A2, B1, B2, B10)
sort(fileNames)
[1] A1 A10 A2
Dr. Ruben Rao
Thanks for your reply .But I don't know that how should I reparameterise the
model.can you reply me in detail for reparameterization and taylor series for
delta method .
Thanks
--- On Tue, 7/13/10, Rubén Roa r...@azti.es wrote:
From: Rubén Roa r...@azti.es
Subject: RE: [R]
In my Windows XP, I just have to load package every time I open R, but not
Install !!
There must be some problem during installation !
Chakri
--
View this message in context:
http://r.789695.n4.nabble.com/installing-and-loading-packages-tp887190p2292339.html
Sent from the R help mailing list
I don't think theremost. It is normal to have to call the library function
for each package you need devices to during an R session.
chakri_amateur chakri2...@yahoo.co.in wrote:
In my Windows XP, I just have to load package every time I open R, but not
Install !!
There must be some problem
What are your user permission on the PC where you're working?
--
View this message in context:
http://r.789695.n4.nabble.com/installing-and-loading-packages-tp887190p2292385.html
Sent from the R help mailing list archive at Nabble.com.
__
thanks a lot, it works.
you wrote:
library(gtools)
?mixedorder
--- On Sat, 7/17/10, Sebastian Gibb li...@sebastiangibb.de wrote:
From: Sebastian Gibb li...@sebastiangibb.de
Subject: [R] sort file names in numerical order
To: r-help@r-project.org
Received: Saturday, July 17, 2010,
Hi guys,
I am a newbie to R, so apologies in advance.
I created this simple table in excel, saved in tab delimited .txt:
name value_1 value_2
1 bill 14
2 ben 2 2
3 jane 3 1
test -read.table(\path\to\file, sep=\t, header=TRUE)
x -c(seq[value_1])
Hi James,
On Sat, Jul 17, 2010 at 2:50 PM, James Platt james-pl...@hotmail.co.uk wrote:
Hi guys,
I am a newbie to R, so apologies in advance.
I created this simple table in excel, saved in tab delimited .txt:
name value_1 value_2
1 bill 1 4
2 ben 2 2
3
Hi James,
I believe the issue has to do with the values you assigned to 'x' and
'y'. You call the function c() on seq[value_1], but you assigned
your data not to 'seq' but to 'test'. You need to use the variable
name that you assigned your data to (as a side note seq() is a
function, so you
On 07/17/2010 01:05 AM, Joshua Wiley wrote:
I use XEmacs + ESS, and looking for ways to add text to a region of
code, I see it is quite easy
with C-x r t. Thanks for your great advice.
I use GNU Emacs. With a region of code actve, M-; will add the comment line (or
remove it if it's already
I am trying to reshape data that are in the wide format into the long format.
The design is a repeated-measures design, which combined 3 levels of shape
(circle, square, triangle) with 3 levels of color (Blue, Red, Green), for a
total of 9 variables. The wide data look like this (sorry I
Hi both,
Sorry my mistake I was trying to make a graph from another file I
called seq, I decided to use test as an example, but mixed up the two.
I have got this to work now thanks.
after doing this:
#Assign columns to variables 'x' and 'y'
x - test[ , value_1]
y - test[ , value_2]
#plot
The other question I have:
Is there any way to link the data point on the graph to the name of a
row
i.e in my table:
name value_1 value_2
bill 14
ben 2 2
jane 3 1
I click on the data point at 2,2 and it would read out ben
thanks again.
James
Hi John,
1) Read the help for the reshape package. What you want is to use the
melt function.
2) There are various ways of doing Repeated measures Anova in R, you might
want to have a look at this:
http://www.r-statistics.com/2010/04/repeated-measures-anova-with-r-tutorials/
(I especially like
I would take a look at mlogit() in package mlogit or vglm() with
family = multinomial in package VGAM.
HTH,
Josh
2010/7/16 Rosario Austral rosarioaust...@yahoo.com.ar:
Dear R-list members,
I´m using the package survey and I need to find a function for
multinomial logistic regression in a
Good day,
I would like to know if there is an efficient and accurate method for
computing the power of a tridiagonal matrix in R? The obvious method would
be eigen-decomposition, but I find that this is not very accurate, probably
because the dimensions of the matrix I am considering are large
Hello, I submitted this bug report to r-core and got a rejection
saying I should post to r-help.
This is my first time ever submitting a bug report, so forgive me if
I'm using some wrong format.
So, here's my bug report:
Component: Graphics
OS: Mac OS 10.5.8, X11 XQuartz 2.5.0
Summary:
In
On 15.07.2010 16:42, YANG, Richard ChunHSi wrote:
R Gurus:
This sounds not a FAQ. I upgraded WinEdt from 5.4 to 5.5 ,
following load RWinEdt, R-WinEdt editor appears. There are more menu
items and task icons in this version, but I failed to find a pull down
menu or task icon to send
On 15.07.2010 16:45, Christopher Desjardins wrote:
Hi,
I am curious if the status of RWinEdt and WinEdt 6.0 has changed since this
thread
http://r.789695.n4.nabble.com/RWinEdt-in-WinEdt-6-td2174285.html
Unfortunately not due to lack of time. But planned for the summer.
Uwe
Thanks for
Hi,
try adding asp=1 in symbols() to set the aspect ratio of the plotting
region to 1.
HTH,
baptiste
On 17 July 2010 18:21, nancy...@gmail.com wrote:
Hello, I submitted this bug report to r-core and got a rejection saying I
should post to r-help.
This is my first time ever submitting a
Tal,
Thanks for the information.
I actually did read through the help for the reshape package, though being
relatively new to R, I don't quite understand the ins and outs of the
command.
I tried using the melt command:
x-melt(accuracy,id='Subject')
but, it didn't give me anything different
On 2010-07-17 9:50, James Platt wrote:
The other question I have:
Is there any way to link the data point on the graph to the name of a
row
i.e in my table:
name value_1 value_2
bill 14
ben 2 2
jane 3 1
I click on the data point at 2,2 and it
On 17.07.2010 12:39, skan wrote:
Thank you very much, I'll try it.
About my question on graphics with colour...
Imagine I have a function y=y(x1, x2, x3), I'd need four dimensions to graph
x1, x2, x3, and y.
My idea is to use the typical 3D plot adding the information of the
additional
On Fri, 2010-07-16 at 11:17 -0400, linda.s wrote:
I made a plot, but after I made a second plot, the previous plot was
gone. How can I save all the plots in a file (I do not manually copy
and paste them one by one)?
Thanks.
Linda
[I presume you addressed this to Duncan Murdoch for a good
On Sat, 2010-07-17 at 12:44 +0800, elaine kuo wrote:
Dear List,
I tried to do cca based on species data and environmental variables (formula
instead of community data).
However, there was an error saying row sums must be 0.
I searched the previous related messages but found few solutions.
On Sat, 2010-07-17 at 13:15 +0800, elaine kuo wrote:
Dear List,
I tried to conduct cca using csv data but failed.
The message said that data.frame is required.
Please kindly share how to convert a csv-imported file to a data.frame.
Thank you.
It was a dataframe. You aren't giving
On Sat, 2010-07-17 at 13:31 +0800, elaine kuo wrote:
Dear List,
I used spec and envi for cca in ade4. (both are data.frame)
However, there is a message telling that
error in if (nf rank) nf - rank R
missing value in TRUE/FALSE
Please kindly help how to modify the code below.
Thank
Hello R users,
I am a researcher at the University of Michigan looking for a solution to an R
problem. I have loaded my data in from a mysql database and it looks like this
data
ds c1 c2
1 2010-04-03100 0
2 2010-04-30 11141 15
3 2010-05-01 3
i am a beginner and tried to provide a reproducible example. is the
following style a correct one?
Thanks.
dput(unem)
structure(list(a = c(10.2, 9.8, 9.5, 8.3, 7.9, 8.8, 8.9, 9.3,
+ 9.2, 9, 9.5, 12, 15.7, 16.1, 15.4, 14.7, 13.9, 15.3, 15.4, 15,
+ 13.8, 13.9, 14.1, 15.8), b = c(7, 6.7, 6.8, 6.1,
Hi John,
Try posting a sample of your data in reply to this e-mail by using:
dput(head(accuracy))
And me (or someone else) will be sure to fix your command.
Regarding the ANOVA, read more :)
Tal
Contact
Details:---
Contact
Open a new device before plotting, do your plotting, close the device.
For example, using a PDF device via pdf():
pdf(my_plots.pdf, height = 8, width = 8, pointsize = 10,
version = 1.4, onefile = TRUE)
for(i in 1:10) {
y - rnorm(100)
x - rnorm(100)
plot(y ~ x)
}
dev.off()
On 17.07.2010 20:52, linda.s wrote:
Open a new device before plotting, do your plotting, close the device.
For example, using a PDF device via pdf():
pdf(my_plots.pdf, height = 8, width = 8, pointsize = 10,
version = 1.4, onefile = TRUE)
for(i in 1:10) {
y- rnorm(100)
x-
Hi Tal,
Here is the output as you requested:
structure(list(Subject = c(101L, 102L, 103L, 104L, 105L, 106L
), CircleBlue = c(95L, 80L, 80L, 85L, 70L, 70L), CircleRed = c(100L,
90L, 70L, 80L, 75L, 75L), CircleGreen = c(100L, 100L, 95L, 100L,
95L, 75L), SquareBlue = c(95L, 85L, 90L, 90L, 70L,
On 13.07.2010 09:42, venkatesh bandaru wrote:
Dear R-help team ,
I am venkatesh, student of University of Hyderabad, India. I couldn't able to access
R-repositories at Your specified servers.It is giving error such as Couldn't able
to access media.
It would be helpful to see what you
Hi,
I've been trying to install tkrplot and have been coming across this error.
Loading required package: tcltk
Loading Tcl/Tk interface ... Error : .onLoad failed in loadNamespace() for
'tcltk', details:
call: dyn.load(file, DLLpath = DLLpath, ...)
error: unable to load shared library
Try this:
library(reshape)
accuracy - structure(list(Subject = c(101L, 102L, 103L, 104L, 105L, 106L
), CircleBlue = c(95L, 80L, 80L, 85L, 70L, 70L), CircleRed = c(100L,
90L, 70L, 80L, 75L, 75L), CircleGreen = c(100L, 100L, 95L, 100L,
95L, 75L), SquareBlue = c(95L, 85L, 90L, 90L, 70L, 40L),
Michael,
This will get you started. What you are doing with the seven rows isn't
clear
from your description. I made the dates into Date objects. I called your
data
mydata as data is potentially ambiguous.
Rich
mydata - read.table(header=TRUE, textConnection(
ds c1 c2
1
In a prior life I was able to use slplot can change the xlim and ylim such
that the ellipse was a perfect circle. It seems that the xlim and ylim
are no longer supported by the slplot function. Any thoughts on how I can
change this?
Thank you kindly,
I get some file names by list.files().
These names are in alphabetical order.
I want to change it to logical numeric order.
Example:
fileNames - c(A10, A1, A2, B1, B2, B10)
sort(fileNames)
[1] A1 A10 A2 B1 B10 B2
I want to have:
A1 A2 A10 B1 B2 B10
Is this possible?
Mike,
I am slightly unclear on what you want to do. Do you want to check rows
1 and 7 or 1 *to* 7? Should c1 be at least 100 for *any one* or *all*
rows you are looking at, and same for c2?
You can sort your data like this:
data - data[order(data$ds),]
Type ?order for help. But also do this
Ista Zahn wrote:
Hi,
On Fri, Jul 16, 2010 at 5:18 PM, CC turtysm...@gmail.com wrote:
I am sure this is a very basic question:
I have 600,000 categorical variables in a data.frame - each of which is
classified as 0, 1, or 2
What I would like to do is collapse 1 and 2 and leave 0 by itself,
An alternative using the base reshape function:
one =
reshape(accuracy,idvar='Subject',varying=list(c(2,3,4),c(5,6,7),c(8,9,10)),
direction='long',timevar='shape')
two = reshape(one,idvar=c('Subject','shape'),varying=list(3:5),
direction='long',timevar='color')
Please look at Peter Dalgaard's response a little more
carefully. There's a big difference between the levels=
argument (which must be unique) and the labels= argument
(which need not be). Here are two ways
to do what you want:
d = 0:2
factor(d,levels=0:2,labels=c('0','1','1'))
[1] 0 1 1
Sorry for not being clear.
In the dataset there are around 100 or so days of data (in the case also rows
of data)
I need to make sure that the person meets that c1 is at least 100 AND c2 is at
least 8 for 5 of 7 continuous days.
I will play with what I have and see if I can find out how to do
Hi:
I'm a little more familiar with ggplot2 than zoo for graphing multivariate
time series, so my response is based on that bias.
On Sat, Jul 17, 2010 at 11:41 AM, linda.s samrobertsm...@gmail.com wrote:
i am a beginner and tried to provide a reproducible example. is the
following style a
On Sat, Jul 17, 2010 at 2:41 PM, linda.s samrobertsm...@gmail.com wrote:
The X axis on the plot now starts from 2008.0; Since the data starts
from January 2008, can I make it 2008.1, and also show 2009.12 on the
axis?
See the example of a fancy X axis in this post:
On Sat, 2010-07-17 at 14:52 -0400, linda.s wrote:
Open a new device before plotting, do your plotting, close the device.
For example, using a PDF device via pdf():
pdf(my_plots.pdf, height = 8, width = 8, pointsize = 10,
version = 1.4, onefile = TRUE)
for(i in 1:10) {
y -
In which package would one find slplot? It's not in any of the 1800+
packages on my system...
Dennis
On Sat, Jul 17, 2010 at 1:28 PM, Shawn Way s...@meco.com wrote:
In a prior life I was able to use slplot can change the xlim and ylim such
that the ellipse was a perfect circle. It seems that
On Sat, Jul 17, 2010 at 9:03 PM, Peter Dalgaard pda...@gmail.com wrote:
Ista Zahn wrote:
Hi,
On Fri, Jul 16, 2010 at 5:18 PM, CC turtysm...@gmail.com wrote:
I am sure this is a very basic question:
I have 600,000 categorical variables in a data.frame - each of which is
classified as 0, 1,
Hi Michael,
The days in your example do not look continuous (at least from my
thinking), so you may have extra requirements in mind, but take a look
at this code. My general thought was first to turn each column into a
logical vector (c1 = 100 and c2 = 8). Taking advantage of the fact
that R
Hi all, I appreciate the help this list has given me before. I have a
question which has been perplexing me. I have been working on doing a
Bayesian calculating inserting studies sequentially after using a
non-informative prior to get a meta-analysis type result. I created a
function using three
I have a data file in which one of the columns is country code and NA is the
code for Namibia.
When I read the data file using read.csv, NA for Namibia is being treated as
null or NA
How can I prevent this from happening?
I tried the following but it didn't work
input -
65 matches
Mail list logo