Dear All,
Many thanks to Marc Schwartz and Gabor Grothendieck who have explained
me about using expand.grid function and clearly explain how to use
JGR.
dd - expand.grid(interface = interface, screen = screen,
computer = computer, available = available)
There are several possibilities
hi
using plot(..., las=1), i.e. horizontal axis labels, the labels on the
y-axis jams if the heigth of the graphics windov becomes too low
while both x-axis and y-axis kind of removes superflus lables with las=0
(default)
is there a way to make plot behave alike with horizontal lables?
regards
On Sun, 12 Jun 2005, Søren Merser wrote:
using plot(..., las=1), i.e. horizontal axis labels, the labels on the
y-axis jams if the heigth of the graphics windov becomes too low
while both x-axis and y-axis kind of removes superflus lables with las=0
(default)
is there a way to make plot behave
Hi!
I have strings where occasionally some -chars occur.
How can I delete these chars?
I tried it with gsub but using as replace does not
work.
Thanks a lot for any hint!
Regards,
Werner
__
R-help@stat.math.ethz.ch mailing list
You can fit negative binomial using the 'zicounts' package
library(zicounts)
data(teeth)
names(teeth)
## c) fit negative binomial regression model
nb.zc - zicounts(resp = dmft~.,x =~gender + age,data=teeth, distr = NB)
nb.zc
Even,
library(zicounts)
library(Fahrmeir) # use
thanks
with 'jams' i meant messes up, but your term overlap is exactly what i
actually had in mind
though a minor problem, do you think that the code will change to enable
checking for enough height-wise space?
regards søren
- Original Message -
From: Prof Brian Ripley [EMAIL
Please define does not work. Here's what I get:
m - matrix(paste(letters[1:4], does not work.), 2, 2)
m
[,1] [,2]
[1,] a does not work. c does not work.
[2,] b does not work. d does not work.
gsub(does not work., , m)
[1] a b c d
structure(gsub(does not
Thanks for the reply, Andy!
My problem was that I could not get rid of a double
quote character within the
string. I don't know what I have done before, but now
it works...?!?!
Sorry for bothering you.
Best,
Werner
Liaw, Andy wrote:
Please define does not work. Here's what I get:
m -
I have some compiled code that works under winXp but not under linux (kernel
2.6.10-5). I'm also using R 2.1.0
After debugging, I've discovered that this code:
#define NMAX 256
long **box;
...
box = (long **)R_alloc(NMAX, sizeof(long *));
gives a null pointer, so subsequent line:
Dear Adaikalavan,
Your solution (the second function) is definitely the most elegant and
generic solution of all replies in this discussion. Robust for missing
values and flexible to allow as many calculations as desired! It is so
clear, I even managed to hack it (of course also thanks to the
Dear all,
I am currently trying to link R 2.1.0 to the GOTO BLAS 0.99.3 library on
a box running Fedora Core 3 , basically following the steps indicated in
the R-Admin document:
1: I downloaded the current libgoto.xxx.so from
On Sun, 12 Jun 2005, Stefan Sobernig wrote:
I am currently trying to link R 2.1.0 to the GOTO BLAS 0.99.3 library on
a box running Fedora Core 3 , basically following the steps indicated in
the R-Admin document:
1: I downloaded the current libgoto.xxx.so from
Stefan Sobernig [EMAIL PROTECTED] writes:
Dear all,
I am currently trying to link R 2.1.0 to the GOTO BLAS 0.99.3 library on
a box running Fedora Core 3 , basically following the steps indicated in
the R-Admin document:
1: I downloaded the current libgoto.xxx.so from
Hi list!
Debuging one of my R programs I found:
0 * NA
[1] NA
It this a bug, or intentional? I would expect 0 or 0.0 depending on the type
of the NA.
Gabor
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
I believe that's intentional. NA means we don't know what the value is, so
just about any operation with NA will result in NA. You might think
anything times 0 is 0, but:
0*Inf
[1] NaN
and there's no guarantee that the true value not observed is not Inf...
Andy
From: BORGULYA Gábor
Hi
Peter Dalgaard [EMAIL PROTECTED] writes:
Stefan Sobernig [EMAIL PROTECTED] writes:
Dear all,
I am currently trying to link R 2.1.0 to the GOTO BLAS 0.99.3 library on
a box running Fedora Core 3 , basically following the steps indicated in
the R-Admin document:
1: I downloaded
I've written:
#define NMAX 256
long **box;
...
box = (long **)R_alloc(NMAX, sizeof(long *));
gives a null pointer, so subsequent line:
for (i=0; iNMAX; i++) box[i] = (long *) R_alloc(NMAX, sizeof(long));
gives a SIGSEGV signal.
Sorry, that's not exact: I have a segmentation fault
I have uploaded version 0.96-1 of both Matrix and lme4 to CRAN. The
source package should migrate to CRAN over the weekend and binary
packages should be available some time next week.
As for previous releases, the versions of these two packages are
interdependent. The lme4 package requires
Hi R-help,
I have a database of 10 students who have written an overall of 78 essays.
The challenge? I would like to identify who wrote the 79th essay.
Has anybody used R in this context?
Even if not, would you suggest me which pattern recognition technique I might
possibly apply?
I assume that you know the usual procedure is to 'score' each essay by a
vector that gives the frequency of occurrence of commonly used (sometimes
adding subject matter specific) words and phrases. This multivariate
response is then fed in as a training set into your favorite supervised
On 6/12/05, Werner Bier [EMAIL PROTECTED] wrote:
Hi R-help,
I have a database of 10 students who have written an overall of 78 essays.
The challenge? I would like to identify who wrote the 79th essay.
Has anybody used R in this context?
Even if not, would you suggest me which pattern
Thank you for confirming this and introducing me to varcomp().
I have another question that I hope you or someone else can help me
with. I was trying to generalise my codes for variable measurement
levels and discovered that lme() was estimating the within group
variance even with a single
You will need to escape special characters. Here is an example :
my.string - Here is a quote \ in a string
my.string
[1] Here is a quote \ in a string
gsub(\, , my.string)
[1] Here is a quote in a string
See help(regexp) for more details.
Regards, Adai
On Sun, 2005-06-12 at 14:10
On 6/12/05, Adaikalavan Ramasamy [EMAIL PROTECTED] wrote:
Thank you for confirming this and introducing me to varcomp().
I have another question that I hope you or someone else can help me
with. I was trying to generalise my codes for variable measurement
levels and discovered that lme() was
On 12-Jun-05 Berton Gunter wrote:
I assume that you know the usual procedure is to 'score'
each essay by a vector that gives the frequency of occurrence
of commonly used (sometimes adding subject matter specific)
words and phrases. This multivariate response is then fed in
as a training set
Thank you.
On Sun, 2005-06-12 at 18:54 -0500, Douglas Bates wrote:
On 6/12/05, Adaikalavan Ramasamy [EMAIL PROTECTED] wrote:
Thank you for confirming this and introducing me to varcomp().
I have another question that I hope you or someone else can help me
with. I was trying to
it takes a long time to load the lme4 package.anyone else encounter this
problem?
system.time(library(lme4))
Matrix
lattice
[1] 19.90 0.30 25.56NANA
version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
Not that I am aware of. Try library(help=maps) for a list of all the
functions in the library. Anyhow, I am not sure that a US map with zipcodes
will look very good/readable, unless you focus on a very small area (i.e.
county).
Cheers
Francisco
From: Mike R [EMAIL PROTECTED]
Reply-To:
28 matches
Mail list logo