Displaying 2 results from an estimated 2 matches for "pop1995".
2008 Oct 29
2
Help using tapply with multiple variables
...dt<-5
r<-log(N1/N0)/dt
r
}
which calculates the annual growth rates in a population
Where N0 is the population classified into age intervals, say 5
years, at time=1995, and N1 is the population by 5 year age classes
at time=2000.
For example some data like this are:
country pop1995 pop2000
1 1712 1940
1 1329 1535
1 1101 1268
1 911 1048
1 758 859
2 627 710
2 513 584
2 420 475
2 754 965
2 638 741
I want to use the tapply function to apply the pres.test function
over all countries in my data table...
2011 Oct 13
1
Axis Formats with library(car)
...d my data here: http://bit.ly/olgMLt (scatter_example.csv).
The resulting graph is shown here:
http://bit.ly/r8XxUA(business_orig_scatterplot.pdf). My code is as
follows:
estimation_data <- read.csv("scatter_example.csv",head=TRUE,sep=",")
library(car)
scatterplot(Bus_Orig ~ POP1995, data=estimation_data,
xlab="Population (1995)", ylab="Business Origins",
main="Scatter Plot - State Levels",
labels=row.names(estimation_data), boxplots=FALSE)
I tried the following as well which gave me no results.
# Trying to show #s in non-scientific f...