similar to: loop on list levels and names

Displaying 5 results from an estimated 5 matches similar to: "loop on list levels and names"

2010 Jan 22
2
column selection in list
Hi everybody! I have a (stupid) question but I cannot find a way to do it! I have a list like: > SPECSHOR_tx_Asfc $cotau SPECSHOR Asfc.median 38 cotau 381.0247 39 cotau 154.6280 40 cotau 303.3219 41 cotau 351.2933 42 cotau 156.5327 $eqgre SPECSHOR Asfc.median 145 eqgre 219.5389 146 eqgre 162.5926 147 eqgre 146.3726 148 eqgre
2010 Sep 21
2
labels in (box)plot
Dear users, I would like all the ticks on a boxplot (x and y) to be labeled I have checked all the par() arguments but couldn't find what I'm looking for Here is an example to show it: df <- structure(list(SPECSHOR = structure(c(1L, 1L, 1L, 3L, 3L, 3L, 3L, 3L, 4L, 4L), .Label = c("cotau", "dibic", "eqgre", "gicam"), class =
2010 Jan 29
1
create an R object in a loop
Hi everybody, To run some statistical tests from the package WRS (from Rand R Wilcox), I need to store my data in a list, which fac2list() from this package does very well. But I would like to do it in a loop for each numerical variable. It would be easier! For now, I have the loop with the extraction and storage into a list. The code is below. ----- # Defines variables file <- ssfamed
2010 Feb 04
5
export test results to csv
Hi everybody! I would like to export the results of a test statistic in a *.csv file, but get an error. The code is below. The data are attached as .txt with tab as separator. I tried to get a sample dataset, but for some reason it didn't work, so please excuse the length of the file. I also attached a txt with the output (copy/paste) in case that helps. ---- > library(WRS) >
2010 Jan 18
2
column selection for aggregate()
Hi everybody! I'm working on R today so I have a lot of questions (you may have noticed that it's the 3rd email today). I'm new on R, so please excuse the "spam"! I have a dataset "ssfa" with many rows and the column names are: > names(ssfa) [1] "SPECSHOR" "BONE" "TO_POS" "MEASUREM" "FACETTE"