- Add ellipse instead of data points for observations in pft plots
- Try with plotted means
- Read ggplot2 stat_ellipse code
This file contains 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
#!/bin/bash | |
# This is an example comment on this issue | |
# Get arguments | |
infile=${1} | |
outdir=${2-"output"} | |
mkdir -p $outdir |
This file contains 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
#!/bin/bash | |
infile=$1 | |
outfile=${infile/code/gif} | |
if [ `head -n1 $infile` == "auxfig" ]; then | |
code=`tail -n +2 $infile` | |
echo "Auxfile" | |
auxfile=1 | |
else |
This file contains 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(rstan) | |
library(MASS) | |
# Simulate some data | |
mu <- c(10, 5, -5) | |
Sig <- matrix(c(1, 0.7, 0.8, | |
0.7, 2, 0.2, | |
0.8, 0.2, 1.5), | |
3, 3) | |
N <- 100 |
This file contains 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
<?xml version="1.0"?><pecan> | |
<info> | |
<notes/> | |
<userid>1000000001</userid> | |
<username>Mike Dietze</username> | |
<date>2016/07/06 20:00:33 -0400</date> | |
</info> | |
<outdir>/fs/data2/output//PEcAn_1000002164</outdir> | |
<database> | |
<bety> |
This file contains 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
R version 3.4.0 (2017-04-21) -- "You Stupid Darkness" | |
Copyright (C) 2017 The R Foundation for Statistical Computing | |
Platform: x86_64-pc-linux-gnu (64-bit) | |
R is free software and comes with ABSOLUTELY NO WARRANTY. | |
You are welcome to redistribute it under certain conditions. | |
Type 'license()' or 'licence()' for distribution details. | |
R is a collaborative project with many contributors. | |
Type 'contributors()' for more information and |
This file contains 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
year patch cohort dbh hite pft dens bd ba avgRg | |
2002 1 1 0.2 2 15 100 0 0.1 -999.0 |
Create a web-based interactive visualization app of the Earth Surface Temperature Data from Berkeley Earth (https://www.kaggle.com/berkeleyearth/climate-change-earth-surface-temperature-data) in RShiny (https://shiny.rstudio.com/). Your app should include, at a minimum, a separate tab for each of the following:
- A line plot of temperate by country, selecting the country from a drop-down menu.
- BONUS: Visualize temperature uncertainty on the same graph
- BONUS: The option to apply a moving window average or other smoothing algorithm to the data. Extra points if the algorithm's parameters can be customized by the user via sliders and/or drop-down menus
- A bivariate scatter plot of temperatures for two different countries, selected from a drop-down menu by the user
- BONUS: Visualize temperature uncertainties on the same graph
- BONUS: Fit a linear regression through the data. Extra points for additional, related analyses (e.g. correlation coefficient, major axis regression), especially if they can be
This file contains 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
<?xml version="1.0"?> | |
<!DOCTYPE config SYSTEM "ed.dtd"> | |
<config> | |
<pft> | |
<num>9</num> | |
<is_tropical>0</is_tropical> | |
<is_grass>0</is_grass> | |
<include_pft>1</include_pft> | |
<include_pft_ag>0</include_pft_ag> |
This file contains 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
#' Read an `Rdata` file into a list (rather than into the global | |
#' environment) | |
#' | |
#' @param file Target file name | |
#' @return Named list containing objects in `file`. | |
#' @author Alexey Shiklomanov | |
#' @examples | |
#' \dontrun{ | |
#' mylist <- load_local("file.RData") | |
#' } |
OlderNewer