Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CSIRO-INRA
landsepi
Commits
0b71a993
Commit
0b71a993
authored
Apr 26, 2021
by
Jean-Francois Rey
☕
Browse files
update input variable name "production" to "planting"
parent
7474b50e
Changes
2
Hide whitespace changes
Inline
Side-by-side
R/GPKGTools.R
View file @
0b71a993
...
...
@@ -128,7 +128,7 @@ GPKGAddTables <- function(gpkgfile) {
yield_L REAL NOT NULL CHECK(yield_L >= 0),
yield_I REAL NOT NULL CHECK(yield_I >= 0),
yield_R REAL NOT NULL CHECK(yield_R >= 0),
p
roduction
_cost REAL NOT NULL CHECK(p
roduction
_cost >= 0),
p
lanting
_cost REAL NOT NULL CHECK(p
lanting
_cost >= 0),
market_value REAL NOT NULL CHECK(market_value >= 0));"
)
...
...
R/demo_landsepi.R
View file @
0b71a993
...
...
@@ -128,7 +128,7 @@ demo_landsepi <- function(seed = 12345, strat = "MO", Nyears = 20, nTSpY = 120,
# yield_L = rep(0.0, 3),
# yield_I = rep(0.0, 3),
# yield_R = rep(0.0, 3),
# p
roduction
_cost = rep(225, 3),
# p
lanting
_cost = rep(225, 3),
# market_value = rep(200, 3),
# stringsAsFactors = FALSE)
simul_params
<-
setCultivars
(
simul_params
,
cultivars
)
...
...
Write
Preview
Supports
Markdown
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