Displaying 20 results from an estimated 900 matches similar to: "ggplot2"
2016 Apr 12
0
ggplot2
Hi James,
If you want to specify the y-values, you need to use stat="identity" as below:
ggplot(probability, aes(x=Fertilizer, y=prob)) +
geom_bar(stat="identity", aes(fill=Treatment))
best,
huzefa
On Tue, Apr 12, 2016 at 1:02 PM, James Henson <jfhenson1 at gmail.com> wrote:
> Dear R Community,
>
> Below is a problem with a simple ggplot2 graph. The code
2017 Dec 07
2
Error in loadNamespace
Hello R Community,
I inadvertently updated packages via R Studio when a package was open. Now
when R Studio is opened the message below appears in the console panel.
Error in loadNamespace(name) : there is no package called ?yaml?
Error in loadNamespace(name) : there is no package called ?yaml?
When running R code, so far the only function that has not worked is
datatable () in the ?DT?
2017 Dec 07
0
Error in loadNamespace
> On Dec 7, 2017, at 10:47 AM, James Henson <jfhenson1 at gmail.com> wrote:
>
> Hello R Community,
>
> I inadvertently updated packages via R Studio when a package was open. Now
> when R Studio is opened the message below appears in the console panel.
>
> Error in loadNamespace(name) : there is no package called ?yaml?
>
> Error in loadNamespace(name) :
2009 Mar 23
1
Syntax in lmer...
Sorry for bothering you - but I have a little problem. I`m completely
new in R and trying to use lmer. That works, but I m not sure if my code
is right, so I would just like to get an opinion from the experts.
I have a Growthrate of plants (RGR
Fixed Factors: Fertilizer, Status (alien or native plants) and their
interaction
Random Factors: Age is a covariable; than I have plantfamily and
2011 Jun 01
1
different results from lme() and lmer()
Hello R-help,
I'm studying an example in the R book.?
The data file is available from the link below.http://www.bio.ic.ac.uk/research/mjcraw/therbook/data/fertilizer.txt
Could you explain Why the results from lme() and lmer() are different in the following case? In other examples, I can get the same results using the two functions, but not here...?
Thank you.Miya
library(lme4)library(nlme)#
2011 Jan 19
3
lme-post hoc
Hi all,
I analysed my data with lme and after that I spent a lot of time for
mean separation of treatments (post hoc). But still I couldn’t make
through it. This is my data set and R scripts I tried.
replication fertilizer variety plot height
1 level1 var1 1504 52
1 level1 var3 1506 59
1 level1 var4 1509 54
1 level1 var2 1510 48
2 level1 var1 2604 47
2 level1 var4 2606 51
2 level1 var3
2005 Nov 15
1
Repeates Measures MANOVA for Time*Treatment Interactions
Dear R folk,
First off I want to thank those of you who responded with comments for
my R quick and dirty stats tutorial. They've been quite helpful, and
I'm in the process of revising them. When it comes to repeated
measures MANOVA, I'm in a bit of a bind, however. I'm beginning to see
that all of the documentation is written for psychologists, who have a
slightly
2005 Oct 26
1
R-help Digest, Vol 32, Issue 26
r-help at stat.math.ethz.ch on Wednesday, October 26, 2005 at 6:00 AM -0500 wrote:
Ronaldo,
Try Harold's suggestion. The df still won't agree, because lmer (at least in its current version) just puts an upper bound on the df. But that should be OK, because all those t tests are approximations anyways, and you can get better confidence
intervals (credible intervals, whatever) by using the
2011 Sep 22
1
How to do Multiple Comparisons for a Mixed Effects Model
Hello everyone I am currently trying to conduct analysis of my graduate thesis data using a mixed effects model and I have reached an impass. When I try to conduct a multiple comparison, I get an error (See below): > fm3<- lme(abovegroundbiomass.m.2~medium*amelioration*fertilizer*treatment, random=~1|block/medium/amelioration/fertilizer) > tukeytest<-glht(fm3,
2017 Jun 26
1
How to code the factor for ANOVA
Hi there,
I have a experimental design related question. I have done a experiment
with 3 factors. The design matrix is similar to:
> data.frame(Factor.1 = rep(rep(0:2, each = 3),3), Factor.2 =
rep(c("U","S","N"), 9), Factor.3 = rep(0:2, each = 9))
Factor.1 Factor.2 Factor.3
1 0 U 0
2 0 S 0
3 0 N
2011 Jul 16
2
expression() and axis labels
Hi everyone!
I tried to look up in the previous topics whether there was something
similar to my question but I think there's nothing corresponding...
Anyway! Here is my problem:
I have a plot (qplot()) in which I want to insert axis labels with the
following text:
kg NH4+ N-equiv. * ha-1 yr-1 (well... 4 smaller and down and + as a power
(the same for the -1) but I am sure you understood
2005 Oct 24
3
lme and lmer syntax
Hi,
I have this:
lme(y~x1+x2,random=~1|x1/x2)
How to make this random effect using lmer?
I try this:
lmer(y~x1+x2+(1|x1/x2)
But it dont work.
Any idea?
Thanks
Ronaldo
--
System halted!
--
|> // | \\ [***********************************]
| ( ?? ?? ) [Ronaldo Reis J??nior ]
|> V [UFV/DBA-Entomologia ]
| / \ [36570-000 Vi??osa -
2005 Jun 02
0
How to calculate the correct SE in a nested or spliplot anova?
Hi!
How to calculate the correct SE of mean in a nested or spliplot anova?
Nested example:
---------------------
m <- aov(Glycogen~Treatment+Error(Treatment/Rat/Liver))
> m
Call:
aov(formula = Glycogen ~ Treatment + Error(Treatment/Rat/Liver))
Grand Mean: 142.2222
Stratum 1: Treatment
Terms:
Treatment
Sum of Squares 1557.556
Deg. of Freedom 2
Estimated
2007 Sep 19
53
enterprise scale redundant Solaris 10/ZFS server providing NFSv4/CIFS
We are looking for a replacement enterprise file system to handle storage
needs for our campus. For the past 10 years, we have been happily using DFS
(the distributed file system component of DCE), but unfortunately IBM
killed off that product and we have been running without support for over a
year now. We have looked at a variety of possible options, none of which
have proven fruitful. We are
2008 Mar 12
22
ZFS ACLs/Samba integration
I''m currently prototyping a Solaris file server that will dish out user
home directories and group project directories via NFSv4 and Samba.
I have samba configured and integrated into our local active directory,
with ACL mapping working. I''m a little confused as to the behavior of the
ZFS ACL though.
on a brand-new filesystem, touching a file results in:
-rw-r--r-- 1 root
2008 Mar 11
1
msdfs root -- client error "refers to a location that is unavailable"
I'm trying to get Samba 3.0.28 to work as an MS Dfs root providing a share
that links home directories to the actual servers they reside on.
Unfortunately, when I access the share from a Windows XP client, and try to
open one of the directories, the client gives an error that it "refers to a
location that is unavailable".
I've done a lot of searching, and found a number of
2018 May 08
3
Bilateral matrix
or in base R : ?xtabs ??
as in:
xtabs(~previous_location + current_location,data=x)
(You can convert the 0s to NA's if you like)
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along and
sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
On Tue, May 8, 2018 at 9:21 AM, Huzefa
2006 Sep 15
8
file: target generates error
file { "/var/log/syslog":
target => "/var/log/messages"
}
generates the following error:
err: //henson/stanford/syslog/file=/var/log/syslog: Failed to retrieve
current state: undefined method `should'' for false:FalseClass
2018 May 16
0
Bilateral matrix
Dear Bert and Huzefa,
Apologies for the late reply, my account got hacked and I have just managed
to recover it.
Thank you very much for your replies and the solutions. Both work well.
I was wondering if there was any way to ensure (force) that all possible
combinations show up in the output. The full dataset has 25 cities but of
course people have not moved from Boston to all the other 24
2018 May 15
0
Forecasting tutorial "Basic Forecasting"
Instead of
Tsp = c(2016, 2018, 12)
try
Tsp = c(2016, 2018.25, 12)
Hence, you can specify the object as
structure(c(5973156.76, 5159011.2, 6695766.64, 6365359, 6495218.53,
7226302.39, 6835272.7, 7383501.57, 6962748.19, 7623278.72, 7274994.33,
7919421.8, 7360740.81, 7436693.35, 8545765.55, 7337269.76, 8180585.44,
8376635.05, 7758261.24, 10374641.22, 8000314.11, 9114958.9, 9805149.15,