Displaying 20 results from an estimated 400 matches similar to: "create an R object in a loop"
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 21
2
loop on list levels and names
Hi everybody!
To use some functions, I have to transform my dataset into a list, where
each element contains one group, and I have to prepare a list for each
variable I have (altogether I have 15 variables, and many entries per
factor level)
Here is some part of my dataset:
SPECSHOR BONE Asfc Smc epLsar
cotau tx 454.390369 29.261638 0.001136
cotau tx 117.445711
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 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"
2005 Sep 12
3
Covert list of list to dataframe for export or outputting by(test) output
Greetings,
I am running a buch of wilcox tests and need to be able to rapidly
export the results into a csv file. I have attached example code as well
as my attempts to get what I need. I have tried unlist,cbind,rbind etc
but I am obvously missing something simple. FYI I am actually running
about 50 WRS tests per dataset, this is just an example.
Thanks 10^6
Mike
AKCCR <-
2013 Aug 29
4
[PATCH] Notify caching_thread()s to give up on extent_commit_sem when needed.
caching_thread()s do all their work under read access to extent_commit_sem.
They give up on this read access only when need_resched() tells them, or
when they exit. As a result, somebody that wants a WRITE access to this sem,
might wait for a long time. Especially this is problematic in
cache_block_group(),
which can be called on critical paths like find_free_extent() and in commit
path via
2006 Mar 15
0
WHAM as dtrace
In the past I used a tool called WHAM to collect system and process
information from Solaris. It looks like dtrace could replace WHAM.
Below are the counters that I got from WHAM. I got cumulative and
instantaneous counts. Is there some existing dtrace script that will
give me all of these plus even more? Also, WHAM was distributed, that
is it could collect these counters from multiple
2010 Sep 26
2
Changing x-axis on boxplot
Dear List,
?
I am creating a boxplot with two subsets, very similar to the example by Roger
Bivand at ?boxplot (reproduced below).? I am trying to change the labels on the
x-axis to have one number to cover both subsets.? I can do this in other plots
by using axis=FALSE followed by a separate axis() command.? I have also tried
variations in the names= argument but can't get it to work.?
2008 Sep 12
2
Again, about boxplot
Thank you for your guys reply for my previous question. But I got one more
question about the boxplot. With the code in the R-help:
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
ylab =
2016 Mar 15
0
Building smbclient 4.3.3 issues with lttng-ust
We are building smbclient 4.3.3 for Intel, which was working fine. We got a toolchain update, which added the lttng-ust libraries(previously missing in our toolchain), but not lttng/tracef.h and now we get an error in the config.log:
Checking for lttng-ust
pkg-config --errors-to-stdout --print-errors --cflags --libs lttng-ust
Package lttng-ust was not found in the pkg-config search path.
Perhaps
2014 Apr 24
1
50% performance of custom R build compared to PPA R for a command
Hi,
I have R installed from the Ubuntu PPA and a local build of R (more
details below). I will refer to these as "R" and "R-devel",
respectively. I've reproduced the following on Ubuntu 13.10 and 14.04.
Below is an example (which requires the bootstrap package) that takes
10 seconds for me to run with R-devel and 5 seconds with R
library(bootstrap)
str(tooth)
theta <-
2008 Feb 04
7
adding the mean and standard deviation to boxplots
Dear list,
How can I add the mean and standard deviation to each of the boxplots using the example provided in the boxplot function?
boxplot(len ~ dose, data = ToothGrowth,
boxwex = 0.25, at = 1:3 - 0.2,
subset = supp == "VC", col = "yellow",
main = "Guinea Pigs' Tooth Growth",
xlab = "Vitamin C dose mg",
2012 Nov 20
0
[LLVMdev] Does LLVM sign ARM ELFs?
On 20 November 2012 03:22, Greg Fitzgerald <garious at gmail.com> wrote:
> I read through "ELF for the ARM Architecture" and my best guess has
> been to inspect .ARM.attributes in the elf-dump's section data, but
> both LLVM and GCC use "aeabi" for the vendor name.
"aeabi" is the "pseudo-vendor" which is normally printed to the
attributes
2012 Nov 20
3
[LLVMdev] Does LLVM sign ARM ELFs?
Is there a reliable way to unit-test that LLVM's integrated assembler was used?
I read through "ELF for the ARM Architecture" and my best guess has
been to inspect .ARM.attributes in the elf-dump's section data, but
both LLVM and GCC use "aeabi" for the vendor name.
I've found several ways to distinguish the two (such as a magic number
where GCC uses ELFOSABI_SYSV
2013 Nov 20
4
How to stop Kaplan-Meier curve at a time point
Hello R users
I have a question with Kaplan-Meier Curve with respect to my research. We
have done a retrospective study on fillings in the tooth and their survival
in relation to the many influencing factors. We had a long follow-up time
(upto 8yrs for some variables). However, we decided to stop the analysis at
the 6year follow up time, so that we can have uniform follow-up time for
all the
2010 Jun 29
3
merging/intersecting 2 data frames
Dear R People:
I have two data frames, a.df and b.df as seen here:
> a.df[1:10,]
DATE GENDER PATIENT_ID AGE SYNDROME
1 4/16/2009 F 23686 45 RASH ON BODY
2 4/16/2009 F 13840 35 CANT URINATE
3 4/16/2009 M 12895 30 BLURRED VISION
4 4/16/2009 M 18375 33 UNABLE TO VOID
5 4/16/2009 M 2237 44
2006 Feb 28
4
Moving samba PDC to new machine (same name?)
I'm using a tdbsam database with Samba 3.0.11 on a machine that's
getting a little long in the tooth. I'd like to move the whole deal to
a new machine without any reconfiguring on the clients - I'm happy with
a little downtime - out of office hours the system is hardly used
anyway. I'd like to upgrade to 3.0.21c at the same time.
I'm thinking:
1. backup domain data on
2015 Jun 16
3
FXS Solutions for modems and other non jitter tolerant devices
In the past we have used Adtran Atlas 550's to break out FXS ports for
devices like modems. The great thing about the 550 is that internally it
is all TDM so there is absolutely zero latency.
We are able to use ATA's for faxes and analog phones but devices that use
modems, they fail 99.99% of the time when using an ATA.
We tried to migrate to TA908 devices; they have FXS ports built
2011 Feb 25
1
speed up process
Dear users,
I have a double for loop that does exactly what I want, but is quite
slow. It is not so much with this simplified example, but IRL it is slow.
Can anyone help me improve it?
The data and code for foo_reg() are available at the end of the email; I
preferred going directly into the problematic part.
Here is the code (I tried to simplify it but I cannot do it too much or
else it