4334 search results for "git"

Remotely use R packages on Github through OpenCPU

October 1, 2013
By
Remotely use R packages on Github through OpenCPU

Any R package on Github can be used remotely on OpenCPU through the /ocpu/github/ API. Users on the internet can browse code, objects, help pages, or call functions in the package without having to learn R or install it on their local machine. Thereby you can make your method, algorithm, plot...

Read more »

Remotely use R packages on Github through OpenCPU

October 1, 2013
By
Remotely use R packages on Github through OpenCPU

Any R package on Github can be used remotely on OpenCPU through the /ocpu/github/ API. Users on the internet can browse code, objects, help pages, or call functions in the package without having to learn R or install it on their local machine. Thereby you can make your method, algorithm, plot...

Read more »

Creating your personal, portable R code library with GitHub

September 21, 2013
By
Creating your personal, portable R code library with GitHub

As I discussed in a previous post, I have a few helper functions I’ve created that I commonly use in my work. Until recently, I manually included these functions at the start of my R scripts by either the tried and true copy-and-paste method, or by extracting them from a local file with the <code>source()</code> The post Creating...

Read more »

R, GeoJSON and GitHub

September 20, 2013
By
R, GeoJSON and GitHub

GeoJSON is an open computer file format for encoding collections of simple geographical features along with their non-spatial attributes using …Continuar leyendo »

Read more »

GitHub Package Ideas I Stole

August 31, 2013
By
GitHub Package Ideas I Stole

One of my favorite sources of good ideas is looking at the GitHub repositories of others and modeling my repos after the good ideas I see others doing. Here's Steve Jobs on stealing ideas: In the past few weeks I've … Continue reading →

Read more »

analyze the national longitudinal study of adolescent health (addhealth) with r

August 26, 2013
By

the national longitudinal survey of adolescent health (addhealth) is to the health and retirement study what teen people is to aarp magazine.  both surveys have followed a cohort of respondents for almost twenty years now, asking them health behav...

Read more »

GitHub renders CSV in the browser, becomes even better for social data set creation

August 22, 2013
By
GitHub renders CSV in the browser, becomes even better for social data set creation

I've written in a number of places about how GitHub can be a great place to store data. Unlike basically all other web data storage sites (many of which I really like such as Dataverse and FigShare) GitHub enables deep social data set development and f...

Read more »

Prototyping Multinomial Logit with R

August 21, 2013
By
Prototyping Multinomial Logit with R

Recently, I am working on a new modeling proposal based on the competing risk and need to prototype multinomial logit models with R. There are R packages implementing multinomial logit models that I’ve tested, namely nnet and vgam. Model outputs with iris data are shown below. However, in my view, above methods are not flexible

Read more »

Create R package – Rstudio, github, devtools

July 22, 2013
By

If you are going to create your first package in R, there is common set of tools you will probably use - Rstudio, devtools package and github. You don't have to, but it will save you a lot of time and your code wil be versioned and better understandabl...

Read more »

Use R to Bulk-Download Digital Elevation Data with 1" Resolution

June 18, 2013
By

Here's a little r-script to convenientely download high quality digital elevation data, i.e. for the Alps, from HERE:require(XML)dir.create("D:/GIS_DataBase/DEM/")setwd("D:/GIS_DataBase/DEM/")doc urls names for (i in 1:length(urls)) download.file(urls, names) # unzip all files in dir and delete them afterwardssapply(list.files(pattern = "*.zip"), unzip)unlink(list.files(pattern = "*.zip"))p.s.: Also check raster::getData which pulls SRTM data at 90m resolution for a location / region!

Read more »