Displaying 7 results from an estimated 7 matches similar to: "CCF and missing values."
2012 Nov 23
6
Summary statistics for matrix columns
Hi,
is there a way I can calculate a summary statistics for a columns matrix
let say we have this matrix
x <- matrix(sample(1:8000),nrow=100)
colnames(x)<- paste("Col",1:ncol(x),sep="")
if I used summary
summary(x)
i get the output for each column but I need the output to be in matrix with
rownames and all the columns beside it
this how I want it
2013 Aug 30
1
Outliers Help
This is my a part of my data set
> D[1:15,c(1,5:10)]
X. media IE.2005 IE.2006 IE.2007 IE.2008 IE.2009 IE.2010
1 1108 22.00000 60.0 39 4.0 8.0 16.0 5.0
2 1479 110.00000 NA NA 53.0 1166.0 344.8 110.0
3 1591 86.60000 247.0 87 95.0 94.0 81.0 76.0
4 3408 807.00000 302.0 322 621.0 1071.0 1301.0 1225.0
2009 Aug 18
4
Transpose a dataset
Hi Everyone,
I have a dataset like this
mean sd 0% 25% 50%
75% 100% n
BODY TEMPERATURE 36.41099 0.4015699 35.1 36.22222 36.5
36.66667 37.1 89
DIASTOLIC BLOOD PRESSURE 73.60079 9.4656186 50.0 67.00000 73.0
80.00000 95.0 253
HEIGHT 171.94000 9.2011670 153.5 166.50000 173.0
176.25000 190.0
2012 Nov 27
3
loop command to matrix
Dear UseRs,Extremely sorry for a basic question. I have a matrix of 19 rows and 365 columns. what i want to do is the following...First i want to leave out column number 1 and want to calculate the row wise mean of the remaining columns, which will obviously give me 365 values in one column, and then subtracting these values from the column i left out i.e. col=1 then i want to leave out column 2
2005 Oct 19
2
Automatic rounding of values after factors , converted to numeric, are multipled by a real number
I am wondering if someone would have any suggestion about my issue?
I have the following code:
wgts<-aggregate(subset(lendata,select=c(Length)),list(lendata$Cruise,len
data$Station,lendata$Region,lendata$Total),mean)
wgts<-wgts[order(wgts$Group.3,wgts$Group.1,wgts$Group.1),]
names(wgts)<-c("Cruise","Station","Region","Total","MLen")
2008 May 27
1
lm() output with quantiative predictors not the same as SAS
I am trying to use R lm() with quantitative and qualitative predictors, but am
getting different results than those that I get in SAS.
In the R ANOVA table documentation I see that "Type-II tests corresponds to the
tests produced by SAS for analysis-of-variance models, where all of the
predictors are factors, but not more generally (i.e., when there are
quantitative predictors)." Is
2008 Feb 15
1
How to plot fitted values from lmer (lme4 package)?
I am modelling (at least trying to) the seasonal component of a variable
using lmer. I think I am just about getting the hang of building the models
but want to see what the fitted values look like.
I need to plot 2 lines on the same graph - the original data ( copy of
dataframe below) and the fitted values. I am doing this to a) start to
understand how to use R and b) start to understand how to