I have a matrix winth integer values after an arithmetic calulation How can prevent the [1:3]1:3] part of the matrix to be converted to floats
data = matrix(c(1:16),nrow=4,ncol=4) #create matrix data[4,] = data[4,]/3 data[,4] = data[,4]/3 data Kind regards Knut ______________________________________________ [email protected] mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

