Displaying 1 result from an estimated 1 matches for "ntrait".
Did you mean:
trait
2010 Dec 06
1
help getting data in correct format
...ual read.delim("") approach but the function doesn't like it, i have also tried as.matrix(data =) but that doesn't work.
>>
>> What i require is the row names to be the first column of the txt file , as below
>>
>> This was made using this
>>
>> nTraits = 5
>> nSpecies = 20
>> a=matrix(runif(nTraits*nSpecies),nSpecies,nTraits)
>> rownames(a) = letters[1:nSpecies]
>>
>> However i want my data in their not simulated?
>>
>>
>>
>>
>> [,1] [,2] [,3] [,4] [,5]
>...