Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updating my master #121

Merged
merged 99 commits into from
Oct 16, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
c64b45f
updates on the End of rains and seeasons Dialog
Ivanluv Apr 8, 2019
9dbf523
Radio buttons realignment
Ivanluv Apr 9, 2019
e9d1921
Setting of conditions
Ivanluv Apr 9, 2019
7964f82
more edits
Ivanluv Apr 9, 2019
c05979d
changes to the End of Rains Dialogue
Ivanluv Apr 12, 2019
0902c82
proposed changes
Ivanluv Apr 16, 2019
51c6842
Merge pull request #33 from africanmathsinitiative/master
Ivanluv Jun 25, 2019
593c577
Added rug plot to PICSA rainfall graph
Ogik99 Jun 26, 2019
7fe4315
adding controls
shadrackkibet Jul 15, 2019
9356a1d
basic code addition- setting up controls and linking
shadrackkibet Jul 15, 2019
0489698
rcode implementation
shadrackkibet Jul 24, 2019
274dd09
designer amendments
shadrackkibet Jul 24, 2019
8c3d3d8
code implementation
shadrackkibet Jul 24, 2019
15334fa
Merge pull request #43 from africanmathsinitiative/master
Ivanluv Jul 26, 2019
3301d99
Merge pull request #44 from africanmathsinitiative/master
Ivanluv Jul 30, 2019
5584ff8
designer amendments
shadrackkibet Jul 31, 2019
311559e
code amendments
shadrackkibet Jul 31, 2019
9aa5d03
minor fixes
Ivanluv Aug 1, 2019
c0a880c
Merge pull request #45 from africanmathsinitiative/master
Ivanluv Aug 13, 2019
a21126b
Changing the order of the controls and size of the end of Rains Dialogue
Ivanluv Aug 14, 2019
7e46224
Merge pull request #382 from africanmathsinitiative/master
shadrackkibet Aug 15, 2019
f3f5191
edit
shadrackkibet Aug 29, 2019
08e2f90
Minor designer changes
Ivanluv Aug 29, 2019
d38dbc0
added maximum dates options
shadrackkibet Aug 29, 2019
8a9efbe
designer fixes
shadrackkibet Aug 29, 2019
4607d8e
setting conditions and fixed bugs
shadrackkibet Aug 29, 2019
273e9ed
changed dialog name. Fixes #5444
shadrackkibet Aug 29, 2019
ced8b80
setting receiver focus to factors receiver
shadrackkibet Aug 30, 2019
bfd2e7a
Merge pull request #49 from africanmathsinitiative/master
Ivanluv Sep 2, 2019
0374a70
Merge pull request #479 from africanmathsinitiative/master
maxwellfundi Sep 2, 2019
912872f
Merge pull request #106 from africanmathsinitiative/master
Wycklife Sep 4, 2019
1c53c1d
Added selector to the new dlg
Wycklife Sep 4, 2019
f3f8334
Minor edit
Wycklife Sep 4, 2019
4e14098
Added a receiver and a label
Wycklife Sep 4, 2019
85c6549
Designer changes to sdgPICSA Rainfall
Ogik99 Sep 9, 2019
d988871
code changes
Ogik99 Sep 9, 2019
0b85c11
Added code
Ogik99 Sep 9, 2019
7d0f6d9
Added dictionaries for the x and y axes
Ogik99 Sep 9, 2019
091817d
Merge pull request #1017 from africanmathsinitiative/master
dannyparsons Sep 10, 2019
0d253f4
Merge pull request #1018 from africanmathsinitiative/master
dannyparsons Sep 11, 2019
83d9993
Merge pull request #51 from africanmathsinitiative/master
Ivanluv Sep 11, 2019
303c51a
Coord Polar changes
Ivanluv Sep 11, 2019
7e40986
fixes #5470
dannyparsons Sep 11, 2019
d636c9b
Merge pull request #5511 from dannyparsons/spells
dannyparsons Sep 11, 2019
d06c357
Merge pull request #386 from africanmathsinitiative/master
shadrackkibet Sep 12, 2019
f4d44f6
Merge pull request #1019 from africanmathsinitiative/master
dannyparsons Sep 12, 2019
95e71b1
Merge branch 'picsa_rug' of https://github.com/Ogik99/R-Instat into O…
dannyparsons Sep 12, 2019
c7fb0d8
fixed y-axis limits on PICSA subdialog
dannyparsons Sep 12, 2019
de7aa15
fixed scale function parameter name inconsistency
dannyparsons Sep 12, 2019
94397dc
corrected Y axis date limits on PICSA subdialog
dannyparsons Sep 12, 2019
c40ba40
Merge pull request #52 from africanmathsinitiative/master
Ivanluv Sep 13, 2019
77e12fb
Merge pull request #387 from Wycklife/dlgCirc
shadrackkibet Sep 14, 2019
f62fa16
setting up circular functionality
shadrackkibet Sep 14, 2019
d8b0e33
Merge pull request #108 from africanmathsinitiative/master
Wycklife Sep 16, 2019
a64975f
Merge pull request #109 from shadrackkibet/wyclifcircular
Wycklife Sep 16, 2019
64a6f3f
Added a new circular dialog
Wycklife Sep 16, 2019
c999aea
fixed mean line label rounding bug
dannyparsons Sep 16, 2019
e4f6fc7
Merge pull request #5514 from dannyparsons/Ogik99-picsa_rug
dannyparsons Sep 16, 2019
b4a3355
Merge pull request #1020 from africanmathsinitiative/master
dannyparsons Sep 17, 2019
a40a525
re-designed spells element condition options
dannyparsons Sep 17, 2019
ddb7fc4
updated auto define as climatic from Use Date
dannyparsons Sep 17, 2019
b659456
Merge pull request #5517 from dannyparsons/define-climatic
dannyparsons Sep 17, 2019
45b1d15
increased checkbox width, modified text
dannyparsons Sep 17, 2019
2bb596f
Merge pull request #5516 from dannyparsons/spells
dannyparsons Sep 17, 2019
0635ff5
Merge pull request #1021 from africanmathsinitiative/master
dannyparsons Sep 18, 2019
e0e29dd
crop probability now split by station
dannyparsons Sep 18, 2019
b554213
Merge pull request #5521 from dannyparsons/picsa-crops
dannyparsons Sep 18, 2019
c529158
Merge pull request #1022 from africanmathsinitiative/master
dannyparsons Sep 18, 2019
f39790a
Merge branch 'SeasonsAndRainDialog' of https://github.com/Ivanluv/R-I…
dannyparsons Sep 18, 2019
951c194
corrected conditions for panel
dannyparsons Sep 18, 2019
5b4e7e8
Merge pull request #5522 from dannyparsons/Ivanluv-SeasonsAndRainDialog
dannyparsons Sep 18, 2019
584a044
Merge pull request #487 from africanmathsinitiative/master
maxwellfundi Sep 19, 2019
bbabe21
Merge pull request #1023 from africanmathsinitiative/master
dannyparsons Sep 19, 2019
b2ae92f
Merge branch 'infillmissingdates' of https://github.com/shadrackkibet…
dannyparsons Sep 19, 2019
1b1e33e
corrected fixed limits calculation dates
dannyparsons Sep 19, 2019
1576ab7
modified fill date gaps options display
dannyparsons Sep 19, 2019
b7d1ad4
removed unnecessary print
dannyparsons Sep 19, 2019
2e48b0a
Merge branch 'POLAR' of https://github.com/Ivanluv/R-Instat into Ivan…
dannyparsons Sep 19, 2019
80c12f5
modified polar coordinates layout on sub dialog
dannyparsons Sep 19, 2019
87cffa2
Merge pull request #54 from africanmathsinitiative/master
Ivanluv Sep 20, 2019
951110c
Merge pull request #55 from dannyparsons/Ivanluv-POLAR
Ivanluv Sep 20, 2019
77bb448
trial
Ivanluv Sep 20, 2019
d8fc446
removed Line Options
dannyparsons Sep 20, 2019
dc50317
Merge pull request #5525 from dannyparsons/picsa-graphs
dannyparsons Sep 20, 2019
69adb3d
Merge pull request #5524 from dannyparsons/shadrackkibet-infillmissin…
dannyparsons Sep 20, 2019
2ec183b
Minor edit
Wycklife Sep 20, 2019
4921c98
Minor edit
Wycklife Sep 20, 2019
085c286
Merge pull request #1024 from africanmathsinitiative/master
dannyparsons Sep 20, 2019
9289d04
fixed date limit bugs
dannyparsons Sep 20, 2019
de4aec8
Merge pull request #5526 from dannyparsons/picsa-graphs-2
dannyparsons Sep 20, 2019
f5708e3
Merge pull request #5513 from Wycklife/dlgCircular
dannyparsons Sep 20, 2019
d34a325
Merge pull request #1025 from africanmathsinitiative/master
dannyparsons Sep 20, 2019
e9b83a2
Merge pull request #488 from africanmathsinitiative/master
maxwellfundi Sep 21, 2019
e9399c7
Update Download.html
maxwellfundi Sep 21, 2019
70f924e
Merge pull request #5527 from maxwellfundi/master
maxwellfundi Sep 21, 2019
f18a630
adding the theta combobox
Ivanluv Sep 23, 2019
dff924f
Merge branch 'NewPolar' of https://github.com/Ivanluv/R-Instat into I…
dannyparsons Sep 27, 2019
72bca9a
added default for polar coordinate
dannyparsons Sep 27, 2019
1e61b1e
Merge pull request #5529 from dannyparsons/Ivanluv-NewPolar
dannyparsons Sep 27, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/Download.html
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,11 @@
<div class="col-lg-8 col-lg-offset-2 text-center">
<h2 class="section-heading">Download R-Instat</h2>
<hr class="light">
<p>If this is your first time downloading R-Instat, we recommend you <a href="http://bit.ly/2YwGI7S" style="color:blue;" target="_blank">download the Complete Installer</a>. The Complete Installer is the same version of R-Instat as the Basic Installer but also includes the required version of R (3.6.0 currently) to run R-Instat.</p>
<p>If this is your first time downloading R-Instat, we recommend you <a href="http://bit.ly/2mu3RdP" style="color:blue;" target="_blank">download the Complete Installer</a>. The Complete Installer is the same version of R-Instat as the Basic Installer but also includes the required version of R (3.6.0 currently) to run R-Instat.</p>
<p>If you do not know if you have the latest version of R, download the Complete Installer. The Basic Installer does not include R.</p>
<p>R-Instat is currently a Windows only application. However, it can be accessed on Mac or Linux through use of a Virtual Windows Machine.</p>
<p><a href="http://bit.ly/2YwGI7S" style="color:blue;" target="_blank">R-Instat 0.5.2 Complete Installer (.exe 577MB)</a></p>
<p><a href="http://bit.ly/2LMyo1D" style="color:blue;" target="_blank">R-Instat 0.5.2 Basic Installer (.msi 499MB)</a></p>
<p><a href="http://bit.ly/2mu3RdP" style="color:blue;" target="_blank">R-Instat 0.5.3 Complete Installer (.exe 577MB)</a></p>
<p><a href="http://bit.ly/2mu3H6d" style="color:blue;" target="_blank">R-Instat 0.5.3 Basic Installer (.msi 499MB)</a></p>

<h2 class="section-heading">Installation & Documentation</h2>
<hr class="light">
Expand Down
1 change: 1 addition & 0 deletions instat/DlgUseDate.vb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Public Class dlgUseDate

Private Sub InitialiseDialog()
ucrBase.iHelpTopicID = 462
ucrBase.clsRsyntax.iCallType = 2

'Selector
ucrSelectorUseDate.SetParameter(New RParameter("data_name", 0))
Expand Down
369 changes: 194 additions & 175 deletions instat/clsGgplotDefaults.vb

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion instat/dlgBoxPlot.vb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ Public Class dlgBoxplot
Private clsXScaleContinuousFunction As New RFunction
Private clsYScaleContinuousFunction As New RFunction
Private clsRFacetFunction As New RFunction
Private clsCoordPolarFunction As New RFunction
Private clsCoordPolarStartOperator As New ROperator
Private clsThemeFunction As New RFunction
Private dctThemeFunctions As Dictionary(Of String, RFunction)
Private bResetSubdialog As Boolean = True
Expand Down Expand Up @@ -249,6 +251,8 @@ Public Class dlgBoxplot
clsRFacetFunction = GgplotDefaults.clsFacetFunction.Clone()
clsYlabFunction = GgplotDefaults.clsYlabTitleFunction.Clone
clsThemeFunction = GgplotDefaults.clsDefaultThemeFunction.Clone()
clsCoordPolarFunction = GgplotDefaults.clsCoordPolarFunction.Clone()
clsCoordPolarStartOperator = GgplotDefaults.clsCoordPolarStartOperator.Clone()
dctThemeFunctions = New Dictionary(Of String, RFunction)(GgplotDefaults.dctThemeFunctions)
clsBaseOperator.SetAssignTo("last_graph", strTempDataframe:=ucrSelectorBoxPlot.ucrAvailableDataFrames.cboAvailableDataFrames.Text, strTempGraph:="last_graph")
ucrBase.clsRsyntax.SetBaseROperator(clsBaseOperator)
Expand Down Expand Up @@ -292,7 +296,7 @@ Public Class dlgBoxplot
End Sub

Private Sub cmdOptions_Click(sender As Object, e As EventArgs) Handles cmdOptions.Click
sdgPlots.SetRCode(clsBaseOperator, clsNewThemeFunction:=clsThemeFunction, dctNewThemeFunctions:=dctThemeFunctions, clsNewGlobalAesFunction:=clsRaesFunction, clsNewXScalecontinuousFunction:=clsXScaleContinuousFunction, clsNewYScalecontinuousFunction:=clsYScaleContinuousFunction, clsNewXLabsTitleFunction:=clsXlabsFunction, clsNewYLabTitleFunction:=clsYlabFunction, clsNewLabsFunction:=clsLabsFunction, clsNewFacetFunction:=clsRFacetFunction, ucrNewBaseSelector:=ucrSelectorBoxPlot, strMainDialogGeomParameterNames:=strGeomParameterNames, bReset:=bResetSubdialog)
sdgPlots.SetRCode(clsBaseOperator, clsNewThemeFunction:=clsThemeFunction, dctNewThemeFunctions:=dctThemeFunctions, clsNewGlobalAesFunction:=clsRaesFunction, clsNewXScalecontinuousFunction:=clsXScaleContinuousFunction, clsNewYScalecontinuousFunction:=clsYScaleContinuousFunction, clsNewXLabsTitleFunction:=clsXlabsFunction, clsNewYLabTitleFunction:=clsYlabFunction, clsNewLabsFunction:=clsLabsFunction, clsNewFacetFunction:=clsRFacetFunction, clsNewCoordPolarFunction:=clsCoordPolarFunction, clsNewCoordPolarStartOperator:=clsCoordPolarStartOperator, ucrNewBaseSelector:=ucrSelectorBoxPlot, strMainDialogGeomParameterNames:=strGeomParameterNames, bReset:=bResetSubdialog)
sdgPlots.ShowDialog()
bResetSubdialog = False

Expand Down
228 changes: 217 additions & 11 deletions instat/dlgCircular.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 92 additions & 1 deletion instat/dlgCircular.vb
Original file line number Diff line number Diff line change
@@ -1,3 +1,94 @@
Public Class dlgCircular
' R- Instat
' Copyright (C) 2015-2017
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.
Imports instat.Translations
Public Class dlgCircular
Private bFirstLoad As Boolean = True
Private bReset As Boolean = True
Private clsCircularFunction As New RFunction
Private Sub dlgCircular_Load(sender As Object, e As EventArgs) Handles MyBase.Load
If bFirstLoad Then
InitialiseDialog()
bFirstLoad = False
End If
If bReset Then
SetDefaults()
End If
SetRcodeforControls(bReset)
bReset = False
autoTranslate(Me)
End Sub

Private Sub InitialiseDialog()
ucrReceiverCircular.Selector = ucrSelectorCircular
ucrReceiverCircular.SetMeAsReceiver()

ucrReceiverCircular.SetParameter(New RParameter("x", 0))
ucrReceiverCircular.SetParameterIsRFunction()

ucrPnlModulo.SetParameter(New RParameter("modulo", 1))
ucrPnlModulo.AddRadioButton(rdoAsis, Chr(34) & "asis" & Chr(34))
ucrPnlModulo.AddRadioButton(rdo2Pi, Chr(34) & "2pi" & Chr(34))
ucrPnlModulo.AddRadioButton(rdoPi, Chr(34) & "pi" & Chr(34))

ucrPnlUnits.SetParameter(New RParameter("units", 2))
ucrPnlUnits.AddRadioButton(rdoDegrees, Chr(34) & "degrees" & Chr(34))
ucrPnlUnits.AddRadioButton(rdoHours, Chr(34) & "hours" & Chr(34))
ucrPnlUnits.AddRadioButton(rdoRadians, Chr(34) & "radians" & Chr(34))

ucrSaveCircularColumn.SetPrefix("circ")
ucrSaveCircularColumn.SetSaveTypeAsColumn()
ucrSaveCircularColumn.SetDataFrameSelector(ucrSelectorCircular.ucrAvailableDataFrames)
ucrSaveCircularColumn.SetLabelText("New Column Name:")
ucrSaveCircularColumn.SetIsComboBox()
End Sub

Private Sub SetDefaults()
clsCircularFunction = New RFunction

ucrSelectorCircular.Reset()
ucrSaveCircularColumn.Reset()
clsCircularFunction.SetPackageName("circular")
clsCircularFunction.SetRCommand("circular")

clsCircularFunction.AddParameter("units", Chr(34) & "radians" & Chr(34), iPosition:=2)
clsCircularFunction.AddParameter("modulo", Chr(34) & "2pi" & Chr(34), iPosition:=1)

clsCircularFunction.SetAssignTo(ucrSaveCircularColumn.GetText, strTempDataframe:=ucrSelectorCircular.ucrAvailableDataFrames.cboAvailableDataFrames.Text, strTempColumn:=ucrSaveCircularColumn.GetText)
ucrBase.clsRsyntax.SetBaseRFunction(clsCircularFunction)
End Sub

Private Sub SetRcodeforControls(breset As Boolean)
SetRCode(Me, ucrBase.clsRsyntax.clsBaseFunction, breset)
End Sub

Private Sub ucrBase_ClickReset(sender As Object, e As EventArgs) Handles ucrBase.ClickReset
SetDefaults()
SetRcodeforControls(True)
TestOkEnabled()
End Sub

Private Sub TestOkEnabled()
If ucrReceiverCircular.IsEmpty OrElse Not ucrSaveCircularColumn.IsComplete Then
ucrBase.OKEnabled(False)
Else
ucrBase.OKEnabled(True)
End If
End Sub

Private Sub ucrReceiverCircular_ControlContentsChanged(ucrChangedControl As ucrCore) Handles ucrReceiverCircular.ControlContentsChanged, ucrSaveCircularColumn.ControlContentsChanged
TestOkEnabled()
End Sub
End Class
Loading