dear William ,
I have an issue with R code which is :
FCP<-as.matrix(sapply(FCPval,as.numeric))
for (i in 1:rowN){if (FCP$FC[i] >= 1.5 & FCP$FC[i]<=-1.5 & FCP$p[i]<=0.05){
dfrmPFC=data.frame(matrix(Fc=FC,p=p))}
}
the error is :Error in FCP$FC : $ operator is invalid for atomic vectors
could you
also the header =0
On Wed, Sep 2, 2015 at 11:52 PM, Shawin Karim wrote:
> make row.name=0 instead to 1
>
> On Wed, Sep 2, 2015 at 11:07 PM, Bogdan Tanasa [via R] <
> ml-node+s789695n4711774...@n4.nabble.com> wrote:
>
>> Dear all,
>>
>> would appreciate a piece of help with a simple question: I a
that is great, thank you Bill for time and help ;) !
On Wed, Sep 2, 2015 at 4:36 PM, William Dunlap wrote:
> y <- as.matrix(read.table("FILE_NAME",header=T,row.names=1))
> colnames(y) <- gsub("X","", colnames(y))
>
> Use read.table's check.names=FALSE argument so it won't mangle
> the column
y <- as.matrix(read.table("FILE_NAME",header=T,row.names=1))
colnames(y) <- gsub("X","", colnames(y))
Use read.table's check.names=FALSE argument so it won't mangle
the column names instead of trying to demangle them with gsub() afterwards.
E.g.,
txt <- " 50% 100%\nA 5 8\nB 13
Thanks, Bert ! I solved the situation in the meanwhile, by using :
y <- as.matrix(read.table("FILE_NAME",header=T,row.names=1))
colnames(y) <- gsub("X","", colnames(y))
On Wed, Sep 2, 2015 at 3:59 PM, Bert Gunter wrote:
> Please read the Help file carefully before posting:
>
> "read.table is
Please read the Help file carefully before posting:
"read.table is not the right tool for reading large matrices,
especially those with many columns: it is designed to read data frames
which may have columns of very different classes. Use scan instead for
matrices."
But the answer to your questio
p value should be 0.3
On Wed, Sep 2, 2015 at 8:07 PM, Navien [via R] <
ml-node+s789695n4711770...@n4.nabble.com> wrote:
> I have a csv file i convert it to numeric value , then i apply t-test ,
> but t-test result is not correct: please could you guide me. the data :
> ID x1 x2 x3 x4 x5 x6 x7 x8
Dear all,
would appreciate a piece of help with a simple question: I am reading in R
a file that is formatted as a matrix (an example is shown below, although
it is more complex, a matrix of 1000 * 1000 ):
the names of the columns are 0, 1, 4, 8, etc
the names of the rows are 0, 1
On Sep 2, 2015, at 12:02 PM, Fisher Dennis wrote:
> R 3.2.0
> OS X
>
> Colleagues,
>
> I am confused about the implementation of contrasts in ANOVA. I have 4
> groups (BATCH) in DATA. My code reads:
> contrasts(DATA$BATCH) <- c(-1, -1, 1, 1)/2
> LM
R 3.2.0
OS X
Colleagues,
I am confused about the implementation of contrasts in ANOVA. I have 4 groups
(BATCH) in DATA. My code reads:
contrasts(DATA$BATCH) <- c(-1, -1, 1, 1)/2
LM <- lm(VALUES ~ SIDN +
BATCH, data=DATA)
where bot
Please show us the code that you used that failed. There are several
different graphics systems in R, and the answer depends on which
system you use.
Cheers,
Bert
Bert Gunter
"Data is not information. Information is not knowledge. And knowledge
is certainly not wisdom."
-- Clifford Stoll
On
On Sep 2, 2015, at 8:21 AM, Romana Shehla wrote:
> Sir/Madam,
>
> I am a scholar at Aligarh Muslim University and have been
> continuously using R language. Recently, I am stuck on labeling axis of the
> graphic, I have made. Actually, I want to use mathematical notation
> 0 to show the
Sir/Madam,
I am a scholar at Aligarh Muslim University and have been
continuously using R language. Recently, I am stuck on labeling axis of the
graphic, I have made. Actually, I want to use mathematical notation
0https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting g
Dear all,
I have a long list of parties and participants over many years and want
to extract network relations between people to identify groups of
friends. My list looks like this:
Party 1; date party 1; first name 1 last name 1; first name 2 last name
2; first name 3 last name 3;
Party 2;
I am using spdep package to do spatial estimations in R.
Anyway I was not able to find out how to compute the loglikelihood (and a
pseudo-R^2) of a 2sls spatial model, estimated through the command stsls. I
need some fitting indicator to compare the 2sls model with the one obtained
through maxL (c
Good morning,
I hope this message finds you well.
I am writing because I have been trying to run a Bayesian network
meta-analysis for 2 weeks now using the pcnetmeta package and have not been
able to do it. I have looked for help online and could not find what my
problem is.
My code is:
No.
Rhetorical question: You appear not to understand what factor analysis
does, so why are you trying to use it?
In any case, these are statistical questions, and therefore largely
off topic here, which is about R programming. I suggest you:
1) Consult a local statistical expert (your advisor?)
Dear Rexperts,
I tried running factanal on a group and variables ( all categorical datas ) and
I learnt that's not possible , at least by using factanal. Can I use FactoMineR
for MFA ? Does it do the same thing as factor analysis.
Thanks in advance for the help,
Harmeet
I am testing a package with
R CMD check
and
R CMD check --as-cran
some code which is run in the examples section uses the foreach and
doParallel package.
When run with --as-cran I have an error.
registerDoParallel function causes an error.
Error in .check_ncores(length(names)) : 6 simultaneous
19 matches
Mail list logo