Displaying 20 results from an estimated 26 matches for "run1".
Did you mean:
run
2004 Dec 13
2
lists within a list / data-structure problem
Dear all,
this is a rather basic question; i am not sure how to structure my data
well:
I want to extraxt various measures from my raw-data. These measures are
of different sizes, so I decided to store them in a list, like:
run1 <- list(Dom = (my_vector), mean = (my_single_number))
I can do that in a for loop for 40 runs, ending up with 40 lists: run1,
run2, ..., run40.
To have all the measurements neatly together I thought of making another
list, containing 40 sub-lists:
> ALL <- list(run1, run2,..., run40)...
2009 Mar 09
1
Data Restructuring Question
I think I am overlooking a call or concept in R to help me easily and quickly restructure my data.frame:
Sometimes the data I receive looks like:
VariableName, Run1, Run2, Run3, Location
temp, 15.0, 16.0, 17.0, There
And other times it looks like:
VariableName, Run, Location
temp, 17.0, There
I would like to use the header information in order to be able to restructure the first data set to have a similar look as the second,...
2017 Oct 21
2
Help_urgent_how to calculate mean and sd in biomod 2
...I am new in R. I am trying to implement Biomod 2 package.
However, I have a doubt. I want to calculate the mean and sd of
"Testing.data"
(ROC and TSS)
> # let's print the ROC scores of all selected models
> myBiomodModelEval_55["ROC","Testing.data",,,]
RUN1 RUN2 RUN3 RUN4 RUN5 RUN6 RUN7 RUN8 RUN9 RUN10
0.938 0.938 0.926 0.931 0.939 0.918 0.920 0.914 0.935 0.919
>
> # let's print the TSS scores
> myBiomodModelEval_55["TSS","Testing.data",,,]
RUN1 RUN2 RUN3 RUN4 RUN5 RUN6 RUN7 RUN8 RUN9 RUN10
0.746...
2007 Dec 18
3
[LLVMdev] Broken makefile dependencies?
I am seeing a very strange situation where doing:
make -C dir all
does not rebuild anything in dir, even though stuff is stale. This
command is what the recursive makefile uses to walk the directory
structure.
The really strange thing is that:
cd dir; make all
does rebuild stuff.
Does anyone have any idea what is going on here? I thought they were
identical.
-Chris
2007 Dec 18
0
[LLVMdev] Broken makefile dependencies?
> make -d -C dir all >run1
> cd dir; make -d all >../run2
cd ..
diff -udb run1 run2 | less
But maybe you don't have GNU make, but some Apple (BSD-derived)
make which doesn't have the "-d" switch ...
2004 Mar 16
2
Documentation on how to put classes and methods in packages with namespace?
...rch()
ls()
library(dynamicGraph)
search()
ls(pos=3, all.names=TRUE)
b <- DynamicGraph(1:10)
history()
The classes and methods of dynamicGraph is not assigned, see the attached "run2.txt",
and compare with the list of the objects of dynamicGraph in "run1.txt".
I have experimented with the argument "where" to setClass, etc., see the attached
"onLoad.R".
Regards,
Jens Henrik Badsberg
".onAttach" <-
function (lib, pkg)
{
require(tcltk)
}
".onLoad" <-
function (lib, pkg)
{
.onLoad.d...
2009 Jul 22
0
download.file() help! setting the proxy for user /passw0rd
...me and password requirements. I am looking for help for setting up the
user and password within R (or somewhere). I have read the FAQ but
unfortunately I am a newbie on R and couldnt figure out how to do it. Many
thanks in advance
download.file('ftp://ftp-esg.ucllnl.org/ipcc/20c3m/land/mo/pr//run1/pr_A1_1.nc',
destfile="clt_A1.nc", method="wget", quiet = FALSE, mode = "w",cacheOK=TRUE)
--2009-07-22 19:20:12--
ftp://ftp-esg.ucllnl.org/ipcc/20c3m/land/mo/pr//run1/pr_A1_1.nc
=> `clt_A1.nc'
Resolving ftp-esg.ucllnl.org... 192.12.137.5
Connec...
2009 May 20
1
Plot data from table with column and row names
Dear All
Sorry for what appears a trivial matter - I'm new to R and am stumbling
ahead.
I have a table of numerical data (36 rows by 12 columns) such as below:
GM1 GM2 GM3 GM4 GM5 ...etc GM12
Run1 1 2 1 2 3 ...
Run2 2 1 3 2 1 ...
...
Run36 2 1 1 1 1
I would like to plot simple line graphs of some of the runs or all 36 to
compare together but I can't even get a plot to have the GM1-GM12 on the
x-axis and the numerical...
2010 Jul 02
2
merging plot labels in a lattice plot
Hi, I have a lattice lot conditioned on two variables. Example code is:
library(lattice)
x <- data.frame(d=runif(100),
f1=sample(c('yes', 'no'),100,replace=TRUE),
f2=c(rep('Run1',30),rep('Run2',30),rep('Run3',40)))
histogram(~d | f1 + f2, x)
In the plot, for a given value of f2, there are two panels, one for
'n' and one for 'yes'. But above each panel I get the value of f2.
What I'd like to be able to do is to have the value of f2...
2017 Oct 26
0
Help_urgent_how to calculate mean and sd in biomod 2
...an and sd of
> "Testing.data"
> (ROC and TSS)
>
>
> # let's print the ROC scores of all selected models
>
>
> myBiomodModelEval_55["ROC","Testing.data",,,]
>
>
> RUN1 RUN2 RUN3 RUN4 RUN5 RUN6 RUN7 RUN8 RUN9 RUN10
>
> 0.938 0.938 0.926 0.931 0.939 0.918 0.920 0.914 0.935 0.919
>
>
>
> # let's print the TSS scores
>
>
> myBiomodModelEval_55["TSS","Testing.data",,...
2012 Dec 21
1
Rterm does not load personal library
Greetings,
I am trying to run a short script from a shell:
c:\projects\hell>Rscript --default-packages=mypack X:/4Stephen/commit/curve.R > X:/4Stephen/commit/run1.out
Loading required package: utils
Warning message:
package 'RODBC' was built under R version 2.12.2
Error: could not find function "normalize"
Execution halted
Warning message:
closing unused RODBC handle 1
function 'normalize' is in "mypack" and I even atte...
2018 Sep 25
3
[cfe-dev] New warnings when building trunk with GCC 9
...mory>
struct A {
A(int) {}
A() { std::cout << "empty constructor"; }
A(const A&) { std::cout << "copy constructor\n"; }
A(A&&) { std::cout << "move constructor\n"; }
};
struct B {
B(A a) {}
};
A getA() { return A(1); }
B run1() {
A a = getA();
return std::move(a);
}
B run2() {
A a = getA();
return a;
}
int main() {
std::cout << "with move:\n";
run1();
std::cout << "no move:\n";
run2();
}
On Tue, Sep 18, 2018 at 4:07 PM Richard Trieu <rtrieu at google.com> wrote:...
2011 Sep 28
2
apply lm function to dataset split by two variables
...cm+0.5), data = data)
v <- lapply(split(data, data$sps), f)
and then I can extract the data with this script from Peter Solymos
(although I do not get the number of points used in the analysis):
myFun <-
function(lm)
{
out <- c(lm$coefficients[1],
lm$coefficients[2],
length(lm$run1$model$y),
summary(lm)$coefficients[2,2],
pf(summary(lm)$fstatistic[1], summary(lm)$fstatistic[2],
summary(lm)$fstatistic[3], lower.tail = FALSE),
summary(lm)$r.squared)
names(out) <- c("intercept","slope","n","slope.SE","p.value",&...
2009 Nov 09
1
Incomplete, unbalanced design, and pseudoreplication?
Hello,
I am trying to help someone who has carried out an experiment and I'm
finding it quite difficult to understand the appropriate model to use
& code it.
The response is a measurement - the amount of DNA extracted during the
experiment. There were 2 factors to be tested - one is the condition
under which the experiment took place and the other is the type of DNA
to be
2009 May 11
1
3d Scatterplot using rgl
...rth element related to a count variable.
I would like to plot the points using plot3d with the sizes of the points related to the fourth element in the matrix. Is this possible with plot3d or do I need to use something else?
I include a small example of what I am trying to do
swadt
A B C run1 run2 run3 run4 run5 run6
93 96 51 0.1 NA 0.1 NA NA NA
93 97 50 0.3 NA NA 0.1 NA NA
93 98 49 0.1 NA NA NA NA NA
94 95 51 NA NA NA NA NA 0.1
94 100 46 0.1 NA NA NA NA NA
94 96 50 2.1 0.1 1.0 0.7 0.8 0.4
94 97 49 3.2 0.9...
2004 May 03
1
Speed up graphics output?
...------------------------------
#Input file is comma-delimited and has GeogID, LON, LAT and CLUSTER
#LON should be in column 2 and LAT in column 3
library(maptools)
#Number of clusters in total
ClusCount <- 150
#Read in Cluster Assignments
datain <- as.data.frame( read.table("c:\\data\\Run1\\kmeansout_150.txt", header=TRUE ))
colnames(datain) <- c("geogid","long","lat","cluster")
#Set up screen device
#split 2x2 - permits 1 map per section
par(bg="white")
split.screen(c(2,2))
#Load maps once only
w <- read.shape("c:...
2004 Mar 16
0
VS: Documentation on how to put classes and methods in packages with namespace?
...cGraph)
> search()
> ls(pos=3, all.names=TRUE)
> b <- DynamicGraph(1:10)
> history()
>
> The classes and methods of dynamicGraph is not assigned, see the attached "run2.txt",
> and compare with the list of the objects of dynamicGraph in "run1.txt".
>
> I have experimented with the argument "where" to setClass, etc., see the attached
> "onLoad.R".
>
> Regards,
>
> Jens Henrik Badsberg
>
>
>
> ".onAttach" <-
> function (lib, pkg)
> {
> require(t...
2012 Dec 02
1
Repeated-measures anova with a within-subject covariate (or varying slopes random-effects?)
...uns was the
following:
- run 1: cond A
- run 2: cond B
- run 3: cond A
- run 4: cond B
- run 5: cond A
- run 6: cond B
where for each run and for each subject, an average RT was collected
for stim1 and for stim2.
After collecting and plotting the data, an approximately linear
decrease in RT from run1 to run6 was apparent in most subjects
(practice effect: subjects become better and faster with time).
Now, I am struggling with how to properly specify a model to perform
the group analysis by taking into account this confounding practice
effect, so that the real effects of interest (the main effe...
2003 Jun 20
3
namespaces not available
...----
(what is "biplot"??)
But
gb at lasker:~/R/test$ R --vanilla
> load(".RData")
[1] ".Random.seed" ".Traceback" "f.PQL" "f.ml" "fit"
[6] "hd" "last.warning" "run1" "s.dat" "t2"
>
------------------------------------------------------------
Seems to work. What is happening?
G?ran
---
G?ran Brostr?m tel: +46 90 786 5223
Department of Statistics fax: +46 90 786 6614
Ume? Univ...
2011 Feb 24
4
Running code sequentially from separate scripts (but not functions)
Hello!
I am wondering if it's possible to run - in sequence - code that is
stored in several R scripts.
For example:
Script in the file "code1.r" contains the code:
a = 3; b = 5; c = a + b
Script in the file "code2.r" contains the code:
d = 10; e = d - c
Script in the file "code3.r" contains the code:
result=e/a
I understand that I could write those 3 scripts