search for: strassenbahn

Displaying 1 result from an estimated 1 matches for "strassenbahn".

2007 Oct 23
1
simple data.frame question
...ta.frame (but I don't know, if I've done it correct): statistik <- data.frame(car = factor(), ubahn = factor () [...], quantity = numeric()) When clicking on a button, I want to submit the values from the <form> to the data.frame. statistik <- c(car, autobus, ubahn, strassenbahn, bicycle, walk, quantity) When clicking another buttons I want to show the saved values. print(statistik) What in fact happens is that by submiting the values, the first row of the data.frame is overwritten. At least that's what it looks like to me. If you need any further information,...