User Tools

Site Tools


en:data:bci

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:data:bci [2019/03/30 17:31]
David Zelený [Environmental variables]
en:data:bci [2019/03/30 17:32] (current)
David Zelený [Script for direct import of data into R]
Line 51: Line 51:
 ===== Script for direct import of data into R ===== ===== Script for direct import of data into R =====
 <code rsplus> <code rsplus>
-# you will need vegan and BiodiversityR libraries ​- you can install it using following:+# you will need library (vegan- you can install it using following:
 # install.packages ('​vegan'​) # install.packages ('​vegan'​)
-# install.packages ('​BiodiversityR'​) 
  
-# The data are in the libraries: 
 library (vegan) library (vegan)
 data (BCI) data (BCI)
-library ​(BiodiversityR) ​ # available from R version 2.15.1, not older! +BCI.env <- read.delim ​('​https://​raw.githubusercontent.com/​zdealveindy/​anadat-r/​master/​data/bci.env.txt')
-data (BCI.env)+
 BCI.soil <- read.delim ('​https://​raw.githubusercontent.com/​zdealveindy/​anadat-r/​master/​data/​bci.soil.txt'​) BCI.soil <- read.delim ('​https://​raw.githubusercontent.com/​zdealveindy/​anadat-r/​master/​data/​bci.soil.txt'​)
-### 
- 
-# If you cannot install BiodiversityR library, find BCI.env directly here: 
-BCI.env <- read.delim ('​https://​raw.githubusercontent.com/​zdealveindy/​anadat-r/​master/​data/​bci.env.txt'​) 
    
 </​code>​ </​code>​
en/data/bci.txt · Last modified: 2019/03/30 17:32 by David Zelený