151 search results for "iris"

Safe Loading of RData Files

June 10, 2013
By
Safe Loading of RData Files

Unless you have configured R not to ask, every time you close R or RStudio you are prompted to save your workspace. This saves an RData file to the working directory. The functions save.image() and save() offer a little more … Continue reading →

Read more »

Fylopic, an R wrapper to Phylopic

June 1, 2013
By
Fylopic, an R wrapper to Phylopic

What is PhyloPic? PhyloPic is an awesome new service - I'll let the creator, Mike Keesey, explain what it is (paraphrasing here): PhyloPic stores silhouette images of organisms, and each image is associated with taxonomic names, and stores the taxonomy of all taxa, allowing searching by taxonomic names. Anyone can submit silhouettes to PhyloPic. What is a silhouette? It's like...

Read more »

Fylopic, an R wrapper to Phylopic

June 1, 2013
By
Fylopic, an R wrapper to Phylopic

What is PhyloPic? PhyloPic is an awesome new service - I'll let the creator, Mike Keesey, explain what it is (paraphrasing here): PhyloPic stores silhouette images of organisms, and each image is associated with taxonomic names, and stores the taxonomy of all taxa, allowing searching by taxonomic names. Anyone can submit silhouettes to PhyloPic. What is a silhouette? It's like...

Read more »

Generating Nice Looking Tree Diagrams in R

May 31, 2013
By
Generating Nice Looking Tree Diagrams in R

This function generates nice looking tree diagrams (see sample) below from tree objects (generated by package tree). This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option)

Read more »

Writing a Minimal Working Example (MWE) in R

May 27, 2013
By
Writing a Minimal Working Example (MWE) in R

How to Ask for Help using R How to Ask for Help using R The key to getting good help with an R problem is to provide a minimally working reproducible example (MWRE). Making an MWRE is really easy with R, and it will help ensure that...

Read more »

Pivot Tables for R: Try sqldf

May 21, 2013
By

Pivot tables are a a growing staple for analysis in excel yet they remain limited to the functionality which Microsoft has chosen to include. Typical operations are the inclusion of filters, choice over rows, columns, and maths operations. In R … Continue reading →

Read more »

Package party: Conditional Inference Trees

May 21, 2013
By
Package party: Conditional Inference Trees

I am going to be using the party package for one of my projects, so I spent some time today familiarising myself with it. The details of the package are described in Hothorn, T., Hornik, K., & Zeileis, A. (1999). “party: A Laboratory for Recursive Partytioning” which is available from CRAN. The main workhorse of

Read more »

Conversion between Factor and Dummies in R

May 18, 2013
By
Conversion between Factor and Dummies in R

Read more »

Editing/Adding factor levels in R

April 29, 2013
By

I was trying to change few levels in my factor variable by simply coercing characters on that factor variable but it dint seem to work. data(iris)iris$Species <- rep("Random", 71) ## Warning: invalid factor level, NAs generated iris$Species ## setosa ...

Read more »

Highlight cells in markdown tables

April 10, 2013
By
Highlight cells in markdown tables

Although I have always wanted to add such feature to pander, a recent question on SO urged me to create some helper functions so that users could easily highlight some rows, columns or even just a few cells in a table and export the result to markdown,...

Read more »