mercredi 24 août 2016

How to randomize a field plot design in R using a matrix, datatable, package, etc

I have a data table with my entries and converted it into a matrix in R. I want to make this matrix into a statistically complete randomized plot for my research. What is the best Rcode for doing this? Also an output file into a .csv file with ENTRY, ROW, COLUMN headers would be great.

Here's what I have so far: getwd() data <-read.csv("table.csv", header = F, stringsAsFactors = F) data1 <- as.matrix(data)




Aucun commentaire:

Enregistrer un commentaire