hi,
get.vars.name.prefix-function(prefix){
result-list()
len-nchar(prefix)
var.names-ls(name=1,pattern=prefix) #name=1 probably wrong option
print(var.names)
for(i in 1:length(var.names)){
name-var.names[i]
field-substr(name,len+1,nchar(name))
result[[field]]-get(name)
}
result
}
Hello,
I have run
imp - mice(data,im=c(,pmm,logreg,logreg2),m=10,seed=0)
and I got the message
iter imp variable
1 1 AGE FAMILYBREASTHISTORY PARITYError in mice.impute.logreg2(c(0, 0,
1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, :
mice.impute.logreg2 is disabled this release
In addition:
Hi R,
I have a matrix x with repeating row names.
dim(x)
[1] 862 19
zz-matrix(0,4,4)
rownames(zz)=c(a,a,b,b)
data.frame(zz) (?)
I need to use x in a linear regression
lm(as.formula(paste(final_dat[,5]~,paste(colnames(x),collapse=+))),x
)
this gives me a error
Error in
MJ == Michael Just [EMAIL PROTECTED]
on Sat, 18 Oct 2008 17:26:02 -0400 writes:
MJ Henrique,
MJ This code below from a R-help helper worked.
dat -data.frame(f)
dat2-dat[dat$d0,]
dat.lm -lm(c~d, data=dat2)
But Henrique's advice, of using 'subset= d 0' was really
Hallo
I am going through the paper on Torus randomization by Kyle E. Harms
torus randomization is an alternative to Chi-sq test of Independence When
the assumption of independence within the groups is violated
i want to know that Is there any library regarding torus randomization
Someone said me
Em Qui, 2008-10-16 às 21:11 +1030, Fernando Marmolejo Ramos escreveu:
Dear all
Recently the granova package was launched. I installed but after when I
invoked it in R it requested for other libraries. They were downloaded and
install automatically.
I tried to run the example syntax of
I know, this is a forum about R. But I am so desperate of this problem (BTW,
anyone knows any good Statistics/Math forum to post question like this?):
A and B are both n x n positive definite matrix.
Denote A B, if A - B is positive definite.
I know this is true: if A B, then A^{-1} B^{-1}.
I've rolled up R-2.8.0.tar.gz a short while ago. This is a development
release which contains a number of new features.
Also, a number of mostly minor bugs have been fixed. See the full list
of changes below.
You can get it (later today) from
On Mon, 20 Oct 2008, [EMAIL PROTECTED] wrote:
I have a matrix x with repeating row names.
zz-matrix(0,4,4)
rownames(zz)=c(a,a,b,b)
data.frame(zz) (?)
The row names on a data frame should be unique. You can try
as.data.frame(xx, row.names=FALSE) to convert zz to be a data frame. If
you
Dear R-users,
I'm having a small problem while bootstraping data.
What i would like to do, is resmple the data and calulate a function on
this, so i can estimate the measure of reproducability for this data.
The function i wrote works fine, even while bootstraping.
The only problem is that
On 20/10/2008 2:06 AM, erwann rogard wrote:
hi,
get.vars.name.prefix-function(prefix){
result-list()
len-nchar(prefix)
var.names-ls(name=1,pattern=prefix) #name=1 probably wrong option
print(var.names)
for(i in 1:length(var.names)){
name-var.names[i]
The row names on a data frame should be unique. You can try
as.data.frame(xx, row.names=FALSE) to convert zz to be a data frame.
If
you need the row name information, add it as a column in the data
frame,
e.g. mydataframe$rnames - rownames(zz). (Note to R-Core: the
documentation for
Hello,
I am hoping someone can help me with the following:
I am applying the function mle on a single data set X n times, each
time using a different set of initial values v[i] (i=1,...,n).
The initial values are all finite. Two cases arise:
A- For some sets of initial values mle is giving
If you want to do efficient exploratory data analysis on this kind of
dataset, then interactive graphics with parallel coordinate plots
(ipcp in iplots) should help. Of course, it depends what you mean by
large. It might be worth looking at the book Graphics of Large
Datasets for some
Try this:
Using 'envir' argument, in ls and get function:
get.vars.name.prefix-function(prefix, envir = parent.frame()){
result-list()
len-nchar(prefix)
var.names-ls(envir = envir,pattern=prefix)
print(var.names)
for(i in 1:length(var.names)){
name-var.names[i]
Dear all,
I'm a new user of R.
How to manage R to have homogeneous means groups with Duncan test? I've tried
the Duncan test and the results is the difference between means taken in pairs.
Patrice
__
ble contre les messages non sollicités
I'd like to avoid looping through an array in order to change values in
the array as it takes too long.
I red from an earlier post it can be done by do.call but never got it
to work. The Idea is to change the value of y according to values in
x. Wherever x holds the value 3, the corresponding
y - ifelse(x == 3, 1, y)
-Kaom
On Oct 20, 2008, at 6:07 AM, Kåre Edvardsen wrote:
I'd like to avoid looping through an array in order to change values
in
the array as it takes too long.
I red from an earlier post it can be done by do.call but never got
it
to work. The Idea is to change
On Mon, Oct 20, 2008 at 03:07:45PM +0200, Kåre Edvardsen wrote:
I'd like to avoid looping through an array in order to change values in
the array as it takes too long.
I red from an earlier post it can be done by do.call but never got it
to work. The Idea is to change the value of y according
I'd like to avoid looping through an array in order to change values in
the array as it takes too long.
I red from an earlier post it can be done by do.call but never got it
to work. The Idea is to change the value of y according to values in
x. Wherever x holds the value 3, the corresponding
Gabor Grothendieck wrote:
leaps is not in Depends or Imports for car. It is in Suggests
and those don't get automatically pulled in when dependencies = NA.
What you could do is to replace the builtin menuInstallPkgs with
your own by running this:
assignInNamespace(menuInstallPkgs, function
Is not melt part of reshape package, i.e., require(reshape)?
DaveT.
-Original Message-
From: stephen sefick [mailto:[EMAIL PROTECTED]
Sent: October 19, 2008 12:12 PM
To: hadley wickham
Cc: R Help
Subject: Re: [R] Date classes in ggplot2
well I must have either resolve it without
yes it is, I meant without the clutter of my previous analyses -
reshape is required by ggplot2 so I had that covered... If I am
understanding you correctly.
thanks for all of the help,
Stephen
On Mon, Oct 20, 2008 at 9:39 AM, Thompson, David (MNR)
[EMAIL PROTECTED] wrote:
Is not melt part of
Version 0.3-7 of the gsubfn package is available on CRAN.
Changes to the package are:
- all known bugs have been fixed.
- in gsubfn and strapply the replacement object can be a
list (or a function, formula, character string or proto
object, as before). In the case of a list, regexp matches
Thanks Felix.
Regards,
Dhruv
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Felix Andrews
Sent: Sunday, October 19, 2008 11:37 PM
To: Sharma, Dhruv
Cc: r-help@r-project.org
Subject: Re: [R] pairs plots in R
One idea:
if the primary variable of
You can put the code on several lines as shown or on one line. Does
not matter.
Read the info on the dependencies= arg in ?install.packages
for the definitive explanation of how dependencies= works.
On Mon, Oct 20, 2008 at 9:32 AM, Brian Lunergan [EMAIL PROTECTED] wrote:
Gabor Grothendieck
thanks Antony.
regards,
Dhruv
From: Antony Unwin [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2008 7:00 AM
To: r-help@r-project.org
Cc: Sharma, Dhruv
Subject: Re: [R] pairs plots in R
If you want to do efficient exploratory data analysis on this kind
Hi,
I was trying to adjust an bayesian network with Deal package.
I know how to adjust when I give the structure and when I don't give the
struture. Now, I want to adjust when I know some variables relationships and
others I don't know.
Anybody knows how can I do that?
Regards,
On 20/10/2008 5:39 AM, A.Noufaily wrote:
Hello,
I am hoping someone can help me with the following:
I am applying the function mle on a single data set X n times, each
time using a different set of initial values v[i] (i=1,...,n).
The initial values are all finite. Two cases arise:
A- For some
Hullo all,
[***recap of the question: passing bar=harry fails when bar is among
the ... args.]
callTimes - function(tom, harry) {
timesDefineInside(foo=tom, bar=harry
}
timesDefineInside - function(foo, ...) {
foo * bar
}
callTimes(3, 4)
# Error: object bar not found
[***end
I'm trying to create a new column in my data.frame where subjects are
categorized depending on values on four other columns. In any other case I
would just nest a few ifelse statements, however, in this case i have
4*6*2*3=144 combinations and i get weird 'context overflow' errors. So I wonder
try this:
x - c(1,0,0,1,0,0,1,0,0,1)
y - c(1,3,2,3,2,1,2,3,2,3)
z - c(1,2,1,2,1,2,1,2,1,2)
d - data.frame(x, y, z)
ind - do.call(paste, c(expand.grid(1:2, 1:3, 0:1)[3:1], sep = \r))
trg - do.call(paste, c(d, sep = \r))
d$myvar - match(trg, ind)
I hope it helps.
Best,
Dimitris
[EMAIL
That's it.
thanks
Regards/Cordialement
Benoit Boulinguiez
-Message d'origine-
De : Greg Snow [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 17 octobre 2008 19:19
À : Benoit Boulinguiez; r-help@r-project.org
Objet : RE: [R] use of empty space in split graph device
The plot.new
I have a matrix x with repeating row names.
zz-matrix(0,4,4)
rownames(zz)=c(a,a,b,b)
data.frame(zz) (?)
The row names on a data frame should be unique. You can try
as.data.frame(xx, row.names=FALSE) to convert zz to be a data frame. If
you need the row name information, add it as a
or if x, y and z are factors :
dbis - as.data.frame(apply(d, 2, as.factor)
dbis$x:dbis$y:dbis$z
[1] 1:1:1 0:3:2 0:2:1 1:3:2 0:2:1 0:1:2 1:2:1 0:3:2 0:2:1 1:3:2
12 Levels: 0:1:1 0:1:2 0:2:1 0:2:2 0:3:1 0:3:2 1:1:1 1:1:2 1:2:1 ... 1:3:2
and for your results :
as.numeric(dbis$x:dbis$y:dbis$z)
Stella Sim [EMAIL PROTECTED] writes:
I want to calculate SPE (squared prediction error) in x-space, can
someone help?
Here are my codes:
fit.pls-
plsr(Y~X,data=DAT,ncomp=3,scale=T,method='oscorespls',validation=CV,x=
T)
actual-fit.pls$model$X
(The x = TRUE is not needed as long as
On Mon, Oct 20, 2008 at 4:10 PM, [EMAIL PROTECTED] wrote:
I'm trying to create a new column in my data.frame where subjects are
categorized depending on values on four other columns. In any other case I
would just nest a few ifelse statements, however, in this case i have
4*6*2*3=144
Hi
maybe you can change combination of your columns to factor
new -factor(paste(x,y,z, sep=))
and then reorder this factor (see reorder) change it to numeric to get
index
index - as.numeric(factor)
and then choose from set of 144 data
data[index]
or use your index directly if you need
Thank you all for your answers.
On Mon, Oct 20, 2008 at 6:32 AM, Henrique Dallazuanna [EMAIL PROTECTED]wrote:
Try this:
Using 'envir' argument, in ls and get function:
get.vars.name.prefix-function(prefix, envir = parent.frame()){
result-list()
len-nchar(prefix)
Hi everyone,
does any one knows how can I make sample from rows?
i.e. I have a data like this:
s1 s2 s3 s4
1 0 0 0 1
2 1 0 1 0
3 0 0 0 0
4 0 0 0 0
5 0 1 0 1
6 1 0 0 0
7 0 0 0 0
8 0 0 0 0
9 0 0 0 0
10 0 0 0 1
I need to make 5 different sample
I thought I was finished, having gotten everything to work as intended. This
is a model of risk, and the short term forecasts look very good, given the
data collected after the estimates are produced (this model is intended to
be executed daily, to give a continuing picture of our risk). But
Hi,,
I want to use the existing cor function in R but with a different way to
compute the correlation method.. basically zero mean correlation.
The forumula I have is
'D' - function(c1, c2)
sum(c1*c2, na.rm=T)/(sqrt(sum(c1*c1, na.rm=T))*sqrt(sum(c2*c2, na.rm=T)))
I am not sure how i can
Hi,
I often work from home, running R on my office computer and displaying
interactive graphics on my home computer using X11. This was always
more sluggish than sitting at my office computer, obviously, but
recently the graphics transfer has become painfully slow -- so slow,
that I now
Dear R useRs,
i wanted to ask if the folded normal destribution (Y = abs(X) with X
normal distributed)
with density and random number generator is implemented in R or in any
R-related package
so far? Maybe i can use the non-central chi-square distribution and
rchisq(n, df=1, ncp0) here?
I suspect that you need to set the type= in X11(): see its help page.
E.g.
'type = nbcairo' is the same device as 'type=cairo' without
buffering: which is faster will depend on the X11 connection.
Both will be slower than 'type = Xlib', especially on a slow X11
connection as
Dear Andreas,
try:
library(distr)
X - Norm() ## standard normal distribution
Y - abs(X)
plot(Y)
Best regards,
Matthias
Andreas Wittmann wrote:
Dear R useRs,
i wanted to ask if the folded normal destribution (Y = abs(X) with X
normal distributed)
with density and random number generator is
It's trivial to do. In particular abs(rnorm(...)) will give you the
random number generator.
The term 'folded normal distribution' is normally only used for mean=0,
when you just double the density, but the general result is
ifelse(x 0, 1, 0) * (dnorm(x, ...) + dnorm(-x, ...))
On Mon, 20
Hello list,
I just started R today and tried something quite simple. I wanted to
create a colored plot and eventually after hours of fiddling around got
it working. However, my solution seems very suboptimal and I'd really
appreciate your hints on how to improve. I believe that R already offers
Hi,
text()'s pos does handle more dimensional labels, while adj does not -
or how can I pass an array to text() and use the adj argument (skyblue
text)?
plot(-1:1,-1:1)
text(c(0,0),c(0,0),c(a,b),pos=c(1,2),col=red)
text(c(0,0),c(0,0),c(a,b),adj=cbind(c(1,2),c(1,1)),col=skyblue)
Thomas
I am trying to plot survival curves using the following code as an example:
rs1799964.coxph-(coxph(Surv(sassurvmonths,status)~age+stage+rs1799964_TNFA,method=efron))
plot(rs1799964.coxph,lyt=c(1,3),xlab=Survival in Months,ylab=Proportion
Surviving)
I am gettingthe following error message:
Hello,
I have seen that some papers do this:
1.) Group data by year (e.g. 35 years)
2.) Estimate the mean of the key variable through the distribution that fits
better (some years is a normal distribution , others is a more skewed, gamma
distribution, etc.)
3.) With these estimated means of
Hi everyone,
does any one knows how can I calculate mean for different samples
i.e. I have a data like this:
s1 s2 s3 s4
1 0 0 0 1
2 1 0 1 0
3 0 0 0 0
4 0 0 0 0
5 0 1 0 1
6 1 0 0 0
7 0 0 0 0
8 0 0 0 0
9 0 0 0 0
10 0 0 0 1
I need to
I am wondering if there is a better alternative than Excel for data
storage that does not require database knowledge (I will eventually
have to learn this, but it is not on my immediate todo list). I need
something that is not limited to 256 columns... I don't need any of
the built in functions
I believe that you have to specify which variable is the x and also
the y. I am not familiar with what you are doing, but it looks as
though you need to specify both x and y to get it to plot.
Stephen
On Mon, Oct 20, 2008 at 2:22 PM, A Van Dyke [EMAIL PROTECTED] wrote:
I am trying to plot
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Johannes Bauer
Sent: Monday, October 20, 2008 10:42 AM
To: r-help@r-project.org
Subject: [R] R Newbie Question
Hello list,
I just started R today and tried something quite simple. I wanted to
assuming that A1 is the data provided in the first post... it would be
helpful if you used dput() to copy into an email, so that we could
just copy the code and data right into a R session and be off and
running. I hope this helps.
#I used dput() on the object A1
A1 - (structure(list(s1 = c(0L,
...and the offset argument can't handle arrays either:
text(c(0,0),c(0,0),c(a,b),pos=c(1,2),offset=c(1,0.5),col=darkgreen)
The second argument does not have any effect.
Can I pass arrays to text and use diffent locations?
Thomas
PS: I use R version 2.5.0 (2007-04-23) under Win2000.
sorry excel 2003 with no immediate update in the future.
On Mon, Oct 20, 2008 at 3:12 PM, Gabor Grothendieck
[EMAIL PROTECTED] wrote:
You didn't say which version of Excel you are using but Excel 2007
allows 16,384 columns.
On Mon, Oct 20, 2008 at 2:27 PM, stephen sefick [EMAIL PROTECTED]
On Mon, 20 Oct 2008, A Van Dyke wrote:
I am trying to plot survival curves using the following code as an example:
rs1799964.coxph-(coxph(Surv(sassurvmonths,status)~age+stage+rs1799964_TNFA,method=efron))
plot(rs1799964.coxph,lyt=c(1,3),xlab=Survival in Months,ylab=Proportion
Surviving)
reproducible code please.
On Mon, Oct 20, 2008 at 3:22 PM, phoebe kong [EMAIL PROTECTED] wrote:
Hi All,
I'm going to draw 8 plots in one page. I want the plots to be arranged
in two rows, each row has 4 plots. So, I set the it par(mfrow=c(2,4)).
However, there might be too many plots in a
I'm getting a unexpected compiling error when doing make:
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -fpic -g -O2 -c platform.c -o
platform.o
platform.c: In function
I'm getting a unexpected compiling error when doing make:
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -fpic -g -O2 -c platform.c -o
platform.o
platform.c: In function
Brian, thank you for your reply.
Why do you expect this to be vectorized when the help page clearly says
otherwise?
Sure, it's in line with the help, no problem there. I just asked if
this feature is somehow possible.
I expected it, because pos does take arrays and it overrides any
adj value
On 10/20/2008 4:34 PM, Jeroen Ooms wrote:
I'm getting a unexpected compiling error when doing make:
gcc -std=gnu99 -I../../src/extra/zlib -I../../src/extra/bzip2
-I../../src/extra/pcre -I. -I../../src/include -I../../src/include
-I/usr/local/include -DHAVE_CONFIG_H -fpic -g -O2 -c
Define better.
Really, it depends on what you need to do (are all your data appropriately
represented in a 2D array?) and what resources are available. If all your
data can be represented using a 2D array, then Excel is probably your best
bet for th enear term. If not, you might as well bite
Surendra champanerkar surendrachampanerkar at gmail.com writes:
Hallo
I am going through the paper on Torus randomization by Kyle E. Harms
torus randomization is an alternative to Chi-sq test of Independence When
the assumption of independence within the groups is violated
i want to know
Thomas Steiner wrote:
NB: library(fortunes); fortune(WTFM) applies.
This one I didn't get. They help to do it without a loop?
No.
library(fortunes); fortune(WTFM)
This is all documented in TFM. Those who WTFM don't want to have to WTFM
again
on the mailing list. RTFM.
-- Barry
Hi Folks,
I'm wondering if there's a compact way to achieve the
following. The dream is that, by analogy with
rep(c(0,1),times=c(3,4))
# [1] 0 0 0 1 1 1 1
one could write
rep(c(0,1),times=c(3,4,5,6))
which would produce
# [1] 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1
in effect recycling x
will this do what you want:
f.rep - function(x, times){
+ # make sure the 'x' is long enough
+ x - head(rep(x, length(times)), length(times))
+ rep(x, times)
+ }
f.rep(c(0,1), c(3,4,5,6,7))
[1] 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 0 0 0 0 0 0 0
On Mon, Oct 20, 2008 at 4:57 PM,
Try this:
with(data.frame(x = 0:1, times = 3:6), rep(x, times))
or even shorter:
do.call(rep, data.frame(x = 0:1, times = 3:6))
On Mon, Oct 20, 2008 at 4:57 PM, Ted Harding
[EMAIL PROTECTED] wrote:
Hi Folks,
I'm wondering if there's a compact way to achieve the
following. The dream is
On 20 Oct 2008, at 22:57, (Ted Harding) wrote:
I'm wondering if there's a compact way to achieve the
following. The dream is that one could write
rep(c(0,1),times=c(3,4,5,6))
which would produce
# [1] 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1
in effect recycling x through 'times'.
rep2 -
Here is one other solution:
x - 0:1
times - 3:6
rep(x + 0*times, times)
This solution also works if the length of times is not a whole
number of lengths of x but in that case it does give a warning
which seems reasonable since that is the way recycling in
R works elsewhere too.
On Mon, Oct 20,
Why not just write your data to a CSV (comma-spaced-variable) or a
tab-spaced variable text file?
You didn't say what software and/or hardware was generating your data,
but most gizmos these days let you dump data to CSV.
No need for Excel at all.
I forget :-( how many rows/columns
On 20-Oct-08 21:19:21, Stefan Evert wrote:
On 20 Oct 2008, at 22:57, (Ted Harding) wrote:
I'm wondering if there's a compact way to achieve the
following. The dream is that one could write
rep(c(0,1),times=c(3,4,5,6))
which would produce
# [1] 0 0 0 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1
in
On 20-Oct-08 21:17:22, Gabor Grothendieck wrote:
Try this:
with(data.frame(x = 0:1, times = 3:6), rep(x, times))
or even shorter:
do.call(rep, data.frame(x = 0:1, times = 3:6))
That is sneaky!
data.frame(x = 0:1, times = 3:6)
# x times
# 1 0 3
# 2 1 4
# 3 0 5
# 4 1 6
Hi all,
I have a queston about Categorical response.
i have a data frame containing age, sex, class, success(1=success,
0=non sucess).
age, sex,class are the explantory variables, and sucess is the
response variable. and i can get n (the nunber of times each age
occurs) and r (the number of
Dear all,
I would like to aggregate a data frame (consisting of 2 columns - one
for the bins, say factors, and one for the values) along bins and
quantiles within the bins.
I have tried
aggregate(data.frame$values, list(bin = data.frame
$bin,Quantile=cut2(data.frame$bin,g=10)),sum)
but
tIs a bit neater to create list objects for each of
star1 and star2 and then, since the various functions
are not used outside of gravitation stick them right
in gravitation. Also we can use distance for len
as well by giving it a default second arg of 0 and
sqr does not seem to do much so we can
Apologies, just a typo in the first instruction (when translating the
names), the question is still valid
On 21 Oct 2008, at 00:38, Ivan Alves wrote:
Dear all,
I would like to aggregate a data frame (consisting of 2 columns - one
for the bins, say factors, and one for the values) along bins
Dear list members,
I am using Mclust in order to deconvolute a distribution that I
believe is a sum of two gaussians.
First I can make a model:
my.data.model = Mclust(my.data, modelNames=c(E), warn=T, G=1:3)
But then, when I try to plot the result, I get the following error:
Hi Stephen,
You don't say what staging is - do you mean for data entry or loading a
data file for review, or ... ?
In general, I keep away from Excel for data transfer purposes. It tends to
make intelligent decisions on data types leading to strange bizarre
results (unless you explicitly type
There is a list of free spreadsheets with their row and column limits
at this link:
http://en.wikipedia.org/wiki/OpenOffice.org_Calc
On Mon, Oct 20, 2008 at 3:13 PM, stephen sefick [EMAIL PROTECTED] wrote:
sorry excel 2003 with no immediate update in the future.
On Mon, Oct 20, 2008 at 3:12
Well, I am going to type in ever value because the data sheets are of
counts of insects that I identified, so I should be okay with
accuracy... I really just need something that allows for more than
256 columns as I have encounter over 256 species of insects in even
small streams. I think calc
I nominate the below 2 paragraphs (or a possible shortening of them) as a new
fortune. While not as entertaining as many of the current fortunes, the wisdom
gained and sentiment expressed deserves preservation and easy reference for
future posters who think that Frank is only trying to be
As interest in topics that are often grouped under the catch-all umbrella of
'high performance computing with R' has grown over the last few months, it has
been suggested to create a dedicated mailing list.
Now, thanks to Martin Maechler who tirelessly looks after all R mailing
matters, such a
How about simply a text editor, typing in your data, separated by commas
or tabs or spaces? One row for each case/subject/observation? R can
read that in easily.
A good, open-source, free data entry program is EpiData.
www.epidata.dk. It is simple to use but probably more than you need for
Well, I am going to type in ever value because the data sheets are of
counts of insects that I identified, so I should be okay with
accuracy... I really just need something that allows for more than
256 columns as I have encounter over 256 species of insects in even
small streams. ...
Oh,
Try:
as.vect = function(x)
{
t1 = as.matrix(x)
t2 = aperm(t1)
t3 = as.vector(t2)
return(t3)
}
This function converts entire dataframe into a vector.
Alexander Pui
PhD Candidate in Hydroclimatology,
University of New South Wales
Email: [EMAIL PROTECTED]
i want to plot the histogram and the curve in the same graph.if i have a set
of data ,i plot the histogram and also want to see what distribution it
was.So i want to plot the curve to know what distribution it like.
--
View this message in context:
Hi listers,
I am working on a program of statistical analysis of simulated data and I've
been searching the error at the program, but I didn't find it!
It is something about the WHILE procedure, the error says: Error in while
(ecart = d) { : missing value where TRUE/FALSE needed
Thanks in
Greg,
The rimage package has functions for reading in and plotting
jpeg files that you could use for displaying the photograph.
If you then can find 2 points in the image (not on the same
horizontal or vertical line) for which you know the
coordinates in the coordinate system that you
Most likely this is a bug in your pdf viewer: try turning off
anti-aliasing there (or use a better viewer, if that is not an option).
It is a symptom of anti-aliasing of the rectangles used to plot image
pixels.
You haven't told us which 'a pdf device' and there are several for R,
depending
92 matches
Mail list logo