Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
I
irg
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alec L. Robitaille
irg
Commits
1d3f44d5
Commit
1d3f44d5
authored
Feb 13, 2019
by
Alec L. Robitaille
🚲
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bug/data.table-no-recycling' into 'master'
Bug/data.table no recycling See merge request
!1
parents
479ef3bf
ac498cd9
Pipeline
#47401769
passed with stages
in 6 minutes and 53 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
DESCRIPTION
DESCRIPTION
+1
-1
NEWS.md
NEWS.md
+2
-1
R/model.R
R/model.R
+1
-1
No files found.
DESCRIPTION
View file @
1d3f44d5
...
...
@@ -14,7 +14,7 @@ License: GPL-3
Encoding: UTF-8
LazyData: true
Roxygen: list(markdown = TRUE)
RoxygenNote: 6.1.
0
RoxygenNote: 6.1.
1
Suggests:
testthat,
knitr,
...
...
NEWS.md
View file @
1d3f44d5
# v 0.1.1
# v 0.1.1
*
fixed data.table recycling change (
[
#23
](
https://gitlab.com/robit.a/irg/issues/23
)
)
*
minor edits to 'Getting Started' vignette
# v 0.1.0 (2019-01-04)
...
...
R/model.R
View file @
1d3f44d5
...
...
@@ -313,7 +313,7 @@ model_ndvi <- function(DT, observed = TRUE) {
(
1
/
(
1
+
exp
((
xmidA
-
t
)
/
scalA
)))]
return
(
DT
)
}
else
if
(
!
observed
)
{
fitDT
<-
DT
[
rep
(
1
:
.N
,
each
=
366
)][,
t
:=
julseq
$
t
]
fitDT
<-
DT
[
rep
(
1
:
.N
,
each
=
366
)][,
t
:=
rep
(
julseq
$
t
,
length.out
=
.N
)
]
fitDT
[,
fitted
:=
(
1
/
(
1
+
exp
((
xmidS
-
t
)
/
scalS
)))
-
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment