Hi,
If I understood your question, maybe sth like this:
AnnualFireCount<-aggregate(ANY.OF.YOUR.VARIABLES~Fire_Year, length,
data=yukon)
you can put any variable name in your dataframe (eg Fire_Year) in the place
of ANY.OF.YOUR.VARIABLES as the function only counts them.
On Tue, Jun 14, 2011 at
Also this one:
AnnualFireCount2 <- as.data.frame(table(yukon$Fire_Year))
names(AnnualFireCount2) < c("Year","Fires")
On Tue, Jun 14, 2011 at 9:01 AM, Majid Einian wrote:
> Hi,
>
> If I understood your question, maybe sth like this:
>
> AnnualFireCount<-aggregate(ANY.OF.YOUR.VARIABLES~Fire_Year,
Hi,
I am trying to use the objects from the list below to create more objects.
For each year in h I am trying to create as many objects as there are B's
keeping only the values of B. Example for 1999:
$`1999`$`8025`
B
B 8025 8026 8027 8028 8029
802511100
8026
thanks for the answer!
yes, indeed, type and fragment should be factors but it was no artificial
data!
2011/6/14 Prof Brian Ripley
> I presume you intended 'type' and 'fragment' to be factors (see below).
> Such a model would fit exactly. The additive model
>
>
> model <- glm(y ~ fragment+typ
On Mon, 13 Jun 2011, Bao, Yongjian (GE Healthcare) wrote:
I'm a new user of R, and trying to display the result of a PCA data set
with biplot(). Biplot() draws the projections of data points to the
first two principal axis with a text level (I guess it is the name of
the data points). This makes
I presume you intended 'type' and 'fragment' to be factors (see
below). Such a model would fit exactly. The additive model
model <- glm(y ~ fragment+type, binomial)
is only modestly over-dispersed, and shows that 'fragment' has zero
effect. Not 'a negligible effect', but no effect. So so
I'm a new user of R, and trying to display the result of a PCA data set
with biplot(). Biplot() draws the projections of data points to the
first two principal axis with a text level (I guess it is the name of
the data points). This makes the picture very crowed. I tried to go
through R documentati
Superb Gabor,
Though I dont know what is happening, but yes it is workin and without fail.
Thanks
-
M
On Mon, Jun 13, 2011 at 8:20 PM, Gabor Grothendieck wrote:
> On Mon, Jun 13, 2011 at 5:17 PM, Mary Kindall
> wrote:
> > Hi R users,
> > I am new to R and am trying to merge data frames in the
Hi all,
I am trying to analyze the following data. The first three columns are
categorical variables (colors of three traits for a peripatus species)
and the last column the count of individuals in each three-way
classification. I wish to test if the three traits vary independently or
if they
Hi,
I am new to R.
My question is: how to get the 'hazard ratio' using the 'coxph' function in
'survival' package?
thanks,
karena
--
View this message in context:
http://r.789695.n4.nabble.com/About-hazard-ratio-urgent-tp3595527p3595527.html
Sent from the R help mailing list archive at Nabbl
On 11-06-13 1:22 PM, Iyer wrote:
Hello,
I would like to distribute an R package along with an application. The
package is written exclusively in R.
Since the package does not make sense outside of the application it does
not make sense to submit it to CRAN.
I have a question regarding licensin
Neville's algorithm is not an "improvement" on Lagrange interpolation, it is
simply one way of calculating it that has some useful properties. The result
is still the Lagrange interpolating polynomial, though, with all its flaws.
Implementing Neville's algorithm is fairly easy using the Polynom
Thanks for your very constructive and helpful tips, Peter and Ted!
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-compute-the-P-value-for-a-mixture-of-chi-2-distributions-tp3591276p3595373.html
Sent from the R help mailing list archive at Nabble.com.
_
Hi everyone,
I'm involved in a discussion with a colleague. He suggested a sample
design for a finite-sized process that (to all intents and purposes)
involves tossing a coin and examining the unit if the coin shows
Heads.
I should emphasize that we're both approaching the problem from a
design-
Are there implementations of, e.g. Neville's algorithm, for interpolating
polynomials through some data points? Nevilles' is an improvement on
Lagrange interpolation. And how about interpolating rational functions? I
could not find anything at rseek.org or at crantastic.org.
thanks
--
View this me
now that's beautiful! :-)
Many thanks,
David.
> Try this where DF1, DF2 and DF3 are the data frames:
>
> L <- list(DF1, DF2, DF3)
> merge.all <- function(...) merge(..., all = TRUE)
> Reduce(merge.all, lapply(L, function(x) aggregate(x[2], x[1], toString)))
>
> The last line gives this:
>
> Src
On Mon, Jun 13, 2011 at 5:17 PM, Mary Kindall wrote:
> Hi R users,
> I am new to R and am trying to merge data frames in the following way.
> Suppose I have n data frames each with two fields. Field 1 is common among
> data frames but may have different entries. Field 2 is different.
>
>
> Data fr
Ah, yes, the need to "condense" escaped me. I thought you wanted to
write out the final result separated by commas.
You will need to do the "condensing" separately. Unless someone else
has a more elegant idea, I guess something along the lines of
df2srcs<-unique(dataframe2$Src);
df2new<-data.fram
How??
I dont think there is any parameter that does this job.
I came up with ddply function in plyr package but having tens of dataframe
and doing it in a for loop may not be a good idea.
ddply(test, ~ Src , colwise(paste, .(Target1)), collapse ="," );
Can you please write how it can be done by
Thanks, Peter and to Joshua Wiley and Peter Alspach for similar comments. Gsub
did the trick.
-Original Message-
From: Peter Langfelder [mailto:peter.langfel...@gmail.com]
Sent: Monday, June 13, 2011 4:35 PM
To: Lee, Eric
Cc: r-help@R-project.org
Subject: Re: [R] remove commas in a numb
Hello,
I used R a year ago. With the data I am working with now, I realized that I
need to go back to R. Unfortunately, my memory is not my friend if it comes
down to coding :-)
What I want to do is extract the length of a variable of a file with certain
conditions and then print this number in a
?write.csv
Cheers,
David.
On 14 June 2011 01:07, Mary Kindall wrote:
> Thanks for reply.
> The following code is working but only patially. How to get the condensed
> values separated by comma.
>
> dataframe1 = data.frame(cbind(Src = c(1,1,1,2,3), Target1 =
> c('aaa','bbb','ccc','aaa','ddd')));
Thanks for reply.
The following code is working but only patially. How to get the condensed
values separated by comma.
dataframe1 = data.frame(cbind(Src = c(1,1,1,2,3), Target1 =
c('aaa','bbb','ccc','aaa','ddd')));
dataframe2 = data.frame(cbind(Src = c(2,3,4,4,4), Target2 =
c('','','',
Hi:
Here's a slightly different approach:
# Create two numeric matrices with outer():
o1 <- outer(u,u,">=") * 1L
o2 <- outer(v, v, ">=") * 1L
# Make a list of matrices that multiplies column i of o1
# vs. each column of o2 - use the * operator to do this
# Shows what is going on at each step:
la
Hi:
Here are two ways to do it - one with ddply() in the plyr package and
another with package data.table.
# Toy data frame:
tsdf <- data.frame(year = rep(c(1960:1963), c(366, rep(365, 3))),
jday = c(1:366, rep(1:365, 3)),
y = rnorm(4*365 + 1))
# A function
All,
I am using a pretty crude method to get data out of HDFS via Hive and into R
and was curious about alternatives that the group has explored.
Basically, I run a system command that runs a hive statement and writes the
returned data to a delimited file. Then, I read that file into an object an
Hi, try
?merge
Best,
David.
On 13 June 2011 23:48, Mary Kindall wrote:
> Hi R users,
> I am new to R and am trying to merge data frames in the following way.
> Suppose I have n data frames each with two fields. Field 1 is common among
> data frames but may have different entries. Field 2 is di
Strangely enough, abind() in the abind package !!
-- Bert
("all edge cases" is too vague to guess whether abind meets your criteria)
On Mon, Jun 13, 2011 at 2:34 PM, Stavros Macrakis wrote:
> If I have 2 n-dimensional arrays, how do I compose them into a n+1-dimension
> array?
>
> Is there a st
Aparna,
Something is very strange here. I think it is time to go back to the
original data source and find
out why the file you thought contained numbers was read as factors. Is
there an unanticipated
comma in a field? Did you forget to say header=TRUE?
Rich
On Mon, Jun 13, 2011 at 5:30 PM, Josh
Hi R users,
I am new to R and am trying to merge data frames in the following way.
Suppose I have n data frames each with two fields. Field 1 is common among
data frames but may have different entries. Field 2 is different.
Data frame 1:
Src Target1
1aaa
1bbb
1ccc
2
If I have 2 n-dimensional arrays, how do I compose them into a n+1-dimension
array?
Is there a standard R function that's something like the following, but that
gives clean errors, handles all the edge cases, etc.
abind <- function(a,b) structure( c(a,b), dim = c(dim(a), 2) )
m1 <- array(1:6,c(
Hi R users,
I am new to R and am trying to merge data frames in the following way.
Suppose I have n data frames each with two fields. Field 1 is common among
data frames but may have different entries. Field 2 is different.
Data frame 1:
Src Target1
1aaa
1bbb
1ccc
2
Dear all,
I am new to R and my question may be trivial to you...
I am doing a GLM with binomial errors to compare proportions of species in
different categories of seed sizes (4 categories) between 2 sites.
In the model summary the residual deviance is much higher than the degree
of freedom (Resi
Hi,
Try this
ggplot(df, aes(x,y)) + geom_tile(aes(fill=height), colour="white") +
scale_fill_gradientn(colours = c("red", "gold", "green")) +
geom_text(aes(lab=height))
HTH,
baptiste
On 14 June 2011 07:12, idris wrote:
> I have a dataframe df with columns x, y, and height. I want to create a
Actually it's highly discouraged to do that, since you lose control of the
number of variables do you have, you spread them in different objects.
It's much wiser to use a vector or a list to do that.
--
View this message in context:
http://r.789695.n4.nabble.com/use-variable-value-to-create-new-
On Mon, Jun 13, 2011 at 2:11 PM, Patrizio Frederic
wrote:
> On Mon, Jun 13, 2011 at 6:47 PM, Aparna wrote:
>> Hi Joshua
>>
>> While looking at the data, all the values seem to be in numeric. As i
>> mentioned,
>> the dataset is already in data.frame.
>>
>> As suggested, I used str(mydata) and go
On Mon, Jun 13, 2011 at 6:47 PM, Aparna wrote:
> Hi Joshua
>
> While looking at the data, all the values seem to be in numeric. As i
> mentioned,
> the dataset is already in data.frame.
>
> As suggested, I used str(mydata) and got the following result:
>
>
> str(leu_cluster1)
> 'data.frame': 98
Tena koe Maciek
It is possible; e.g.:
i <- 3
assign(paste('myVar', i, sep=''), 1:5)
myVar3
[1] 1 2 3 4 5
Personally, I find it is more convenient to use a list so that instead of
myVar1, myVar2 etc I have a list object, myVar, with each element equivalent to
myVar1, myVar2 etc.
HTH ...
Peter
On Mon, Jun 13, 2011 at 8:48 AM, Lee, Eric wrote:
> Hello,
>
> I'm running version R x64 v2.12.2 on a 64bit windows 7 PC. I'm trying to
> read a text file using read.table where the values have a format like
> "1,234,567". What I want is "1234567". Is there a quick way to strip out
> the com
Hello all,
has someone please a few hints about how to
1.st: draw an image (preferrably a jpg) and then
2nd: plot() on that image
I am using a mac - and after searching and trying different ways (I have
installed EBImage) I now would like to ask for help...
Thanks!
Johann
Does anyone know if a module already exists to run the Scheirer-Ray-Hare
extension to Kruskal-Wallis in R, in order to run a non-parametric
equivalent to a two-way ANOVA?
--
View this message in context:
http://r.789695.n4.nabble.com/using-Scheirer-Ray-Hare-in-R-tp3594480p3594480.html
Sent from t
Tena koe Eric
?sub and ?gsub
HTH ...
Peter Alspach
> -Original Message-
> From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
> project.org] On Behalf Of Lee, Eric
> Sent: Tuesday, 14 June 2011 3:49 a.m.
> To: r-help@R-project.org
> Subject: [R] remove commas in a number when r
Hi Sarah
Thanks for your advice. My dataset contains all the normalized values. I have
to
give this dataset as input to ClusterCons package in R. In order to run the
package, it requires the data to be converted to numeric data.frame.
When i check my data using class(mydataset), it is in the
Hi,
Is it possible (and how) to use a variable value to create a name of a new R
variable? I want to do something like this:
for (i in 1:3) {
newvarialbe_#i# = somedata
}
where #i# is a value stored by i. In the first loop, there will be
newvariable_1, in second newvariable_2 and so on.
Thanks in
Hi Eric,
Try this:
gsub(",", "", "1,234,567", fixed = TRUE)
Cheers,
Josh
On Mon, Jun 13, 2011 at 8:48 AM, Lee, Eric wrote:
> Hello,
>
> I'm running version R x64 v2.12.2 on a 64bit windows 7 PC. I'm trying to
> read a text file using read.table where the values have a format like
> "1,234,
Hi Joshua
While looking at the data, all the values seem to be in numeric. As i
mentioned,
the dataset is already in data.frame.
As suggested, I used str(mydata) and got the following result:
str(leu_cluster1)
'data.frame': 984 obs. of 100 variables:
$ V2 : Factor w/ 986 levels "-0.0025
Thank you very much.
I want each element of zz by each element of tt (i.e., every
possible 2-way combination).
--
View this message in context:
http://r.789695.n4.nabble.com/How-to-calculate-the-product-of-every-two-elements-in-two-lists-tp3593832p3593941.html
Sent from the R help mailing list
Hi, I am working on transforming a SAS code to R code.
It's about the survival analysis and the SAS code is as below:
--
proc lifetest data=surdata plot=(s);
time surv*censht(1);
strata educ;
title 'Day 1 homework';
run;
Dear All,
I have several sets of data such as this:
year jday avg_m3s
1 19601 4.262307
2 19602 4.242308
3 19603 4.216923
4 19604 4.185385
5 19605 4.151538
6 19606 4.133846
...
There is a value for each day of multiple years. In this particular data set it
goes up to 1
Hello
I'm trying to write a model for my data, but Im not sure it's statistically
correct.
I have one variable (2 levels: A or B). To explain it, I've got 2 factors
and 3 continuous variables. I need to do a logistic regression, but...
First: can I actually do a logistic regression with all of
Hello Everyone,
I'm learning to do survival analysis in R using a time-varying covariate. I've
managed to set up my data correctly using SAS and then to get the correct
result using R.
What I'd like help with is getting the data set up correctly in R without
having to resort to using SAS. Bel
> Hello,
>
> I would like to distribute an R package along with an application. The
> package is written exclusively in R.
>
> Since the package does not make sense outside of the application it does
> not make sense to submit it to CRAN.
>
> I have a question regarding licensing if I manage the di
I have a dataframe df with columns x, y, and height. I want to create a
heatmap-like plot that creates a grid of x by y, and then color codes the
grid depending on the value of height.
Is there a ggplot2 object to do this? I'm able to easily do this in Excel
with pivot tables and conditional forma
Hi,
i did in the last month a research about timeseries with the function
ARIMA().
Where i had to know how to predict and forecast new datapoints in the
future. Not only the things the functions predict() and forecast() can do.
All was ok, as the arima function was in the major parts convergent an
Hello,
I'm facing a strange behaviour when I try to run predict function for a
cforest model from party package in CentOS.
It works OK on MacOSX and Ubuntu, but R process is killed when I try it on
CentOS.
I read a dataframe and generate a forest model using cforest from party
package. To reduce
Hello,
I'm running version R x64 v2.12.2 on a 64bit windows 7 PC. I'm trying to read
a text file using read.table where the values have a format like "1,234,567".
What I want is "1234567". Is there a quick way to strip out the commas? I can
use strsplit and paste, but the file is quite larg
Hello,
I have a matrix [9,11] called tempmed from which I produce a perspective
plot. I then indicate a point on the surface to which I want to drop a
point using points() and trans3d(). The code is below. However, the
dropped line does not draw properly on the plot, it only comes down about
ha
justin bem yahoo.fr> writes:
>
>
> I have drink the cup down to the last drop in a course on linear models with
> SAS. I didn't learn a lot about statistic the 95 percent of the course
> consist
> of stupid SAS outputs, with a teacher who is a SAS Guru.
>
> Is there and equivalent of repete
On 6/9/2011 12:27 PM, Abraham Mathew wrote:
I have a repetative task in R and i'm trying to find a more efficient way to
perform
the following task.
lst<- list(roots = c("car insurance", "auto insurance"),
roots2 = c("insurance"), prefix = c("cheap", "budget"),
prefi
I have drink the cup down to the last drop in a course on linear models with
SAS. I didn't learn a lot about statistic the 95 percent of the course consist
of stupid SAS outputs, with a teacher who is a SAS Guru.
Is there and equivalent of repetead option for mixed in R (I hope "No" for me
i
hi, jholtman
its true, the problem was to iniciate the list at the second level.
thx a lot
--
View this message in context:
http://r.789695.n4.nabble.com/automatically-generate-the-output-name-of-my-for-loops-tp3592160p3594397.html
Sent from the R help mailing list archive at Nabble.com.
___
If you want to have multidimensioned list, here is one way of doing it
by making sure you initialize the second level before using it:
data2 <- matrix(1:30, nrow = 10)
data3 <- matrix(1:300, nrow = 100)
data1 <- list() # init to a list
for (j in 1:10){
data1[[j]] <- list() #create second
>
> Which results in vector of numbers
>
> str(as.numeric(as.matrix(a)))
> num [1:100] 0.82 -1.339 1.397 0.673 -0.461 ...
>
> data frame is convenient list structure which can contain vectors of
> various nature (numeric, character, factor, logical, ...)
> and looks quite similar to Excel table.
>
hi, really thank u, Petr Pikal
problem solved already.
but here is another question:
for(i in 1:100)
data1[[i]] <- rbind(data2[1,], data3[i,])
the codes above are no problem,
but now i wnna do two loops like the codes below which have problem(the bold
letters):
i dont know what should be put
On 06/13/2011 06:23 AM, ascendo wrote:
Dear R-help
Hi,
I'm Won.
I try to do microarray normalization by R.
I use justRMA function within affy package, got error about segment fault.
I don't know why it happen.
I attached error below.
Hi Won -- as suggested, post to the Bioconductor mailin
Hi
r-help-boun...@r-project.org napsal dne 13.06.2011 17:59:03:
> Ben Ganzfried
> Odeslal: r-help-boun...@r-project.org
>
> 13.06.2011 17:59
>
> Komu
>
> r-help@r-project.org
>
> Kopie
>
> Předmět
>
> [R] log2() and -min() very quick question
>
> I'm looking over good-code a post-doc in
The second line is just scaling the data based on log2. It is
subtracting the minimun of the entire matrix (not just each row) and
adding 1 to make sure there is not a value of zero since log2(0) is
not valid. Here is an example of sample data:
> x <- matrix(runif(25, -50, 50), 5)
> x
Hi
r-help-boun...@r-project.org napsal dne 13.06.2011 17:35:29:
> jiliguala
>
> really thanks for helping.
>
> i just did just like what Petr Pikal said,
> but it appeared some error like this:
>
> There were 50 or more warnings (use warnings() to see the first 50):
>
> Warning messages:
>
I'm looking over good-code a post-doc in my lab wrote and trying to learn
how it works. I came across the following:
rel.abundance <- as.matrix(read.delim("rel.abundance.csv",row.names=1,as.is
=TRUE))
rel.abundance <- log2(rel.abundance-min(rel.abundance)+1)
I'm not sure what the second line is d
Try using RandomForest..
--
View this message in context:
http://r.789695.n4.nabble.com/using-categorical-variable-in-multiple-regression-tp3591517p3594170.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing li
Hi Daniel
Try using this approach
##Drawing analogy from your example.. I am storing the values generated in a
loop in the following code
for (i in c(1:100))
{
nam <- paste("r",i, sep=".")
assign(nam, i+1)
}
##Having stored the values generated in the above loop in as many R
objects..
I think you need '[['
group[[i]] <- which(k1$cluster == i)
On Mon, Jun 13, 2011 at 11:35 AM, jiliguala wrote:
> really thanks for helping.
>
> i just did just like what Petr Pikal said,
> but it appeared some error like this:
>
> There were 50 or more warnings (use warnings() to see the first 50
Hi
r-help-boun...@r-project.org napsal dne 13.06.2011 17:19:39:
> Patrizio Frederic
>
> On Mon, Jun 13, 2011 at 4:45 PM, Barry Rowlingson
> wrote:
> > On Mon, Jun 13, 2011 at 11:06 AM, Aparna
wrote:
> >> Hi All
> >>
> >> I am new to R and I am not sure of how this should be done. I have a
really thanks for helping.
i just did just like what Petr Pikal said,
but it appeared some error like this:
There were 50 or more warnings (use warnings() to see the first 50):
Warning messages:
1: In group[i] <- which(k1$cluster == i) :
number of items to replace is not a multiple of replacem
On Mon, Jun 13, 2011 at 4:45 PM, Barry Rowlingson
wrote:
> On Mon, Jun 13, 2011 at 11:06 AM, Aparna wrote:
>> Hi All
>>
>> I am new to R and I am not sure of how this should be done. I have a matrix
>> of
>> 985x100 values and the class is data.frame.
>
> You don't have a 'matrix' in the R sen
On Mon, Jun 13, 2011 at 7:45 AM, Barry Rowlingson
wrote:
[snip]
> now you may think it reasonable to do an 'as.numeric' on that, but what
> about:
>
> as.numeric(list(foo=list(bar=c(1,2,3),baz=c(34,5)),bar=c("Hello","World"))
>
> how would you 'as.numeric' that?
Well, "Hello" is one of the fi
On Mon, Jun 13, 2011 at 11:06 AM, Aparna wrote:
> Hi All
>
> I am new to R and I am not sure of how this should be done. I have a matrix
> of
> 985x100 values and the class is data.frame.
You don't have a 'matrix' in the R sense of the word. You seem to
have a table of numbers which are stored
Okay, what about this:
## use expand.grid() to create a data frame of all combinations
## of the element numbers of zz and tt
index <- expand.grid(seq_along(zz), seq_along(tt))
index
## use the index to select the element of zz and tt and find their product
mapply(`*`, zz[index[, 1]], tt[index[,
You need to ask this question on the Bioconductor mailing list.
---
Jeff Newmiller The . . Go Live...
DCN: Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. wi
Hi,
Do you mean something like this?
mapply(`*`, zz, tt)
[,1] [,2] [,3]
[1,]111
[2,]011
[3,]001
or do you want each element of zz by each element of tt (i.e., every
possible 2-way combination)?
Cheers,
Josh
On Mon, Jun 13, 2011 at 6:23 AM, carla moreir
Hi,
If your matrix is already numeric, then:
as.data.frame(your_matrix_name)
will do the trick. However, if you have a matrix that is not numeric
(say it is character), then you could use:
as.data.frame(as.numeric(your_matrix_name))
Matrices can only hold one class of data (for example, all n
Here would be a really good place to start:
http://cran.r-project.org/web/views/TimeSeries.html
On Mon, Jun 13, 2011 at 7:45 AM, Yanchang Zhao wrote:
> Hi
>
> Are there any R packages or functions available for data mining of
> time series data?
>
> By "mining", I mean representation, similarity
Dear R-help
Hi,
I'm Won.
I try to do microarray normalization by R.
I use justRMA function within affy package, got error about segment fault.
I don't know why it happen.
I attached error below.
Please help me.
Thank you.
Cheers,
Won
===
OS : Redhat linux
Cpu : intel
What are you trying to do? It looks numeric, although a visual
assessment isn't reliable.
The output of str() would be helpful.
But I'm not sure what your objective is. What do you think your data
frame is now, and what do you think it should be?
Sarah
On Mon, Jun 13, 2011 at 6:06 AM, Aparna w
u<-c(0.1,0.2,0.3)
v<-c(0.2,0.3,0.5)
outer1<-outer(u,u,">=")
outer2<-outer(v,v,">=")
m<-nrow(outer1)
j<-nrow(outer2)
zz<-lapply(1:m, function(m) as.numeric(outer1[m,]))
tt<-lapply(1:m, function(m) as.numeric(outer2[m,]))
zz[[1]]*tt[[3]], e.g., is possible, but I want every products between two
li
Hi
Are there any R packages or functions available for data mining of
time series data?
By "mining", I mean representation, similarity metrics, change points
detection, classification and clustering of time series data.
Thanks
Yanchang
--
Yanchang Zhao
PhD, Data Miner
Email: yanch...@rdatamini
Hi,
I am interested in getting some SNP data. I need a small dataset but it is
the extraction of the SNPs in the form of numeric tables that is giving the
problems. I would like to extract SNP data for some type of bacteria
(haploid).
--
Thanks,
Jim.
[[alternative HTML version deleted]]
Hi All
I am new to R and I am not sure of how this should be done. I have a matrix of
985x100 values and the class is data.frame.
A sample of my dataset looks like this (Since its a huge dataset and it would
make the screen look more complex, I am pasting only the first few rows and
columns.
Hi all,
I apologies in advance if I am missing something very simple here, but since
I failed at resolving this myself, I'm sending this question to the list.
I would appreciate any help in understanding how the rpart function is
(exactly) computing the "improve" (which is given in fit$split), an
Tyler,
The rcorr.cens, rcorrp.cens, and somers2 functions compute Dxy. That is a
typo in the overview, which we'll fix. Dxy is the appropriate measure for
binary Y, I think. It is a simple translation of the ROC area and does not
penalize for ties on Y.
Frank
Tyler Rinker wrote:
>
> Hello R C
Hi,
I would like to see if a matching variable is an effect-modifier in a
conditional logistic regression. Naturally, the matching variable
can't enter directly in the model but as an interaction with terms
that are in.
However, I have problems in formulating the correct model the term
that's alr
> Date: Sat, 11 Jun 2011 21:52:21 -0400
> From: ccoll...@purdue.edu
> To: r-help@r-project.org
> Subject: [R] smoothScatter function (color density question) and adding a
> legend
>
> Dear R experts,
>
> I am resending my questions below one more t
This depends on your OS.
on Windows,
Sys.getenv('computername')
should work.
Sys.info()['nodename']
should work on all systems.
On 6/13/2011 7:38 AM, David Scott wrote:
> On 13/06/11 15:19, pdb wrote:
>> Is there an r function that will be able to identify the computer the
>> code is
>> runni
Hi
> [R] How do I make proper use of the by() function?
>
> Dear list,
>
> I have a function that uses values from two vectors and spits out one
new
> vector based on all the values of the two original vectors, and with
the
> same length as them.
> Ok, I would now like to be able to apply th
Hi
r-help-boun...@r-project.org napsal dne 13.06.2011 05:21:23:
> Re: [R] automatically generate the output name of my "for" loops
>
> ?paste
> something like...
> paste (group, i, sep="_")
>
I believe that better idea is to use list, with which you can work further
much more efficiently.
ll
95 matches
Mail list logo