Displaying 20 results from an estimated 2000 matches similar to: "R on the web"
2002 Mar 19
2
fitting with lm
Dear All,
I'm getting confused with the concept R uses to do regression using lm.
I'm afmiliar with gnuplot and the build-in fit command, but couldn't get
R's lm to work on my data.
I know that my data follows a powerlaw or maybe an exponential function,
and I'd like to determine the best fitting factors for the formula:
a*x^b where b < 0.
I've tried thge follwoing:
2002 Mar 09
1
labels outside plotting region
Hello,
I've just started R, and I'm getting a bit mad using it. I've managed to
produce a barplot with the labels for the ytick marks placed
horizontally (perpendicular to the y-axis) usiing par(las=1). The
problem is that most of my labels are in part beyond the plotting area
because they are rather long (e.g. "H. sapiens", "D. melanogaster" ...).
What is the
2002 Mar 12
4
swapping rows with columns
Hello,
I've read in a data file as a frame and now I'd like the columns to be
rows and the rows to be columns. What's the easiest way to do this in R?
> class(d)
[1] "data.frame"
> rownames(d)
[1] "98x101" "40x98" "30x40" "0x30"
> colnames(d)
[1] "H..sapiens" "C..elegans"
2002 Jun 23
1
Kolmogorov-Smirnov tests: overflow
Dear All,
I've got a problem with ks.test. I've two realy large vectors, that I'd
like to test, but I get an overflow, and the p-value cannot be
calculated:
> length(genomesv)
[1] 390025
> length(scopv)
[1] 140002
> ks.test(genomesv, scopv)
Two-sample Kolmogorov-Smirnov test
data: genomesv and scopv
D = 0.2081, p-value = NA
alternative hypothesis: two.sided
2002 Mar 11
1
filled bars with patterns
Hello All,
I've created a view stacked barplots where some of the bars should
contain a pattern such as stripes. Adjacent bars of the same stack
should have the same colour but a different finnling pattern. Is R able
to do that?
Anyway, it's not the end of the world if not, a workaround would be to
export the plot in fig format and then using xfig to make the bar
filling striped,
2002 Mar 11
1
filled bars with patterns
Hello All,
I've created a view stacked barplots where some of the bars should
contain a pattern such as stripes. Adjacent bars of the same stack
should have the same colour but a different finnling pattern. Is R able
to do that?
Anyway, it's not the end of the world if not, a workaround would be to
export the plot in fig format and then using xfig to make the bar
filling striped,
2002 Mar 12
1
mathematical expression in legend
Hello,
I'm trying to put a mathematical expression into a legend, but R
complains about a syntax error. Basically i'd like to do this:
legend.text = c(expression(x < 10), expression(x >= 10))
The manual says that one can only pass mathematical expressions to axis,
text etc. but not to the legend command?
Is there a workaround for this?
thanks a lot for help,
Arne
--
Arne
2002 Jun 22
1
KS test and data format
Dear All,
I've a problem with the data format and the ks.test() function
(Kolmogorov-Smirnov). The test function expects two numeric vectors, but
the two data distributions I'd like to test are actually in the
following format:
2 4
3 6
5 6
7 2
...
where the 1st column is a data position and the 2nd is the frequency
this data point is observed. To generate an appropiate vector
2003 Oct 08
1
Installing GLMMGibbs problems
Dear all;
Installing the GLMMGibbs package to my Solaris Unix box, I got an compiling
error:
ars.c:497:10: missing terminating " character
ars.c: In function `dump_arse':
ars.c:498: error: parse error before "mylesj"
.....
The compiling error was reported to the list on Jul 3, 2003. According to
Prof. Brain Ripley this is a known problem with the package and gcc 3.3,
2000 Nov 07
1
No subject
I have just moved to a new workplace. I saved an R workspace into
an ascii file at my old workplace and have ftp'ed it down here.
Unfortunately when I try to load the get a message saying that
the file is corrupted. It's a big file, but my experience suggests
that this normally refers to a problem at the beginning or end of a file,
so I thought it might be worth enclosing just the
2000 Dec 15
2
debugger not recognizing C routine names
Something seems to have changed with the debugger
option since I used it last,
unless I've forgotten something really stupid
(much more likely) . The
debugger doesn't seem to recognise the names of C routines
*****************
[jonm at localhost jonm]$ cat test.c
#include "S.h"
void test(int *x,int *y){
y[0]=x[0]+2;
}
[jonm at localhost jonm]$ R COMPILE test.c
gcc
2000 Dec 15
0
Gibbs sampling in GLMMs: Beta testers required
Sort of a warning before I start: This post may be considered to
describe a rather amateurish approach to distributing software
which may annoy some people, but I sincerely hope it doesn't.
I've been working for some years with David Clayton on a project which
started life as
an S package but has now turned into an R library. It is (now)
called GLMMGibbs and estimates the parameters of
2000 Nov 07
1
ascii load file ( was Re: none)
> Date: Tue, 7 Nov 2000 17:34:37 +0000 (GMT)
> From: Jonathan Myles <mylesj at icrf.icnet.uk>
>
> I've now got a colleague at MRC-BSU to compress it, and email it as an
> attachment to my UNIX machine, where I uncompressed it and then ftp'ed
> it in ascii format to my laptop. So it doesn't seem to be an ascii/bin
> issue ...
Is it possible to get a binary
2010 Mar 17
1
question about multinom function (nnet)
Dear All.
I have the following table that I want to analyze using multinom
function
freq segments sample
4271 Seg1 tumour
4311 Seg2 tumour
3515 Seg1 normal
3561 Seg2 normal
I want to compare model with both factors to the one where only sample
is present.
model1=multinom(freq~segments+sample,data=table)
model2=multinom(freq~ sample,data=table)
2004 Nov 05
2
Creating .Rout.save files for package subdirectory "tests"
Hi,
I added the "tests" subdirectory and a test file (say "myTest.R") to our
"systemfit" package. Up to now I create the "myTest.Rout.save" file with
> R CMD BATCH --vanilla myTest.R myTest.Rout.save
However, "R CMD check" reports two differences between myTest.Rout.save and
the output of myTest.R:
a) myTest.Rout.save contains following
2004 May 13
3
storage of lm objects in a database
Hello,
I'd like to use DBI to store lm objects in a database. I've to analyze many of linear models and I cannot store them in a single R-session (not enough memory). Also it'd be nice to have them persistent.
Maybe it's possible to create a compact binary representation of the object (the kind of format created created by "save"), so that one doesn't need to write
2010 May 10
2
Robust SE & Heteroskedasticity-consistent estimation
Hi,
I'm using maxlik with functions specified (L, his gradient & hessian).
Now I would like determine some robust standard errors of my estimators.
So I 'm try to use vcovHC, or hccm or robcov for example
but in use one of them with my result of maxlik, I've a the following
error message :
Erreur dans terms.default(object) : no terms component
Is there some attributes
2009 Jul 12
2
Heckman Selection MOdel Help in R
Hi Saurav!
On Sun, Jul 12, 2009 at 6:06 PM, Pathak,
Saurav<s.pathak08 at imperial.ac.uk> wrote:
> I am new to R, I have to do a 2 step Heckman model, my selection equation is
> below which I was successful in running but I am unable to proceed further,
>
>
>
> I have so far used the following command
>
> glm(formula = s ~ age + gender + gemedu + gemhinc + es_gdppc +
2006 Mar 01
6
Same CID on multiple users(friends9 in SIP.conf
Hi there.
Is it possible to have different sip users have the same CallerId number
in sip.conf.
I need this because we got multiple companies on this Asterisk box.
Company A's internal numbers:
CID: User:
1000 - User 1
2000 - User 2
3000 - User 3
4000 - User 4
Company B's internal numbers:
CID: User:
1000 - User 5
2000 - User 6
3000 - User 7
4000 - User 8
Is this allowed?
Regards
2012 Oct 17
24
[zfs] portable zfs send streams (preview webrev)
We have finished a beta version of the feature. A webrev for it
can be found here:
http://cr.illumos.org/~webrev/sensille/fits-send/
It adds a command ''zfs fits-send''. The resulting streams can
currently only be received on btrfs, but more receivers will
follow.
It would be great if anyone interested could give it some testing
and/or review. If there are no objections,