Displaying 3 results from an estimated 3 matches for "101x1".
Did you mean:
1011
2012 Nov 19
6
loop to subtract arrays / error
...csv("Observed_Flow.csv", header = TRUE, sep =",") # see data
> below
> Vsimr <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") # see
> data below
> Vobsr <- as.matrix(Vobsr[,-1]) # remove column 1 from analysis thus Vobsr
> is 101x1 double matrix (column 1 is date information)
> Vsimr <- as.matrix(Vsimr[,-1]) # remove column 1 from analysis thus Vsimr
> is 101x1000 double matrix (column 1 is date information)
> Vobsr - Vsimr
Error in Vobsr - Vsimr : non-conformable arrays
Thus I attempted to create the loop below...
2012 Nov 18
0
subtract multiple columns from single column for Nash Sutcliffe efficiency
...e done:
Vobsr <- read.csv("Observed_Flow.csv", header = TRUE, sep =",") # see data
below
Vsimr <- read.csv("1000Samples_Vsim.csv", header = TRUE, sep =",") # see
data below
Vobsr <- as.matrix(Vobsr[,-1]) # remove column 1 from analysis thus Vobsr is
101x1 double matrix (column 1 is date information)
Vsimr <- as.matrix(Vsimr[,-1]) # remove column 1 from analysis thus Vsimr is
101x1000 double matrix (column 1 is date information)
How can I subtract each row in "Vsimr" from each row in "Vobsr" (Vobsr -
Vsimr)? That is the proble...
2012 Nov 28
7
zeros in double matrix rather than character matrix
Hi, how are you?
I have 1000 total columns with 100 rows and I have shown 4 columns of 100
rows below. I want the zeros to be read in as numerical or integer values
rather than a character. Right now I have a 100x0 character matrix rather
than a 100x1000 double matrix.
What do I need to do to read in a .csv spreadsheet with counting the zeros
as a numerical or integer value?
Thank-you.
Irucka