Displaying 20 results from an estimated 110 matches similar to: "histogram with mean for every break"
2011 May 20
5
regression coefficient for different factors
Dear R-helpers,
In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.
Thanks,
2011 Apr 13
2
FW: how to enclose two xyplot
Dear R-users,
I have to plot two xyplot, and I wish to enclose this two graphs with just one headline, the same x scale, the same grid etc.
These parameters should tie in, in order to obtain, visually, a unique graph formed by two xyplot.
I try to give an idea:
xyplot1: |_|_|_|
xyplot2: |_|_|_|
what i want: | | | |
|_|_|_|
I tried to use the command
2011 Jan 31
1
align xyplot
Dear R users,
I'm using xyplot to obtain a graph about a correlation x~y for different years (a categoric variable).
The program dispose automatically the graphs in this way:
2010
2007 2008 2009
2004 2005 2006
2001 2002 2003
1998 1999 2000
Which code should I use to obtain this sequance of graphs?
1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010
I have tried with
2010 Dec 03
1
ANCOVA method
Dear [R] Users,
I have implemented a linear model with this syntax:
model<- lm (var_dependent ~ var_indipendent + factor + var_indipendent : factor, dataframe)
anova (model)
Response: var_dependent
Df Sum Sq Mean Sq F value Pr(>F)
var_indipendent 1 20.5522 20.5522 87.8701 1.167e-14 ***
factor 1 0.1060
2012 Jun 05
2
par and complex graph
Dear R-Users, I'd like to have some tips about printing graph.
I use the command par to print more graphs in one window:par(mfrow=c(6,1)); par(oma=c(2.5, 2.5, 2.5, 2.5)); par(mar=c(0.5,4, 0.5, 0.5))
But this command doesn't run with complex graphic command (i.e. xyplot, ternaryplot).How can I print more than one graph per page, when I work with this "elaborated" graph?Many
2012 Oct 16
1
vectors comparison
Dear R-Users,
I'd like to have your help on this problem:
I have two vectors:x<- c(0,1,0,0,0,0,0,0,0,0,0,1,0)y<- c(0,0,-10,0,0,-10,0,-10,0,0,0,0,0)
And I want to know where the value -500 in y have a correspondence value 1 in x.Considering a buffer of one position before and after in x.i.e. in this example only the -10 in position y[3] satisfies the criteria, because x has in position
2010 Dec 03
2
difference between linear model & scatterplot matrix
Dear R-users,
I'm studing a DB, structured like this (just a little part of my dataset):
_____________________________________________________________________________________________________________
Site
Latitude
Longitude
Year
Tot-Prod
Total_Density
dmp
Dendoudi-1
15.441964
-13.540179
2005
3271.16
1007
16993.25
Dendoudi-2
15.397321
-13.611607
2009 Mar 31
1
help about: anova and population no normal
Dear R-Helpers,
Parametric statistics are statistics where the population is assumed to fit any
parametrized distributions (most typically the normal distribution).
My problem is:
1) if my polulation is no normal
2) if the sample data of all replications and treatments were well fitted from
the Weibull distribution (shape and scale parameters).
Can be The shape and scale parameters compared
2011 Jan 24
0
lm() and post hoc test
Dear Alex,
I have read your question about post-hoc test:
"Let's assume that according to Anova(lm(y~a*b, data=d)) the a:b interaction is significant, and I would like to know if there are specific combinations of a and b levels that differ from the control group. Are there any caveats against simply looking at the p-values in the output generated by summary(lm(y~a*b,data=d))? The
2012 Jun 04
1
Ternary plot and filled contour
Dear R-Users, I'd like to have some tips for a ternaryplot ("vcd").
I have this dataframe:
a<- c (0.1, 0.5, 0.5, 0.6, 0.2, 0, 0, 0.004166667, 0.45) b<- c (0.75,0.5,0,0.1,0.2,0.951612903,0.918103448,0.7875,0.45) c<- c (0.15,0,0.5,0.3,0.6,0.048387097,0.081896552,0.208333333,0.1) d<- c (500,2324.90,2551.44,1244.50, 551.22,-644.20,-377.17,-100, 2493.04)
2005 Jan 12
0
samba from srpms for fedora core 1 with mysql
hi there
here is part of SPECS file:
------------------------------------------------------------------
CFLAGS="$RPM_OPT_FLAGS" ./configure \
--prefix=%{_prefix} \
--localstatedir=/var \
--sysconfdir=/etc \
--with-privatedir=%{_sysconfdir}/samba \
--with-fhs \
--with-quotas \
--with-smbmount \
--with-pam \
2001 Apr 19
2
Multiple linear regression
Dear R-users,
I've a question regardiing multiple linear regression.
Is it possible to regress a function of the type
y=b0+b1*x1+b2*x2
constraining the partial derivatives dy/dx1 and dy/dx2 to be greater
than 0 ???
Thank you very much for any possible suggestion.
Best regards
Marco
--
Marco Pagani - PhD Student
Dipartimento di Scienze della Terra - Sezione Geofisica
Universita' degli
2003 Jan 20
1
quadratic trends and changes in slopes
I'd like to use linear and quadratic trend analysis in order to find
out a change in slope. Basically, I need to solve a similar problem as
discussed in http://www.gseis.ucla.edu/courses/ed230bc1/cnotes4/trend1.html
My subjects have counted dots: one dot, two dots, etc. up to 9 dots.
The reaction time increases with increasing dots. The theory is that
1 up to 3 or 4 points can be counted
2002 Oct 02
1
deleting (empty) directories
I am evaluating rsync for the mirroring of a website and associated
database. To exercise it and establish the correct run string I need I am
running tests LOCALLY between two test directories.
I have a /scratch/temp/Departure and a /scratch/temp/Arrival trees. I
apply changes to the Departure tree, run rsync, and do a diff -r.
Now I delete a file in Departure
rm Departure/Quattro/uno.file
2010 Dec 11
0
is there a packge or code to generate markov chains in R
Hi,
if i have data in the following time series format:
time, amount, state
1 2222 A
1 333 B
2 45 A
2 77 B
where states could be n and time periods t is there a package in R that would calculate the transition probabilities in a markov chain.
for each t except t=0 to generate
A B
A
B
perhaps the best structure might
2009 Dec 10
0
plm ? tests of poolability ? error: insufficient number
Hello Cecilia,
nice hearing from you again. I must restate a couple of my old hints,
though ;^)
1) please always put the authors c/c, as we are not guaranteed to browse
through the r-help every day
2) please provide reproducible examples.
As example(pooltest) keeps working fine, as do some other cases I tried
(Grunfeld data etc.), I don't know what the problem is but evidently
your data are
2002 Oct 03
0
more on selective deletion
I am trying to arrange a mirroring of two trees which will be arranged
like this :
--- top --- .htaccess a
--- a number of log files a
+-- Files --- contains local stuff b
+-- dir1 --- files c
+-- dir2 --- files c
|
2002 Oct 03
0
more questions Re: deleting (empty) directories
Thanks to Tim Conway and Phil Marek. The correct way(s) to synchronize two
directory trees is to avoid a trailing "*" after the origin directory
(either use a . or nothing)
rsync -rlptPzu --delete /scratch/temp/Departure/. /scratch/temp/Arrival/
rsync -rlptPzu --delete /scratch/temp/Departure/ /scratch/temp/Arrival/
I was misled by my first tests
rsync -rlptPzu --delete
2006 Feb 22
1
ActiveRecord strange behavior
Hi all,
I have a has_many relation between Parent and Child
Parent p
Child c
p.children << c => create the relationship in the database (why not need
p.save to see the child add?)
why when i modifiy a field in c.how_old i have to explicity call to c.save if
i want to see the modification in database (p.save doesn''t persist the
modification of chlild c)
because when i modify
2011 Jul 17
0
[xen-unstable test] 8091: regressions - FAIL
flight 8091 xen-unstable real [real]
http://www.chiark.greenend.org.uk/~xensrcts/logs/8091/
Regressions :-(
Tests which did not succeed and are blocking:
test-amd64-i386-rhel6hvm-intel 12 guest-localmigrate/x10 fail REGR. vs. 8071
Tests which did not succeed, but are not blocking,
including regressions (tests previously passed) regarded as allowable:
test-amd64-amd64-xl-pcipt-intel 9