Displaying 20 results from an estimated 21 matches for "0.845".
Did you mean:
0.45
2006 May 24
2
data.frame
Dear all,
Does any one knows why should I get the following error message, when trying
to do a simple data.frame??
DataF<-data.frame(Subject,BiomR,Spp,Capas,Litter,Herbs,LitterD,MaxCanH,DDifS
p,DSSp,Slope, CanDens,NearestSp)
Erro em data.frame(Subject, BiomR, Spp, Capas, Litter, Herbs, LitterD, :
arguments imply differing number of rows: 202, 0
The data I am using
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
2015 Jul 27
4
Como modificar valores en un data frame
Estimad en s, quería realizar una consulta
Dado un data frame llamado aves, como puedo sustiuir las variables area,
dist y distm por sus logaritmos en base10 y volver a crear un data frame?
Muchas gracias
Saludos
Susana
[[alternative HTML version deleted]]
2008 Oct 21
4
subscripting a one column matrix drops dimension
Hi all,
Why subscripting a one column matrix drops one dimension?
> x<- matrix(rnorm(100), ncol=1)
> str(x)
num [1:100, 1] -0.413 -0.845 -1.625 -1.393 0.507 ...
> str(x[20:30,])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
> str(x[20:30])
num [1:11] -0.315 -0.693 -0.771 0.448 0.204 ...
This breaks:
> cov(x)
[,1]
[1,] 0.9600812
>
2010 Feb 18
2
Extract p-value from aftreg object
Dear all,
does anyone know how I can extract specific p-values for covariates
from an aftreg object? After fitting a model with aftreg I can find
all different variables by using str(), but there's no place where
p-values are kept. The odd thing is that print() displays them
correctly.
EXAMPLE:
> testdata
start stop censor groupvar var1 var2
1 0 1 0
1999 Oct 25
2
leaps: XHAUST returned error code -999
Hi there,
This problem has been dogging me for a bit, and I'm trying to
figure out why. When running the the subsets function in the leaps
library, R is giving me the following error message
> lvodsub <- subsets(pred, resp$LVOD)
Warning message:
XHAUST returned error code -999 in: leaps.exhaustive(a, really.big =
really.big)
but this still happens if I add the really.big option:
2010 Jul 14
1
Dot Plot with Confidence Limits
Hi,
I have the following dataset and I would like to create a dotplot with
confidence limits:
CAT1 CAT2 MEAN Lower
Upper
1 1 1 0.619 0.392
0.845
2 1 10 1.774 1.030
2.518
3 1
2011 Aug 05
2
problemsn in using nls
Dear all,
I tried to use nls, but I got the following error
Error in numericDeriv(form[[3L]], names(ind), env) :
Missing value or an infinity produced when evaluating the model
Any suggestion?
Thanks,
Paola.
The code I wrote is
Data_pp2_mrna <- data.frame(
p1 = protein_1,
p6 = protein_6,
pp2_mrna
2009 Oct 16
1
Frequencies, proportions & cumulative proportions
Dear R-Helpers,
I've looked high and low for a function that provides frequencies,
proportions and cumulative proportions side-by-side. Below is the table
I need. Is there a function that already does it?
Thanks,
Bob
> # Generate some test scores
> myValues <- c(70:95)
> Score <- ( sample( myValues, size=1000, replace=TRUE) )
> head(Score)
[1] 77 71 81 88 83 93
>
>
2004 Nov 02
2
Problems with Durbin Watson and Partial Residual Plots
I am trying to evaluate a model by using the commands durbin.watson and cr.plot.
However, I keep getting errors that I can't figure out. A description follows. Does anyone have a hint as to what may be wrong?
1)The Durbin Watson Test. In running the command I kept getting the
message "residuals include missing values" when actually this was NOT the
case.
Example:
2012 May 02
1
coxph reference hazard rate
Hi,
In the following results I interpret exp(coef) as the factor that multiplies
the base hazard rate if the corresponding variable is TRUE. For example,
when the bucket is ks008 and fidelity <= 3, then the rate, compared to the
base rate h_0(t), is h(t) = 0.200 h_0(t). My question is then, to what case
does the base hazard rate correspond to? I would expect the reference to be
the first
2013 Mar 13
1
multi-comparison of means
Hi all:
I have a question about multi-comparison.
The data is in the attachment.
My purpose:
Compare the predicted means of the 3 methods(a,b,c) pairwisely.
I have 3 ideas:
#idea1
result_aov<-aov(y~ method + x1 + x2)
TukeyHSD(result_aov)
diff lwr upr p adj
b-a 0.845 0.5861098 1.1038902 0.0000001
c-a 0.790 0.5311098 1.0488902 0.0000002
c-b -0.055 -0.3138902
2012 Jul 23
3
3D scatterplot, using size of symbols for the fourth variable
Dear R fans,
I would like to create a scatterplot showing the relationship between 4
continuous variables. I thought of using the package "scatterplot 3d" to
have a 3-dimensional plot and then using the size of the symbols to
represent the 4th variable.
Does anybody know how to do this?
I already tried to create this graph using the colour of the symbols, but I
was unable to generate
2012 Jan 11
1
R CMD check pkg and 32/64 bit.
R gurus:
I'm trying to get another round of rconifers out and I need some advice/help crushing differences in the examples test.
I'm trying to make sure the max sdi values are being respected.
I've added a tests/rconifers-Ex.Rout.save (from windows i386-pc-mingw32) and when I ran R CMD check (both R-2.13.0), I got the following results:
* using log directory
2006 Jun 28
3
lme convergence
Dear R-Users,
Is it possible to get the covariance matrix from an lme model that did not converge ?
I am doing a simulation which entails fitting linear mixed models, using a "for loop".
Within each loop, i generate a new data set and analyze it using a mixed model. The loop stops When the "lme function" does not converge for a simulated dataset. I want to
2011 Nov 18
3
tip: large plots
Hi all,
I'm working with a bunch of large graphs, and stumbled across
something useful. Probably many of you know this, but I didn't and so
others might benefit.
Using pch="." speeds up plotting considerably over using symbols.
> x <- runif(1000000)
> y <- runif(1000000)
> system.time(plot(x, y, pch="."))
user system elapsed
1.042 0.030 1.077
2013 Mar 23
1
Non-convergence error for GLMM with LME4?
Hello! I am trying to run a GLMM using LME4, and keep getting the warning message: "In mer_finalize(ans) : false convergence (8)" I am quite new to R, and in looking into this thus far, it appears that there are a variety of reasons why this might occur, such as needing to standardize some parameters or if all subjects in one combination of parameters all have the same outcome. I also
2005 Jan 25
3
multi-class classification using rpart
Hi,
I am trying to make a multi-class classification tree by using rpart.
I used MASS package'd data: fgl to test and it works well.
However, when I used my small-sampled data as below, the program seems
to take forever. I am not sure if it is due to slowness or there is
something wrong with my codes or data manipulation.
Please be advised !
The data is described as the output from str()
2015 Apr 23
2
cálculo de distancias
¡Hola!
Estoy tratando de hacer una matriz que contenga los valores de distancias
entre distintos elementos (con sus respectivas coordenadas x e y), pero
salta un error, y no sé como corregirlo. ¿alguna idea?
muchas gracias!
saludos!!
Priscila
--
Dra. Priscila Ana Powell
Instituto de Ecología Regional
Facultad de Ciencias Naturales e Instituto Miguel Lillo
Universidad Nacional de Tucumán
2010 Nov 21
2
boxplot: reverse y-axis order
Hello,
Searching this forum has enabled me to get pretty far in what I'm trying to
do. However, there is one more manipulation I would like to make and I
haven't found a solution. Using the data and code below, I generate the
plot produced by the last command. If possible I would like to reverse the
order of the y-axis (bearing in mind horizontal=T) so that 0 is plotted at
the upper