User Tools

Site Tools


how_to_write_the_script

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
how_to_write_the_script [2015/02/03 01:16] – [2. JUICE-R tags] davidhow_to_write_the_script [2015/12/15 20:18] (current) – david
Line 1: Line 1:
-<WRAP center round important> 
-In January 2015 this website has been moved (and old pages are automatically redirected) from http://www.sci.muni.cz/botany/zeleny/wiki/juice-r to 
-http://davidzeleny.net/juice-r ! 
-</WRAP> 
 ====== How to write the R script for JUICE? ====== ====== How to write the R script for JUICE? ======
 JUICE exports data into R via the //bin// folder of R installation (usually at c:/Program files/R/R-x.x.x/bin), and these data could be automatically loaded by appended R script. Files, which should be exported from JUICE, could be either manually selected in JUICE-R wizard, or could be selected automatically according to [[how_to_write_the_script#juice-r_tags|JUICE-R tags]] in R script header. The script, which is uploaded into R from JUICE, has two parts:  JUICE exports data into R via the //bin// folder of R installation (usually at c:/Program files/R/R-x.x.x/bin), and these data could be automatically loaded by appended R script. Files, which should be exported from JUICE, could be either manually selected in JUICE-R wizard, or could be selected automatically according to [[how_to_write_the_script#juice-r_tags|JUICE-R tags]] in R script header. The script, which is uploaded into R from JUICE, has two parts: 
Line 26: Line 22:
 |{{:downloads:table.txt|table.txt}}|JUICE.table  |sample x species matrix  |samples in rows, species in columns; first row - species names((species names are given in a format //genus species_layer//, where layer is represented by a number code: 0 - merged layers, 1 - tree layer, 4 - shrub layer, 6 - herb layer, 7 - juveniles and 9 - mosses))), first column - releve numbers  |samples in rows, species in columns, releve numbers as //rownames//, species names as //names//  | |{{:downloads:table.txt|table.txt}}|JUICE.table  |sample x species matrix  |samples in rows, species in columns; first row - species names((species names are given in a format //genus species_layer//, where layer is represented by a number code: 0 - merged layers, 1 - tree layer, 4 - shrub layer, 6 - herb layer, 7 - juveniles and 9 - mosses))), first column - releve numbers  |samples in rows, species in columns, releve numbers as //rownames//, species names as //names//  |
 |{{:downloads:shorthead.txt|ShortHead.txt}}|JUICE.short.head  |short header data  |samples in rows, three columns with names //Releve_Number//, //Group_Number//, //Short_Head// |samples in rows, short header data in columns (//Releve_Number//, //Group_Number// and //Short_Head//)  | |{{:downloads:shorthead.txt|ShortHead.txt}}|JUICE.short.head  |short header data  |samples in rows, three columns with names //Releve_Number//, //Group_Number//, //Short_Head// |samples in rows, short header data in columns (//Releve_Number//, //Group_Number// and //Short_Head//)  |
-|{{:downloads:speciesdata.txt|SpeciesData.txt}}|JUICE.species.data  |data associated to species  |species in rows, ten columns with names //SpecName_Layer//, //Species_name//, //Layer//, //Species_Data// and species Ellenberg indicator values: //Ellenberg_Light//, //Ellenberg_Temperature//, //Ellenberg_Continentality//, //Ellenberg_Moisture//, //Ellenberg_Soil_Reaction// and //Ellenberg_Nutrients//  |species in rows, species attributes in columns (//SpecName_Layer//, //Species_name//, //Layer//, //Species_Data//, //Ellenberg_Light//, //Ellenberg_Temperature//, //Ellenberg_Continentality//, //Ellenberg_Moisture//, //Ellenberg_Soil_Reaction// and //Ellenberg_Nutrients//)  |+|{{:downloads:speciesdata.txt|SpeciesData.txt}}|JUICE.species.data  |data associated to species  |species in rows, ten columns with names //SpecName_Layer//, //Species_Name//, //Layer//, //Species_Data// and species Ellenberg indicator values: //Ellenberg_Light//, //Ellenberg_Temperature//, //Ellenberg_Continentality//, //Ellenberg_Moisture//, //Ellenberg_Soil_Reaction// and //Ellenberg_Nutrients//  |species in rows, species attributes in columns (//SpecName_Layer//, //Species_name//, //Layer//, //Species_Data//, //Ellenberg_Light//, //Ellenberg_Temperature//, //Ellenberg_Continentality//, //Ellenberg_Moisture//, //Ellenberg_Soil_Reaction// and //Ellenberg_Nutrients//)  |
 |{{:downloads:tablehead.txt|TableHead.txt}}|JUICE.head  |(long) header data  |samples in rows, first two columns are //Table number// and //Releve number//, other columns and their names depends on the original JUICE file  |samples in rows, header data as columns (first two are //Table.number// and //Releve.number//)  | |{{:downloads:tablehead.txt|TableHead.txt}}|JUICE.head  |(long) header data  |samples in rows, first two columns are //Table number// and //Releve number//, other columns and their names depends on the original JUICE file  |samples in rows, header data as columns (first two are //Table.number// and //Releve.number//)  |
  
how_to_write_the_script.1422897364.txt.gz · Last modified: (external edit)