[R] Save a group of matrix

2008-02-21 Thread Alfonso Pérez Rodríguez
h(SAC$richness) for (j in 1:Pesc) { Results[j,i]=SAC$richness[j] } } Results write.table(Results,file="D:/R/Analisis aprendizaje/Output/Results.txt") Alfonso Pérez Rodríguez

[R] Save a group of matrix

2008-02-21 Thread Alfonso Pérez Rodríguez
w to do, I sure it's very simple but I've not encountered the way to do it. If someone can help me I would be very grateful, thank you Alfonso Pérez Rodríguez Instituto de Investigaciones Marinas C/ Eduardo Cabello nº 6 C.P. 36208 Vigo (España) Tlf.- 986231930 Ext

[R] Specaccum

2008-02-20 Thread Alfonso Pérez Rodríguez
or something. When I try to transform in a data frame the program tell me: Error en as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) : cannot coerce class "specaccum" into a data.frame Then, what can I do? Thank you very much. Alfons

[R] change NA values

2008-02-19 Thread Alfonso Pérez Rodríguez
Hello, I'm sure that this question is too simple, but, I'm begining with R and I'm not able to change the NA values in a matrix by 0 values, and it's necessary for my work, how can I do It? Thank you. Alfonso Pérez Rodríguez Instituto de Investigaciones Marinas C/ Eduar