This function reads a CSV file containing a matrix of values and modifies it as follows:
If a value in the matrix is 0, it is replaced by 10 times the maximum non-zero value in the corresponding row.
Usage
par10(G_file, has_header = FALSE)
Value
A matrix where each 0 value is replaced by 10 times the maximum non-zero value in its corresponding row.
Arguments
G_file
The path to the CSV file containing the matrix of values.
has_header
Logical, indicating if the CSV file has a header row. Default is FALSE.