Displaying 2 results from an estimated 2 matches for "psychwir".
Did you mean:
psychwire
2011 Oct 23
1
R Data Frame to C# DataGridView - R.NET
...,'Name' = c('Bob', 'Ryan', 'Mel', 'Mark', 'Ali'))");
DataFrame dataset =
engine.EagerEvaluate("myDataFrame").AsDataFrame();
dataGridView_DF.DataSource = dataset;
}/
I've looked at this link:
http://psychwire.wordpress.com/2011/06/25/importing-and-displaying-a-data-frame-with-c-and-r-net/
but I'd like to avoid loops and take a more direct route. I have a feeling
I'm supposed to fill 'table' with the contents of 'dataset' but when I try
/dataset.Fill(table);/ the error returned i...
2013 Feb 04
6
Script for conditional sums of vectors
Hi guys,
I hope you can help me with this (probably) simple query:
I have a data frame:
--------------------------
a=c(1,1,1,1,1,1,2,2,2,2,2,2)
b=c(1,1,1,2,3,4,1,1,2,2,3,4)
c=c(400,200,300,100,500,300,200,100,500,400,200,100)
data=data.frame(a=a,b=b,c=c)
--------------------------
And I would like to get the following output:
--------------------------
b
a 1 2 3 4
1 900 100 500 300
2