JMatInfo {scellpam} | R Documentation |
JMatInfo
Description
Shows in the screen or writes to a file information about a matrix stored in the binary format of package jmatrix
Usage
JMatInfo(fname, fres = "")
Arguments
fname |
String with the file name that contains the binary data. |
fres |
String with the name of the file to write the information. Default: "" (information is written to the console) |
Value
No return value, called for its side effects (writes on screen or creates a file)
Examples
Rf <- matrix(runif(48),nrow=6)
rownames(Rf) <- c("A","B","C","D","E","F")
colnames(Rf) <- c("a","b","c","d","e","f","g","h")
tmpfile1=paste0(tempdir(),"/Rfullfloat.bin")
JWriteBin(Rf,tmpfile1,dtype="float",dmtype="full",comment="Full matrix of floats")
JMatInfo(tmpfile1)
[Package scellpam version 1.4.6.2 Index]