On 3/24/2007 1:10 AM, Aimin Yan wrote:
Use getwd(), I can get current directory name.
Now I want to get current workspace name, Does anyone know how to do that?
It is search()[1].
If you mean instead the name of the file that was loaded on startup, as
far as I know that's not available in
Dear all,
I have a question about the estimation of standard error estimates of
coefficients in latent class finite mixture for polytomous variables using
bootstrapping methods,
Can one suggest what I should have for my analysis? I would like to know if I
can use the function:
resamples -
On 3/24/2007 1:43 AM, Ranjan Maitra wrote:
Dear list,
Does anyone have a suggestion (or better still) code for sampling from the
uniform distribution over the convex hull of a set of points?
Are you talking about two dimensional points, or higher dimensions? The
suggestion below works for
Dear list,
I have some trouble generating a frequency table over a number of vectors.
Creating these tables over simple numbers is no problem with table()
table(c(1,1,1,3,4,5))
1 3 4 5
3 1 1 1
, but how can i for example turn:
0 1 0
0 0 1
0 1 0
1 0 0
0 1 0
1 0 0
into
0 0 1 1
1 0 0 2
0 1
Dear R-users,
I was wondering if anybody knows if it's possible to obtain a p value
for the full model of a GLMM with the lme4 package. I was told that I
should check whether the full model including all the predictor
variables is significant before doing stepwise regression or further
1. This is probably overkill, but works:
as.data.frame(table(as.data.frame(m)))
V1 V2 V3 Freq
1 0 0 00
2 1 0 02
3 0 1 03
4 1 1 00
5 0 0 11
6 1 0 10
7 0 1 10
8 1 1 10
You can easily get rid of 0-frequency rows afterward.
2. Not sure
On 24-Mar-07 05:43:06, Ranjan Maitra wrote:
Dear list,
Does anyone have a suggestion (or better still) code for sampling from
the uniform distribution over the convex hull of a set of points?
Many thanks and best wishes,
Ranjan
I was curious if anyone would come up with some ready-made
Duncan Murdoch wrote:
Suggestion: Find a rectangular region containing the hull, and sample
uniformly there. Accept points that don't expand the hull of the
original points.
This is a feasible solution only in lower dimensions; the area of the
convex hull can become exponentially small
Your exampleisnot reproducible, but I guess you want to change the
par(mar) setting ...
Uwe Ligges
Joseph Wakeling wrote:
Hello all,
I'm having a bit of a problem with x and y axis labels. Two things:
first, if I want to create a plot with,
plot.new()
plot.window(.)
Hello!
Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want
to work with the data in R. The contents are similar to my following
example.
I have a list with ID-number, personal name and two kinds of
loan-values. I want to aggregate the list, that for each person only one
row
On 3/24/07, Delcour Libertus [EMAIL PROTECTED] wrote:
Hello!
Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want
to work with the data in R. The contents are similar to my following
example.
I have a list with ID-number, personal name and two kinds of
loan-values. I
Try this:
aggregate(atest[3:4], atest[1:2], sum)
Use a data base and SQL is you don't otherwise have enough
computer resources.
On 3/24/07, Delcour Libertus [EMAIL PROTECTED] wrote:
Hello!
Given is an Excel-Sheet with actually 11,000 rows and 9 columns. I want
to work with the data in R.
On Sun, 11 Mar 2007, NOEL Yvonnick wrote:
Dear R users,
I'm trying to have a gWiddgetsRGtk2 script run under R-2.4.1. The script
run OK under Linux but all accentuated characters appear as ? when the
script is run under Windows.
As Gtk+ requires UTF-8, I thought it was the source of the
Uwe Ligges wrote:
Your exampleisnot reproducible, but I guess you want to change the
par(mar) setting ...
Sorry for not adding some extra stuff to make it work. I assumed there
wasn't a need for reproducibility, just to let me know what command was
missing. Anyway, thanks very much, par(mar)
Joseph Wakeling wrote:
Uwe Ligges wrote:
Your exampleisnot reproducible, but I guess you want to change the
par(mar) setting ...
Sorry for not adding some extra stuff to make it work. I assumed there
wasn't a need for reproducibility, just to let me know what command was
missing.
On 24-Mar-07 14:00:44, Ted Harding wrote:
[...]
Another possible approach (again in two dimensions) could be based
on the following.
First, if A, B, C are the vertices of a triangle, let (w1,w2,w3)
be sampled from the 3-variate Dirichlet distribution with index
(shape) parameters (1,1,1).
Hi, All;
A question not related to R.
I tried to use the biometrics Latex template from the journal homepage and
found it does not work. Does anyone mind sharing your well-worked latex
template? And I use Latex under Windows XP.
Thank you in advance for your help.
--
Best regards,
Tony
Our Last pick Doubled in 48 hours
Check this company out
CRITICAL Care N E W
SYM-C-C-T-I
Stron g B reccomended at 20 Cents
This is projected to go to $1
This is a Real Business not a fly by night
Get in Monday, Don't Regret later!!
two free throws made it 109-73 in the waning seconds of the
On 3/14/2007 11:39 AM, Kevin R. Coombes wrote:
Hi,
I don't know of a standard way to indicate this; I would have suggested
combined,expand=FALSE
(with expand=TRUE the default), except for the fact that Seth Falcon
already suggested the same notation in his response...so I can only
Hello, Andreas
I'm glad the previous replies helped you solve your problem.
I think your original problem, though,
was caused by a typo. Note
the comma between the month and the year in your script and
the
period between the month and the year in Jim Holtman's
script.
From Jim Holtman:
Greetings to all.
I need to concatenate data frames that do not have all the same variable
names, there is only a partial overlap in the variables. So, for
example, if i have two data frames, a and b, that look like the following:
a
a b
1 1 4
2 2 5
3 3 6
4 4 7
5 5 8
b
c a
1 1 10
2 2 11
3 3
On Sat, 2007-03-24 at 21:47 -0400, Daniel Folkinshteyn wrote:
Greetings to all.
I need to concatenate data frames that do not have all the same variable
names, there is only a partial overlap in the variables. So, for
example, if i have two data frames, a and b, that look like the following:
on 03/24/2007 10:00 PM Marc Schwartz said the following:
On Sat, 2007-03-24 at 21:47 -0400, Daniel Folkinshteyn wrote:
Greetings to all.
I need to concatenate data frames that do not have all the same variable
names, there is only a partial overlap in the variables. So, for
example, if i have
On 3/24/07, Daniel Folkinshteyn [EMAIL PROTECTED] wrote:
Greetings to all.
I need to concatenate data frames that do not have all the same variable
names, there is only a partial overlap in the variables. So, for
example, if i have two data frames, a and b, that look like the following:
Have
On Sat, 2007-03-24 at 22:16 -0400, Daniel Folkinshteyn wrote:
on 03/24/2007 10:00 PM Marc Schwartz said the following:
On Sat, 2007-03-24 at 21:47 -0400, Daniel Folkinshteyn wrote:
Greetings to all.
I need to concatenate data frames that do not have all the same variable
names, there is
on 03/24/2007 11:13 PM Marc Schwartz said the following:
On Sat, 2007-03-24 at 22:16 -0400, Daniel Folkinshteyn wrote:
on 03/24/2007 10:00 PM Marc Schwartz said the following:
On Sat, 2007-03-24 at 21:47 -0400, Daniel Folkinshteyn wrote:
Greetings to all.
I need to concatenate data frames
On 3/24/07, Marc Schwartz [EMAIL PROTECTED] wrote:
On Sat, 2007-03-24 at 22:16 -0400, Daniel Folkinshteyn wrote:
on 03/24/2007 10:00 PM Marc Schwartz said the following:
On Sat, 2007-03-24 at 21:47 -0400, Daniel Folkinshteyn wrote:
Greetings to all.
I need to concatenate data frames
Hi Andy,
I hadn't realized such objects (list matrices, list arrays, data frames with
nested lists) existed before, but now that I do I am seeing the documentation
with new eyes. I see that the pages for sapply(), lapply(), and class
coercion functions are true to their word.
Thanks,
Stephen
28 matches
Mail list logo