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

initial working describe stats #244

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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
62 changes: 42 additions & 20 deletions instat/dlgDescriptiveStatistics.Designer.vb

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

57 changes: 26 additions & 31 deletions instat/dlgDescriptiveStatistics.vb
Original file line number Diff line number Diff line change
@@ -1,33 +1,28 @@
Public Class dlgDescriptiveStatistics

Private Sub UcrButtons1_clickOk(sender As Object, e As EventArgs) Handles UcrButtons1.ClickOk
Dim strScript As String
Dim temp
Dim bFirst As Boolean

bFirst = True
If UcrDataSelection1.lstSelectedVariables.Items.Count > 0 Then
strScript = "summary(data[c("
For Each temp In UcrDataSelection1.lstSelectedVariables.Items
If bFirst Then
bFirst = False
Else
strScript = strScript & ","
End If
strScript = strScript & Chr(34) & temp.ToString & Chr(34)
Next
strScript = strScript & ")])"
frmMain.clsRInterface.RunScript(strScript)
End If

End Sub

Private Sub UcrButtons1_Load(sender As Object, e As EventArgs) Handles UcrButtons1.Load


End Sub

' Instat-R
' Copyright (C) 2015

' 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 k
' along with this program. If not, see <http://www.gnu.org/licenses/>.

Imports instat.Translations

Public Class dlgDescriptiveStatistics
Private Sub dlgDescriptiveStatistics_Load(sender As Object, e As EventArgs) Handles MyBase.Load
ucrReceiverSingle.Selector = ucrSelectorAddRemove
ucrReceiverSingle.SetMeAsReceiver()
ucrBase.clsRsyntax.SetFunction("summary")
ucrBase.clsRsyntax.iCallType = 2
autoTranslate(Me)
grpgraphics.Visible = False
End Sub

Expand All @@ -40,7 +35,7 @@
End If
End Sub

Private Sub UcrDataSelection1_Load(sender As Object, e As EventArgs) Handles UcrDataSelection1.Load

Private Sub ucrReceiverSingle_Leave(sender As Object, e As EventArgs) Handles ucrReceiverSingle.Leave
ucrBase.clsRsyntax.AddParameter("object", ucrReceiverSingle.GetVariables())
End Sub
End Class
40 changes: 0 additions & 40 deletions instat/dlgOneWayANOVA.vb

This file was deleted.