Displaying 3 results from an estimated 3 matches for "mytable1".
Did you mean:
mytable
2005 Feb 17
5
Again: Variable names in functions
..., the output is labelled properly.
> charly<-c(rep(1,3),rep(2,7));delta<-c(rep(1:2,5))
> table(charly, delta)
delta
charly 1 2
1 2 1
2 3 4
If I define a trivial function to call table, the output is less satisfying.
(Of course, I know that this function is useless.)
> mytable1<-function(x,y){table(x,y)}
> mytable1(charly, delta)
y
x 1 2
1 2 1
2 3 4
If I define the function in the following way, it does what I wish, namely
it returns output equivalent to the simple call "table(charly, delta)".
> mytable2<-function(x,y){
+ cat("table(&...
2010 Oct 01
0
Populating values in a PowerPoint table
...perty(myPres$Current.Slide,
"Shapes"), "Title"), "TextFrame"), "TextRange")
comSetProperty(slideTitleHanlde, "Text", "Table Slide Title")
# Add table to current slide
myShapes <- comGetProperty(myPres$Current.Slide, "Shapes")
myTable1 <- comInvoke(myShapes, "AddTable",7,3)
--
Saar Golde, Ph.D. <saar at revolutionanalytics.com>
Analytics Solutions Architect, Revolution Analytics
101 University Ave, Suite 300, Palo Alto, CA 94306, USA
Tel: +1 (650) 330-0553 x207
2012 May 10
6
averaging two tables (rows with columns)
Hi R user,I am struggling to figure out on how I can calculate the average from the two tables in R. Any one can help me? really your help would be grateful- I am spending so much time to figure it out. It should not be so hard, I think.
I have very big data but I have created a hypothetical data for simplification.
for example
I have : table 1
table 1: species occurance data