Displaying 20 results from an estimated 1300 matches similar to: "Truncation error on simply mean & sum function (PR#12515)"
2008 Mar 25
1
Subset of matrix
Dear R users
I have a big matrix like
6021 1188 790 290 1174 1015 1990 6613 6288
100714
6021 1 0.658 0.688 0.474 0.262 0.163 0.137 0.32
0.252 0.206
1188 0.658 1 0.917 0.245 0.331 0.122 0.148 0.194
0.168 0.171
790 0.688 0.917 1 0.243 0.31 0.122 0.15 0.19
0.171 0.174
290 0.474
2006 Apr 27
1
Plotting Data Frame
Dear R community members,
I think I am asking a very simple question, but I really looked up in
the faqs and manuals and found nothing helpful.
I am trying to plot a data frame with the following structure (this is
just a small extract):
glo conc odor line series X1 X2 X3 X4 X5
X6 X7 X8 X9 X10 X11 X12 X13
1 0 AIR LN1 UP -0.488
2010 Feb 17
2
extract the data that match
Hi r-users,
I would like to extract the data that match. Attached is my data:
I'm interested in matchind the value in column 'intg' with value in column 'rand_no'
> cbind(z=z,intg=dd,rand_no = rr)
z intg rand_no
[1,] 0.00 0.000 0.001
[2,] 0.01 0.000 0.002
[3,] 0.02 0.000 0.002
[4,] 0.03 0.000 0.003
[5,] 0.04 0.000 0.003
[6,]
2008 Aug 08
2
aggregate
Dear All-
I have a dataset that is comprised of the following:
doy yr mon day hr hgt1 hgt2 hgt3 co21 co22 co23 sig1 sig2 sig3 dif flag
244.02083 2005 09 01 00 2.6 9.5 17.8 375.665 373.737 373.227 3.698 1.107
0.963 -0.509 PRE
244.0625 2005 09 01 01 2.6 9.5 17.8 393.66 384.773 379.466 15.336 11.033
5.76 -5.307 PRE
244.10417 2005 09 01 02 2.6 9.5 17.8 411.162 397.866 387.755 6.835 5.61
6.728
2010 Aug 15
2
problems with which
Dear all,
I'm quite new in R and I have a problem with the function which. When I
use it to select a subset of a dataframe it works well but somewhere R
takes trace of the past dataframe and this creates problems with
following operations.
For example:
sentences <- read.xls("frasi.tot.march.3.xls", header=TRUE)
head(sentences)
fam subjID Cond Code reg total first
2005 Feb 15
3
using poly in a linear regression in the presence of NA f ails (despite subsetting them out)
This smells like a bug to me. The error is triggered by the line:
variables <- eval(predvars, data, env)
inside model.frame.default(). At that point, na.action has not been
applied, so poly() ended being called on data that still contains missing
values. The qr() that issued the error is for generating the orthogonal
basis when evaluating poly(), not for fitting the linear model itself.
2005 Feb 15
3
using poly in a linear regression in the presence of NA f ails (despite subsetting them out)
This smells like a bug to me. The error is triggered by the line:
variables <- eval(predvars, data, env)
inside model.frame.default(). At that point, na.action has not been
applied, so poly() ended being called on data that still contains missing
values. The qr() that issued the error is for generating the orthogonal
basis when evaluating poly(), not for fitting the linear model itself.
2007 Jan 23
3
the value of Delta
Dear all,
I am running R 2.4.1.
> library(siggenes);
> library(multtest);
> cl<-rep(c(0,1),c(3,3));
> sub<-exprs(AffyExpData[,c(1:3,7:9)]);
> gn<-geneNames(AffyRAwData);
> sam.out<-sam(sub,cl,rand=123,gene.names=gn);
We're doing 20 complete permutations
> sam.out
SAM Analysis for the Two-Class Unpaired Case Assuming Unequal Variances
Delta p0
2004 Sep 14
3
Signs of loadings from princomp on Windows
I start a clean session of R 1.9.1 on Windows and I run the following code:
> library(MASS)
> data(painters)
> pca.painters <- princomp(painters[ ,1:4])
> loadings(pca.painters)
Loadings:
Comp.1 Comp.2 Comp.3 Comp.4
Composition 0.484 -0.376 0.784 -0.101
Drawing 0.424 0.187 -0.280 -0.841
Colour -0.381 -0.845 -0.211 -0.310
Expression 0.664 -0.330 -0.513
2008 Feb 19
4
[LLVMdev] 2008-01-25-ByValReadNone.c Failure
Hi all,
I'm seeing this failure on my PPC G4 box running TOT with llvm-gcc
4.2. Is anyone else seeing this? I'm sure it's related to the byval
stuff that's recently gone into LLVM. I'm attaching the output of
this command:
$ llvm-gcc -emit-llvm -O3 -S -o - -emit-llvm /Users/wendling/llvm/
llvm.src/test/CFrontend/2008-01-25-ByValReadNone.c
As you can see in it, there
2008 Oct 30
0
lme4/anova, error message: "Calculated PWRSS for a LMM is negative"
Dear all,
I'm using the latest version of the package lme4 and R version 2.7.2
(2008-08-25).
After I run the model, I get the results of the model (cf. below). Then, I
run an ANOVA using the "anova" function and I get the following message
"Error in anova(lmer1) : Calculated PWRSS for a LMM is negative".
I went trough the R-mailing list and a similar error message was
2004 Dec 02
3
Dominant factors in aov?
Hi all,
I'm using R 2.0.1. for Windows to analyze the influence of following factors
on response Y:
A (four levels)
B (three levels)
C (two levels)
D (29 levels) with
E (four replicates)
The dataset looks like this:
A B C D E Y
0 1 1 1 1 491.9
0 1 1 1 2 618.7
0 1 1 1 3 448.2
0 1 1 1 4 632.9
250 1 1 1 1 92.4
250 1 1 1 2 117
250 1 1 1 3 35.5
250 1 1 1 4 102.7
500 1 1 1 1 47
500 1 1 1 2 57.4
2003 Apr 24
1
write.table problem
Dear R helpers,
I have been using the loadings function from the multiv library and I
get the typical output (see below). When I try to export these results
to a file using a write.table() I get the following error message
"Error in as.data.frame.default(x[[i]], optional = TRUE) : can't coerce
loadings into a data.frame" Any idea why write.table is doing that and
any
2018 May 15
2
Systemfit
OK, Let's try this again! Here is the reproducible script; it is long because I had to copy the panel dataset here. My question is related to systemfit; I don't know how to get the result for the entire panel.
#Reproducible script
Empdata<- read.csv("/Users/ngwinuiazenui/Documents/UPLOADemp.csv")
View(Empdata)
install.packages("systemfit")
2012 Dec 14
1
format.pval () and printCoefmat ()
Hi List,
My goal is to force R not to print in scientific notation in the sixth column (rel_diff - for the p-value) of my data frame (not a matrix).
I have used the format.pval () and printCoefmat () functions on the data frame. The R script is appended below.
This issue is that use of the format.pval () and printCoefmat () functions on the data frame gives me the desired results, but coerces
2003 Dec 02
2
IPv4-only networks via IPv6-only network
Hello all,
I would like to connect two IPv4-only networks through global IPv6-only
network with tinc.
Could anyone tell me how to configure tinc.conf and the other config files?
Thanks in advance,
Ichiro
Tinc: Discussion list about the tinc VPN daemon
Archive: http://mail.nl.linux.org/lists/
Tinc site: http://tinc.nl.linux.org/
2010 Dec 21
2
please Help me on a repeated measures anova
I currently work on a draft of an aquatic bioassessment. The conditions
tested are the following: ER river water T dechlorinated water control 0.5 +
0.5mg / L of malate T + 1 dechlorinated water control + 1g / L of malate T
ED dechlorinated water control SED + ER + river water sediment SED ED +
sediment + water dechlorinated. It is the result of AChE in muscle (fillet
of fish). The production of
2009 Mar 31
3
Factor Analysis Output from R and SAS
Dear Users,
I ran factor analysis using R and SAS. However, I had different outputs from
R and SAS.
Why they provide different outputs? Especially, the factor loadings are
different.
I did real dataset(n=264), however, I had an extremely different from R and
SAS.
Why this things happened? Which software is correct on?
Thanks in advance,
- TY
#R code with example data
# A little
2018 May 16
0
Systemfit
Sadly you failed to set your email program to send plain text and the data is corrupted at my end.
I also think you need to reduce the size of the data set... the intent here is to increase your understanding, not debug your particular analysis.
I will say that I am having a very challenging time understanding what you are trying to accomplish though. What are the equations that you think need
2013 Feb 23
2
assign index to colnames(matrix)
Hello, I’m trying to follow the syntax of a script from a journal website. In order to create a regression formula used later in the script, the regression matrix must have column names “X1”, “X2”, etc. I have tried to assign these column names to my matrix ScoutRSM.mat using a for loop, but I don’t know how to interpret the error message. Suggestions? Thanks, Paul