Description Usage Arguments Value Author(s) See Also Examples
Write a file in the env
format.
1 | write.env(R, output.file)
|
R |
A matrix containing the environmental variables with one line for each individual and one column for each environmental variable. The missing genotypes have to be encoded with the value 9. |
output.file |
A character string containing a path to the output file,
an environmental data matrix in the |
output.file |
A character string containing a path to the output file,
an environmental data matrix in the |
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 "tuto.env".
# Create file: "tuto.env".
write.env(C,"tuto.env")
# Read the file "tuto.env".
C = read.env("tuto.env")
|
[1] "tuto.env"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.