Description Usage Arguments Value Author(s) See Also Examples
Read a file in the env
format.
1 | read.env(input.file)
|
input.file |
A character string containing a path to the input file,
an environmental data matrix in the |
R |
A matrix containing the environmental variables with one line for each individual and one column for each environmental variable. |
Eric Frichot
1 2 3 4 5 6 7 8 9 10 11 | # Creation of an environmental matrix, C
# containing 2 environmental variables for 3 individuals.
# C contains one line for each individual and one column for each variable.
C = matrix(runif(6), ncol=2, nrow=3)
# Write C in a file called "example.env".
# Create file: "example.env".
write.env(C,"example.env")
# Read the file "example.env".
C = read.env("example.env")
|
[1] "example.env"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.