# Monthly Archives: October 2007

## Changing the fonts in R plots

October 28, 2007
By

Tweet I use R to do almost all of my statistical analysis and plotting. It has a very steep learning curve but once you get into it, it’s very powerful and you can customise almost anything. The only problem is that these changes are not...

Read more »

## Quick-R: a great R tutorial site

October 23, 2007
By

Quick-R, by Robert Kabacoff, is a wonderful R introduction site. It covers data management, basic and advanced statistics, and graphing in R, and it is aimed at an audience that has previous experience using other packages (such as SAS or Stata) that w...

Read more »

## Approximate sunrise and sunset times

October 17, 2007
By

This function is not perfect, but it does a reasonable job estimating sunrise and sunset times for my field site. If more accurate data are required, try here. Note, the command to calculate day of year is: strptime(x, "%m/%d/%Y")\$yday+1suncalc<-fun...

Read more »

## Approximate sunrise and sunset times

October 17, 2007
By

This function is not perfect, but it does a reasonable job estimating sunrise and sunset times for my field site. If more accurate data are required, try here. Note, the command to calculate day of year is: strptime(x, "%m/%d/%Y")\$yday+1suncalc<-fun...

Read more »

## Convert polar coordinates to Cartesian

October 14, 2007
By

When I want to calculate the coordinates of a location (e.g., a nest or burrow) based on distance and bearing from a grid point, this function helps me avoid writing down SOH-CAH-TOA every time. Just note that the bearing in this case is from the grid ...

Read more »

## Convert polar coordinates to Cartesian

October 14, 2007
By

When I want to calculate the coordinates of a location (e.g., a nest or burrow) based on distance and bearing from a grid point, this function helps me avoid writing down SOH-CAH-TOA every time. Just note that the bearing in this case is from the grid ...

Read more »

## If you don’t use R to fit multilevel models, there’s no point in reading this one

October 6, 2007
By

David Afshartous writes, What is the difference between sim() and mcsamp(), if any? If there is a difference, what should I expect in terms of difference in results? My reply:...

Read more »

## GillespieSSA 0.3-1 released

October 4, 2007
By
$GillespieSSA 0.3-1 released$

I recently rolled up the new version of the GillespieSSA package, version 0.3-1. The tar ball of the new version is posted on its web page (here). I also submitted it to CRAN so in (due time) it should appear … Continue reading →

Read more »

## Special Volume of JSS on Ecology and Ecological Modelling in R

October 3, 2007
By

The latest issue Journal of Statistical Software is a special volume on Ecology and Ecological Modelling in R. This has been in the woodwork for quite some time now and it is nice to finally to see this out “in … Continue reading →

Read more »

## Reorder factor levels

October 3, 2007
By

Very often, especially when plotting data, I need to reorder the levels of a factor because the default order is alphabetical. There must be many ways of reordering the levels; however, I always forget which package to look in. A direct way of reorderi...

Read more »

## Sponsors

Contact us if you wish to help support R-bloggers, and place your banner here.

# Never miss an update! Subscribe to R-bloggers to receive e-mails with the latest R posts.(You will not see this message again.)

Click here to close (This popup will not appear again)