Displaying 15 results from an estimated 15 matches similar to: "help with bwplot"
2009 Dec 13
1
Repeated Measures Analysis - GLM
Hello to the R world...
I have some problems regarding a GLM - repeated measures analysis.
I want to test overall differences between AgeClass and Treatment (between
subject) with OpenR1+OpenR2+OpenR3 (repeated measures, within subject). The
table looks kind like this:
AgeClass Treatment OpenR1 OpenR2 OpenR3
1 1 0 0 12.63
1 1 12.67 3.83 45.67
1 1 38.46 65.38 75.21
1 1 14.46 0 17.96
1 2 27.83
2017 Jun 20
0
Help
Leonardo--
R-help can be a very useful resource. Some suggestions to use it well:
1. use an informative subject line, not "help"
2. include a "minimal working example:" a *little* data, the code that,
with those data, reproduces your problem, and the error message that
resulted.
As to your particular question, at this point I can only guess, but for
starters it would
2017 Jun 20
3
Help
Dear expert friends,
I'm pretty young of this world and my question at your eyes can be petty
easy.
I'll need to change the name of the levels inside a column of my data-frame
levels(ind.davis$Ageclass) <- c("adult", "Juvanile", "sub-adult")
names(ind.davis$Ageclass) <- c("Adult", "Juvenile", "Sub-adult")
that is what I
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
2005 Nov 08
2
retrieve most abundant species by sample unit
Hi R-users:
[R 2.2 on OSX 10.4.3]
I have a (sparse) vegetation data frame with 500 rows (sampling
units) and 177 columns (plant species) where the data represent %
cover. I need to summarize the cover data by returning the names of
the most dominant and the second most dominant species per plot. I
reduced the data frame to omit cover below 5%; this is what it looks
like stacked. I have
2008 Feb 20
2
factors ordered by mean
Hi,
How to order the levels os factor not by alphabetic order but by mean of Y.
Somethink like this:
I have this alphabetic order:
> levels(pH)
[1] "alto" "baixo" "medio"
the order by mean os yvar is:
> sort(tapply(Riqueza,pH,mean))
baixo medio alto
11.56667 20.00000 26.80000
How to make the levels of pH ordered by this mean to the result to
2007 Apr 11
3
Help with pexp( )
Dear all,
Sorry for bringing up an old issue:
>pexp(50, 0.5)
[1] 1
In some cases, pexp() gives CDF=1. I read some discussion in 2002 saying it
has been patched. However it's not working in "R2.4.1Patched". Could anyone
help me out?
Thanks a lot,
Jeann
_________________________________________________________________
Fine Dining & Fancy Food. Check Out This
2009 Jul 09
2
naming of columns in R dataframe consisting of mixed data (alphanumeric and numeric)
Hello,
I have an r function that creates the following dataframe tresults2.
Notice that column 1 does not have a column heading.
Tresults2:
[,1]
estparam 18.00000
nullval 20.00000
. . .
ciWidth 2.04622
HalfInterval 1.02311
pertinent code:
results<-cbind( estparam, nullval, t, pv_left, pv_right, pv_two_t,
estse, df, cc, tbox, llim, ulim, ciWidth,
2007 Jun 06
2
Multiple color schemes for barchart (lattice)
Hello R-help.
I am trying to make a stacked barplot where the color of the sections of
each bar depend on another variable.
> myData[1:11,]
score percent marker cellType Malignant
1 0 100.00000 ESR1 (ER) Bladder.M(5) TRUE
2 0 80.00000 PAX8 Bladder.M(5) TRUE
3 1 20.00000 PAX8 Bladder.M(5) TRUE
4 0 100.00000 ESR1 (ER) Brain.N(3) FALSE
5 0
2005 Jun 20
1
RES: another aov results interpretation question
Dear All,
I created a script to calculate averages - two groups: "parcel" and
"date" - and, based on these averages, make a graph. The problem is that
'R' does not recognize the first column even if I try to insert one.
A brief example
Raw data:
Data <- sample(1:100, 30, replace = FALSE, prob = NULL)
Date <-
2012 Aug 27
1
How to average time series data around regular intervals
Hi,
I'm pretty new to R and have run into a task which although I'm certain is
within R's capabilities, falls outside of mine. :-) Consider the following
data set:
2012-07-22 12:12:00, 21
2012-07-22 12:15:00, 22
2012-07-22 12:18:00, 24
2012-07-22 12:39:00, 21
2012-07-22 12:45:00, 25
2012-07-22 12:49:00, 26
2012-07-22 12:53:00, 20
2012-07-22 13:00:00, 18
2012-07-22 13:06:00, 22
My
2013 Apr 10
3
how to calculate average of each column
Hey All,
I have a large dataset and I want to calculate the average of each column
then return a new dataset.
Here is my question: I dont know if there is a function that can allow me
to calculate the average every 60 records of data in the whole dataset, and
return a new data frame. Not sure if I have to divide the dataset first for
every 60, then do the mean or can i directly do that.
thanks
2008 Aug 19
0
R-code: for those who like a challenge; HELP
I'll try to be more clear, but will have to give much more info. Here we go....
As part of my Masters in Public Health I writing a dissertation reviewing the mortality trend of internally displaced persons in camp settings in Sub Saharan Africa. I have 50 surveys with
- crude mortality rate (cmr), CMR lower confidence interval(cmrlci), CMR upper confidence interval(cmruci),
- recall period
2007 May 18
3
{10,20,30}>={25,30,15}
Hi There,
Using t.test to test hypothesis about which one is greater, A or B?
where A={10,20,30},B={25,30,15}.
My question is which of the following conclusions is right?
#################hypothesis testing 1
h0: A greater than or equal to B
h1: A less than B
below is splus code
A=c(10,20,30)
B=c(25,30,15)
t.test(c(10,20,30),c(25,30,15),alternative="less")
output:
p-value=0.3359
2002 Sep 25
10
Reading complicated data file
Hi, I am new in R and I have problem with reading this data file
0 TITLE Title
0 XLEGEND Legend
-1 LABEL x
1 1 12
1 2 30
1 3 34
I want to read only lines starting with 1 (it indicates 1st plotting line)
and create data set from second and third value on this row.
Thank for advice
Jakub Zlamal
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list