michael watson (IAH-C) wrote:
A quickie - how do I include preformatted text within the details section of
an .Rd file?
Thanks
Mick
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
Mulholland, Tom wrote:
I thought it would be quite simple to generate a number of sequences, but my
only answer is to loop and this doesn't seem in keeping with R's capabilities.
In short I have the start and finish positions of several (well thousands
probably) sequences. So I am looking at how
On 23-Dec-04 Gene Cutler wrote:
On Dec 22, 2004, at 5:00 PM, (Ted Harding) wrote:
so, for me, the tabs are coming through as such.
(R-1.8.0, RH9 Linux)
What gives you the information that \t has expanded to spaces?
Often, writing a file out to a display, or importing it into an
editor
Hello,
you can fit a density using MASS::kde2d and then do a contour plot
(?contour) and scatterplot your data :
x - rnorm(500)
y - rnorm(500)
require(MASS)
d - kde2d(x,y,n=50)
image(d)
contour(d,add=T)
points(x,y,pch=20)
Romain.
bogdan romocea a écrit :
Dear R users,
I'm interested in a
Hi, there:
Does anybody know how to calculate Log value as Ln()
and Exp( ) value in R please?
Many thanks
Qin
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
I updated the e1071 package but still can't find
the other three arguments for plot.svm.
It's in e1071 since version 1.5-3. (current version: 1.5-4).
In addition, I can plot a
gray-colored contour region by adding the argument col = c(gray(0.2),
gray(0.8)). But I failed to change those
If I try to tune my svm with the code:
Tune - tune.svm(Data.Train, Class.Train, type=C-classification,
kernel=radial, gamma = 2^(-1:1), cost = 2^(2:4))
i get a windows Messagebox with a error in the application Rgui.exe
and the message: Die Anweisung in 0x6c48174d verweist auf Speicher
liu qin wrote:
Hi, there:
Does anybody know how to calculate Log value as Ln()
and Exp( ) value in R please?
Do you know how to read the documentation and the posting guide? Please
do so before posting!
See ?log and ?exp
Uwe Ligges
Many thanks
Qin
On 23 Dec 2004 at 1:05, liu qin wrote:
Hi, there:
Does anybody know how to calculate Log value as Ln()
and Exp( ) value in R please?
Is something wrong with
log(x)
log2(x)
exp(x)
Cheers
Petr
Many thanks
Qin
__
Hi,
I often run into this problem:
I have a data.frame with one column containing entries that are not
unique. What I then want is a subset of the data.frame in which
the entries in that column have become the 'unique' of the original
column.
Normally I program around it by taking the unique of
Rudi Alberts [EMAIL PROTECTED] writes:
something like this, however, this gives me the complete df.
df[df$colname %in% unique(df$colname),]
or this, which doesnt work
df[df$colname == unique(df$colname),]
df[!duplicated(df$colname),]
--
O__ Peter Dalgaard
On Thu, Dec 23, 2004 at 11:28:31AM -0800, Rudi Alberts wrote:
Hi,
I often run into this problem:
I have a data.frame with one column containing entries that are not
unique. What I then want is a subset of the data.frame in which
the entries in that column have become the 'unique' of the
Dear useRs,
a new and much improved version of the zoo package for indexed totally
ordered observations (such as irregular time series) is available from
CRAN. It allows indexing observations with time/index vectors of arbitrary
class and extends many of the standard generic functions also
Brian D Ripley wrote:
On Thu, 9 Dec 2004, Ray Brownrigg wrote:
Date: Wed, 08 Dec 2004 09:33:22 -0400
From: Kjetil Brinchmann Halvorsen [EMAIL PROTECTED]
I am trying to install a local package and get this unexpected
error:
-- Making package UMSA
adding build stamp to
First, my site will be down December 27-28 because of a network
upgrade at Penn. It will also be down at least one day before
that, while I upgrade the operating system. (And another day
some time in January because of a planned power outage.)
Second, I have replaced the search engine in my R
Hi all,
I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2.
When I try:
library()
it shows the package tcltk.
But if I try:
library(tcltk) I get the same error message like in this thread:
http://tolstoy.newcastle.edu.au/R/help/01c/3418.html
The same, tcl and tk are
What about aggregate?
DF - data.frame(a=c(1,1,2), b=1:3, c=letters[1:3])
aggregate(DF[2:3], DF[1], function(x)x[1])
a b c
1 1 1 1
2 2 3 3
hope this helps. spencer graves
Göran Broström wrote:
On Thu, Dec 23, 2004 at 11:28:31AM -0800, Rudi Alberts wrote:
Hi,
I often run into this
On Thu, 2004-12-23 at 11:32 -0500, Liviu M Vladutu wrote:
Hi all,
I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2.
Are you really running 2.1.0 (which is an unreleased development
version) or are you running 2.0.1, which is the present released
version?
What does the
I have data that looks (very roughly) like this...
Declarative:
Several 'groups', each group with a very variable number of
data points associated.
Procedural:
v.1 - c(rep(50,1), rep(5,5), rep(2,10)) # Set up
v.2 - c('a','b','c','d','e','f','g','h', # the
Spencer Graves writes:
There should be a caveat with psycho-visual experimentation:
Tufte (1983, p. 183) says that 5-10 percent of viewers are color
deficient or color blind.
The vischeck.com web site provides examples that show color-normal
people what the world looks like to
Spencer's solution is considerably more inefficient then using duplicated()
and subscripting: in a small example with 3 columns and 1 rows, it took
5 times as long on my Windows setup.
The reason is that aggregate() is basically a wrapper for tapply and tapply
basically loops in R.
Thanks, Bert, for the correction. Moreover, I see now that mine
didn't even give an acceptable answer, converting levels a and c of
the factor DF$c to 1 and 3. I confess I didn't read the documentation
before replying. Here is duplicate with my example case:
DF[!duplicated(DF$a), ]
On Dec 23, 2004, at 12:46 AM, (Ted Harding) wrote:
However, when (as I suggested last time) I modify your function
'write.matrix' so as to remove occurrences of format(...)
(leaving only the ... ) then it seems to be OK.
Thanks, Ted. 'format' was the problem. I didn't write the write.matrix
[NOTE: This is a periodically posted (~ once/month) message for new R users.
Please let me know by private email if you object to this as a waste of
space]
Newbies (and others!) may find the R Reference Card made available by Tom
Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf
My guess is that the syntax error is in a data file. Please read
http://developer.r-project.org/200update.txt
and check that you can actually load all your data files (something that
was unchecked before).
On Wed, 22 Dec 2004, Niels Waller wrote:
I am running R 2.0.1 on a Windoze XP OS. I
On 12/23/04 10:20, Berton Gunter wrote:
Newbies (and others!) may find the R Reference Card made available by Tom
Short and Rpad at http://www.rpad.org/Rpad/Rpad-refcard.pdf
useful.
There are two other reference cards, and all three are linked
from my R site (below). [You might add these to
On Thu, 23 Dec 2004, Deborah Swayne wrote:
Spencer Graves writes:
There should be a caveat with psycho-visual experimentation:
Tufte (1983, p. 183) says that 5-10 percent of viewers are color
deficient or color blind.
The vischeck.com web site provides examples that show color-normal
On Thu, 2004-12-23 at 11:32 -0600, Marc Schwartz wrote:
On Thu, 2004-12-23 at 11:32 -0500, Liviu M Vladutu wrote:
Hi all,
I have R Version 2.1.0 installed on a box running Redhat Fedora Core 2.
Are you really running 2.1.0 (which is an unreleased development
version) or are you running
Hello,
I was wondering if there is a way to ignore the error
message you get when some of the data means you
compare are constant in some lines of your data frame.
I'd like to go ahead with t.test and get the
calculated p-values anyway in such a case.
Thanks
-burak
bogdan romocea wrote:
Dear R users,
I'm interested in a combination of a scatterplot and an image graph.
I have two large vectors. Because in the scatterplot some areas are
sparsely and others densely populated, I want to see the points, and
I also want their color to be changed based on
30 matches
Mail list logo