Displaying 3 results from an estimated 3 matches for "byyear".
Did you mean:
byear
2007 Jul 12
1
ggplot2 / reshape / Question on manipulating data
...cariest Movie (2004) (mini) 00..000115 256 8.6 2004
The above data is not aggregated. So after playing around with basic
R functionality, I stumbled across the 'aggregate' function and was
able to see the information in the manner I desired (average movie
rating by year).
> byYear <- aggregate(ratings$VoteMean, list(Year = ratings$Year), mean)
> plot(byYear)
Having just discovered gglot2, I wanted to create the same graph but
augment it with a color attribute based on the total number of votes
in a year. So first I tried to see if I could reproduce the above:
> l...
2010 Mar 10
2
function to create multiple matrices
Hi All,
If given a dataframe (long form) with Year, Species, and Location,
How would I write a function that would create a unique matrix of Species &
Location for each Year?
What I've tried doing is the following:
data #dataframe
dataT<-table(data$Species,data$Location,data$Year) #creates tables of
Species vs Location for each Year
But I'm encountering issues individually
2011 Oct 17
1
simultaneously maximizing two independent log likelihood functions using mle2
Hello,
I have a log likelihood function that I was able to optimize using
mle2. I have two years of the data used to fit the function and I would
like to fit both years simultaneously to test if the model parameter
estimates differ between years, using likelihood ratio tests and AIC.
Can anyone give advice on how to do this?
My likelihood functions are long so I'll use the tadpole