Displaying 20 results from an estimated 200 matches similar to: "R not ploting lines in the correct order"
2010 May 26
3
Peak Over Threshold values
Dear List
I hope you can help me: I?ve got a dataframe (df) within which I am looking
for Peak Over Threshold values as well as the length of the events. An event
starts when walevel equals 5.8 and it should end when walevel equals the
lower threshold value (5.35).
I tried ?clusters (?)? from ?evd package?, and varied r (see example) but it
did not work for all events (again
2006 Jan 04
4
Discrepency between confidence intervals from t.test and computed manually -- why?
I am sure there is something simple here I am missing, so please bear
with me.
It concerns the computation of the confidence interval for a population
mean.
The data are 125 measurements of Cs137 radation, a sample data set from
Davis "Statistics and Data Analysis in Geology" 3rd ed. (CROATRAD.TXT)
------------------
method 1: using textbook definitions: mean \pm se_mean * t-value
mu
2008 Mar 19
1
[PS] Two Way ANOVA
Ben,
I would like to test the sulfur on the clover field, nitrogen on the clover field and then test for the presence of interaction.
Sorry about the last email, seems it really screwed itself over, here it is again, hopefully nicer:
Nitrogen(0) Nitrogen(20)
Sulfur(0) 4.54 5.73
Sulfur(3) 4.64
2006 Nov 21
4
means over factors in mlm terms
I'm trying to write a function to find the means over factors of the
responses in a mlm (something I would do easily in SAS with PROC SUMMARY).
The not-working stub of a function to do what I want is below,
and my problem is that I don't know how to call aggregate (or
some other function) in the context of terms in a linear model
extracted from a lm/mlm object.
means.mlm <-
2008 Dec 17
5
Trouble pulling data from a messy ACII file...
Hi all,
I am a new graduate student who is also new to R. I am ok with the basics,
but the problem I am having right now seems beyond what I can do..so I am
looking for advice. I am trying to pull data from flat ASCII files, but they
do not have a "nice" structure so a simple "read.table" doesn't work. An
example first half of a data file is below:
2007 Dec 08
0
help for segmented package
Hi,
I am trying to find m breakpoints of a linear regression model. I
used the segmented package. It works fine for small number of
predicators and breakpoints.(3 r.v. 3 points). However, my model has
14 variables it even would not work even for just one breakpoints!.
The error message is always estimated breakpoints are out of range.
Since my problem is time related problem. So I
2008 Feb 29
2
Two Way ANOVA
Hi,
I am using the:
pcf.aov<-aov(meas~op+part, data=pcf.ex2),
command to perform a two way ANOVA. When I save the:
sumpcf<- summary.aov(pcf.aov),
result of the summary.aov command in a variable I need to access the
individual pieces of information in the summary. The summary appears
to be a list and I am having a hard time finding a way to get at the
information in the summary.
2003 Oct 09
3
Specifying suitable PC to run R
If I am buying a PC where the most compute intensive task will be running R
and I do not have unlimited resources what trade-offs should I make?
Specifically should I go for
1 - more memory, or
2 - faster processor, or
3 - something else?
If it makes a difference I shall be running Windows on it and I am thinking
about getting a portable which I understand makes upgrading more difficult.
Extra
2012 Aug 28
1
don't print object attributes
Dear all
Suppose the object below:
> require(Hmisc)
> require(plyr)
> x <- dlply(iris, .(Species), describe)
How can I print the object without displaying the attributes? I
inspected ?print and ?print.default with no luck.
> x
$setosa
x[, "Sepal.Length"]
n missing unique Mean .05 .10 .25 .50 .75
50 0 15 5.006 4.40 4.59
2005 Aug 27
2
writing to a fixed format (fortran) file
Could anyone help with what should be a simple task? I have data as a
fixed format (fortran) table. I have no trouble getting it into R using
read.table. Each column is separated by a space, including the first
column that begins with a space, and aligned. It reads into R as if
separated by tabs. However I want to manipulate two columns of data then
write the results out into exactly the
2012 Nov 07
3
HELP! Excel and R give me totally different regression results using the exact same data
Hallo,
I am totally confused why Excel and R give me totally different regression
results for the data below. If you know the solution, please enlighten me.
In Excel I used LINEST() and Data>Data Analysis>Regression and both
(fortunately) gave the same result.
The coefficients were:
/b0=1.16, b1=0.957, b2=0.024, R2=0.0027, adjusted R2=-0.017/
In R I used
2012 Dec 01
1
reading json tables
I'm trying to read two data sets in json format from a single .js file.
I've tried fromJSON()
in both RJSONIOIO and RJSON packages, but they require that the lines be
pre-parsed somehow in ways I don't understand. Can someone help?
> wheat <- readLines("http://mbostock.github.com/protovis/ex/wheat.js")
> str(wheat)
chr [1:70] "var wheat = [" "
2007 Dec 05
4
coxme frailty model standard errors?
Hello,
I am running R 2.6.1 on windows xp
I am trying to fit a cox proportional hazard model with a shared
Gaussian frailty term using coxme
My model is specified as:
nofit1<-coxme(Surv(Age,cen1new)~ Sex+bo2+bo3,random=~1|isl,data=mydat)
With x1-x3 being dummy variables, and isl being the community level
variable with 4 levels.
Does anyone know if there is a way to get the standard error
2010 Apr 20
1
multiple plots problem
hello,
i try to plot 3 graphs which have the same x.axis underneath each other. i'd
like the plots to be aligned without margings between the boxes and draw a
single x axis beneath the lowest plot.
i managed to get the alignment by setting par(mar), but the middle box is
stretched
and i cant't figure out how to get around this. par(pin) was my guess, but
this doesn't do the job
2012 Jul 09
6
Crontab overwritten by Puppet
Hello folks..
I suddenly found the crontab on one of my puppet clients overwritten. It
had many entries, including one created by Puppet. Suddenly during one run
it was overwritten, keeping only the Puppet entry and removing everything
else. Nothing changed between the previous runs and the one that re-created
the crontab in terms of configuration. I''m running Puppet 2.7.6.
Fri Jul
2010 Feb 09
1
Superimpose ksmooth() onto barplot
I'd like to superimpose a ksmooth() onto a barplot().
My data is:
> d
2009-06-20 2009-06-21 2009-06-22 2009-06-23 2009-06-24
2009-06-25 2009-06-26 2009-06-27 2009-06-28 2009-06-29 2009-06-30
2009-07-01 2009-07-02
Same Breed (B) 12.64 21.08 13.52 12.51
13.71 9.91 14.24 7.18 11.81 5.92
12.04 17.96
2009 Feb 17
1
Processing a list of fit objects
Hi, I have a list of fit objects (fit objects from HMISC functions)
I create elements in the list in this way
lrm.sumtot <- lrm( ae7bepn ~ trarm + sumtot , data=sd.fix)
lrm.list[['lrm.sumtot']] <- lrm.sumtot
And I can run (anova(lrm.sumtot))
The following also gives the anova I'd expect
zz <- lrm.list[['lrm.sumtot']];anova(zz)
And similarly for the summary
2012 Jul 11
12
99% iowait on one core in 8 core processor
Hi All,
We have a xen server and using 8 core processor.
I can see that there is 99% iowait on only core 0.
02:28:49 AM CPU %user %nice %sys %iowait %irq %soft %steal %idle intr/s
02:28:54 AM all 0.00 0.00 0.00 12.65 0.00 0.02 2.24 85.08 1359.88
02:28:54 AM 0 0.00 0.00 0.00 96.21 0.00 0.20 3.19 0.40 847.11
02:28:54 AM
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
2005 Oct 10
1
text(x,y,greek character)
Dear list,
I would like to plot points with two types of labels, one at the data
point (the name of the point) and another offset a bit with another
factor which is either of the two greek characters alpha or beta. I have
tried to get the routine to plot a greek character with expression() or
with substitute() and have not yet had any success. The following only
plots the word in english in