This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Non-detect method examples" | |
output: | |
html_document: | |
highlight: tango | |
theme: readable | |
toc: yes | |
toc_depth: 3 | |
--- | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(worldmet) | |
getMeta(site = "msp") | |
getMeta(lat = 45, lon = -93.5) | |
dat <- importNOAA(code = "726580-14922", year = 2016, precip = T) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
title: "Coordinate conversion in R" | |
output: html_document | |
--- | |
## R Script for converting coordinates (e.g., UTM to Lat/Long). | |
### Required packages |
Type:
HTTP
, Protocol:TCP
, Port:80
, Source:0.0.0.0/0
Type:HTTPS
, Protocol:TCP
, Port:443
, Source:0.0.0.0/0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(tidyverse) | |
library(tigris) | |
library(maptools) | |
library(rgeos) | |
library(leaflet) | |
# Number of Hexagons | |
n_hex <- 3300 | |
# Get state map |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
codename=$(lsb_release -c -s) | |
echo "deb http://ftp.iitm.ac.in/cran/bin/linux/ubuntu $codename/" | sudo tee -a /etc/apt/sources.list > /dev/null | |
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9 | |
sudo add-apt-repository ppa:marutter/rdev | |
sudo apt-get update | |
sudo apt-get upgrade | |
sudo apt-get install r-base |
- Go to https://www.virtualbox.org/wiki/Downloads
- Download the latest Windows release
- Install to your
~/Documents
folder - Provide Admin privileges
- Go to http://ftp.lysator.liu.se/ubuntu-dvd/xubuntu/releases/18.04/release/
- Download the latest 64bit version.iso file -
xubuntu-18.04-desktop-amd64.iso
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
library(albersusa) # devtools::install_github("hrbrmstr/albersusa") | |
library(ggalt) # devtools::install_github("hrbrmstr/ggalt") | |
library(hrbrthemes) # devtools::install_github("hrbrmstr/hrbrthemes") | |
library(rrricanes) | |
library(tidyverse) | |
library(ggrepel) | |
storms <- get_storms() | |
strength <- |
The party starts meow! --kitty
You are pawesome at this. --kitty
Feed me. --kitty
Now imagine you're on a roll. A delicious dinner roll. --kitty
You have furry serious R skills. --kitty
Great job! Now feed me. --kitty
That was purrfect! --kitty
OlderNewer