On Jul 22, 2015, at 12:50 AM, JIALU YAO wrote:
> Hello,
>
> When I type the code *rownames(gene_exp_matrix)<-levels(geneidfactor)*,the
> error happens: Error in "rownames<-(*tmp*,value=character(0)):can not set
> object to 'rownames'.
>
> I am using Mac OS X10.10.2.
>
> How can I fix this prob
Without a reproducible example that includes some sample data (fake is
fine), the code you used, and some clear idea of what output you
expect, it's impossible to figure out how to help you. Here are some
suggestions for creating a good reproducible example:
http://stackoverflow.com/questions/59632
Hello,
When I type the code *rownames(gene_exp_matrix)<-levels(geneidfactor)*,the
error happens: Error in "rownames<-(*tmp*,value=character(0)):can not set
object to 'rownames'.
I am using Mac OS X10.10.2.
How can I fix this problem?
Thank a lot.
Yao
--
View this message in context:
http:/
Chris,
I think your best bet is to find someone locally that is familiar with R,
and show them this correspondence. They will be able to help you post your
question so that you have the best chance of getting an answer. Or,
perhaps, they will be able to answer the question themselves.
Jean
On
Thursday, September 25, 2014 5:57 PM
> To: Adams, Jean
> Cc: R help
> Subject: Re: [R] error in rownames
>
> Sorry to respond again so quickly, but is this what you meant?
>
>
> y <- subset(training, select = c(ResponseSu))> x <- subset(training,
> select = c(sinaspec
Chris;
You are posting in HTML. You have apparently not read the Posting Guide. This
is a plain-text mailing list. Please do read it now:
http://www.R-project.org/posting-guide.html
The code scraped from you consoles comes through without any linebreaks. (It's
pretty easy to configure gmail to
Sorry to respond again so quickly, but is this what you meant?
y <- subset(training, select = c(ResponseSu))> x <- subset(training,
select = c(sinaspect, habitat, elevation, disttowat, disttoroad,
slope, cosaspect))> type.rf <- yai(x=x, y=y, method="randomForest",
rfMode="regression", ntree=20)>
Thanks again for your help, I am obviously a novice programmer. That said,
I think I am confused as to what you mean by reproducible code. Were the 20
lines of code not reproducible? Also, what do you mean by the help for
Ascii Grid Impute. I'm not able to find it online or within the R platform.
F
Chris,
You are not making it easy for R help folks to help you.
You need to supply *** reproducible *** code, so that folks can simply copy
and paste directly from your e-mail to R and reproduce the error that you
are getting. Do you need a guide to follow? See the first 60-some lines
of code p
Dear fellow R users,
I am trying to run the random forest and Yaimpute packages in R to
impute a grid to project in a gis. However, after running the
imputation I keep getting an error in the rownames. This sounds simple
enough, but I cannot figure out what these rownames are reffering to.
Any ide
Chris,
It's hard to troubleshoot without reproducible code. I suggest you post a
simple example of code that we can run. For example, use
dput(training[1:20, ])
to spit out the first 20 lines of the training data. Then simplify the
rest of the code as much as possible.
library(yaImpute)
t
Dear fellow R users,
I am trying to run the random forest and Yaimpute packages in R to
impute a grid to project in a gis. However, after running the
imputation I keep getting an error in the rownames. This sounds simple
enough, but I cannot figure out what these rownames are reffering to.
Any ide
12 matches
Mail list logo