Blog Archives

R: Annotate the panels in a multi-panel lattice plot in 1 line

March 13, 2015
By

Just use panel.lmline()

Read more »

Ruby: Use R in Ruby via “rinruby”!

March 13, 2015
By

  ____  sample_size = 10 ____  R.eval “x __  R.eval “summary(x)” ____  R.eval “sd(x)” With a here document: require "rinruby" #Set all your variables in Ruby n = 10 beta_0 = 1 beta_1 = 0.25 alpha = 0.05 seed = 23423 R.x = (1..n).entries #Use actual R code to perform the analysis R.eval

Read more »

Quick-tip: Read a table or other data from your clipboard in R

March 13, 2015
By

If you want to copy data from an R variable named rdat into the Windows clipboard (for example, to copy into Excel) use:

Read more »

Search R-bloggers

Sponsors

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)