Mark Gardener

264 followers -

Ecologist, Lecturer and Writer. Providing teaching and training in: Ecology, statistics, data analysis, and R: the statistical programming language

Ecologist, Lecturer and Writer. Providing teaching and training in: Ecology, statistics, data analysis, and R: the statistical programming language

264 followers

Posts

Post has attachment

Public

Adding a bit extra to a histogram...

Add a comment...

Post has attachment

Fieldwork alive and well #Fieldwork #Ecology

Add a comment...

Post has attachment

If you have column names as numbers R will prepend "X" to the column names

http://bit.ly/25WCV25

Change this using check.names = FALSE in the read.xxx() command when you import the data to #R #Stats

http://bit.ly/25WCV25

Change this using check.names = FALSE in the read.xxx() command when you import the data to #R #Stats

Add a comment...

Post has attachment

Post has attachment

Some notes about boxplot() in #R and how to reorder the box-whisker plots:

http://dataanalytics.org.uk/Data%20Analysis/TipsAndTricks/TTR-20150923.htm

#RStats #Graphics

http://dataanalytics.org.uk/Data%20Analysis/TipsAndTricks/TTR-20150923.htm

#RStats #Graphics

Add a comment...

Post has attachment

A few notes about way to present the results of matched pairs stats tests graphically using #R or #Excel:

http://dataanalytics.org.uk/Publications/Writers%20Bloc/Matched%20Graphs.htm

http://dataanalytics.org.uk/Publications/Writers%20Bloc/Matched%20Graphs.htm

Add a comment...

Post has attachment

Using the expression() command in #R to make complicated strings such as math formulae or superscript for axis labels etc.

Add a comment...

Post has attachment

Some notes about legends in #R plots. There's a section on placing the legend in the plot margin.

A legend is a tool to help explain a graph. You are most commonly going to want to add one to a bar chart where you have several data series. You'll also want to add one to a line or scatter plot when you have more than one series. Essentially you use a legend to help make a complicated plot more understandable.

In R you can add a legend to any plot using the legend() command. You can also use the legend = TRUE parameter in the barplot() command. The barplot() command is the only general plot type that has a legend parameter (the others need a separate legend).

The legend() command has a host of parameters, which can be tweaked to produce the finished article. Generally the most difficult part is making room on the chart for the legend itself!

A legend is a tool to help explain a graph. You are most commonly going to want to add one to a bar chart where you have several data series. You'll also want to add one to a line or scatter plot when you have more than one series. Essentially you use a legend to help make a complicated plot more understandable.

In R you can add a legend to any plot using the legend() command. You can also use the legend = TRUE parameter in the barplot() command. The barplot() command is the only general plot type that has a legend parameter (the others need a separate legend).

The legend() command has a host of parameters, which can be tweaked to produce the finished article. Generally the most difficult part is making room on the chart for the legend itself!

Add a comment...

Post has attachment

Using colour in graphs:

http://www.dataanalytics.org.uk/Publications/Writers%20Bloc/ColourInCharts.htm

I'm working on a new edition of my book Statistics for Ecologists Using R and Excel and thought I'd add a few notes to the website...

Controlling and managing the colours you display is an importnat element in presenting your work. With an increasing volume of work being presented via the Internet, colour is something not to take for granted. Using default colours is "easy" but for maximum impact you should think carefully about how to present the best colours for the job.

http://www.dataanalytics.org.uk/Publications/Writers%20Bloc/ColourInCharts.htm

I'm working on a new edition of my book Statistics for Ecologists Using R and Excel and thought I'd add a few notes to the website...

Controlling and managing the colours you display is an importnat element in presenting your work. With an increasing volume of work being presented via the Internet, colour is something not to take for granted. Using default colours is "easy" but for maximum impact you should think carefully about how to present the best colours for the job.

Add a comment...

Post has attachment

Public

I am working on a new edition of my book "Statistics for Ecologists", here are some thoughts on gridlines on graphs.

http://www.dataanalytics.org.uk/Publications/Writers%20Bloc/Gridlines.htm

Including:

How to make gridlines visible on #excel charts through the bars.

How to make gridlines on #R plots hidden behind the bars.

http://www.dataanalytics.org.uk/Publications/Writers%20Bloc/Gridlines.htm

Including:

How to make gridlines visible on #excel charts through the bars.

How to make gridlines on #R plots hidden behind the bars.

Add a comment...

Wait while more posts are being loaded