[R] package or namespace load failed for ‘dismo’

2015-10-18 Thread Jefferson Ferreira-Ferreira
ce (and not attached):* *[1] codetools_0.2-8 foreach_1.4.2 grid_3.0.3 iterators_1.0.7 tools_3.0.3 * Any advice or tip do deal with it will be appreciated? Thanks in advance. -- *Jefferson Ferreira-Ferreira* Geógrafo – GEOPROCESSAMENTO IDSM | Coordenadoria de TI jefferson.ferre...@

Re: [R] if else for cumulative sum error

2014-12-03 Thread Jefferson Ferreira-Ferreira
ogy > Texas A&M University > College Station, TX 77840-4352 > > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of David > Winsemius > Sent: Tuesday, December 2, 2014 2:50 PM > To: Jefferson Ferreira-Ferreira > Cc: r-help

Re: [R] if else for cumulative sum error

2014-12-02 Thread Jefferson Ferreira-Ferreira
expression has 2720 elements: only the first used I can't figure out why only the first row was calculated... Any ideas? Em Tue Dec 02 2014 at 15:22:25, John McKown escreveu: > On Tue, Dec 2, 2014 at 12:08 PM, Jefferson Ferreira-Ferreira < > jeco...@gmail.com> wrote: >

[R] if else for cumulative sum error

2014-12-02 Thread Jefferson Ferreira-Ferreira
Hello everybody; I'm writing a code where part of it is as follows: for (i in nrow(dadosmax)){ dadosmax$enchday[i] <- if (sum(dadosmax$above[i:(i+44)]) >= 45) 1 else 0 } That is for each row of my data frame, sum an specific column (0 or 1) of that row plus 44 rows. If It is >=45 than enchday

[R] Fwd: rbind error - duplicated row.names not allowed

2014-03-31 Thread Jefferson Ferreira Ferreira
93 hhFR[...]1802124 1802124 tsx_sm_hh 0.1991938 -7.007242 hhFR The four other df's are the same structure, except the 'id' columns that don't have duplicated numbers among it. 'pol' and 'image' columns are defined as levels. and all.pol <