Displaying 10 results from an estimated 10 matches for "meansd".
Did you mean:
means
2004 Jun 25
2
Sweave: R code in self defined TeX-commands
Hi,
I need to produce a standard report for several variables in Sweave
and thus would need the possibility to define a TeX-command which includes
R-code like
\newcommand{\meansd}[1]{The mean is \Sexpr{mean(#1)} and the standard
deviation is \Sexpr{sd(#1)} .
}
and then just write
\meansd{age}
in the latex code to get the whole sentence.
The above does not work, since Sweave ignores the \newcommand and does not
expand the \statistics
Is there an...
2012 Jan 08
3
Conditional Loop For Data Frame Columns
...ion and sorting the results
by an index vector:
#upload data (112 rows x 73 columns)
SD <- read.csv("/Users/johnjacob/Desktop/StudentsData_RInput.csv",
header=TRUE)
#assign index vector
ID <- SD[ ,2]
#write indexed mean function
meanfun <- function(x) {
for(i in 3:ncol(x)) {
meanSD <- tapply(x[,i], ID, FUN=mean)}
return(meanSD)
}
#apply function to data
meanfun(SD)
What I get is one set of indexed means:
7605 Andrea Billy ERR006 FJM13
2.111111 1.400000 1.888889 3.692308 3.750000
Gayan Jschaef Whitney
1.300000 2.285714 2.000000
...and what I would lik...
2006 Mar 16
2
french secondary boxplot
bonjour,
i'm a mathematic teacher and i have a question for R-developers :
is it possible to have (in the future) a boxplot with whiskers from
the first decile to the ninth decile, as usual in secondary french
schools... by example : boxplot(serie,range=-1) for french boxplot ?
cordialement,
jean-pierre
lyc?e jean zay
orl?ans, france
http://mathazay.free.fr/spip/
2010 May 31
3
two questions about PLOT
...on correctly.Since I have use the cmommand
"axis(1,at=1:6,labels=gradeinfo$gradenam)"
but it seems that the correct information that I want is superposition
with the old axis information.What can i do ?
the script and figure is shown as below .thanks .:)
outflnm<-paste(Outdic,"meansd.jpg",sep="/")
jpeg(file=outflnm, bg="transparent")
legend<-c("average error","stand quare error")
lgcol<-c("black","red1")
par(las=1)
yylab<-c("forecast error")
xxlab<-c("typhoon class")
llty<-c(1,3)...
2018 Feb 19
2
[parallel] fixes load balancing of parLapplyLB
...ing money.
>
> ### original
>
> This is the entire series from our job accounting database, filteres the successful jobs, calculates efficiency and then shows the average and standard deviation of the efficiency:
>
> ```
> $ qacct -j 4433299 | qacct-success | qacct-efficiency | meansd
> n=945 ? 61.7276 ? 7.78719
> ```
>
> This is the entire series from our job accounting database, filteres the successful jobs, calculates efficiency and does sort of a histogram-like binning before calculation of mean and standard deviation (to get a more detailed impression of the dis...
2018 Feb 19
0
[parallel] fixes load balancing of parLapplyLB
...r, wasted resources is like burning money.
### original
This is the entire series from our job accounting database, filteres the successful jobs, calculates efficiency and then shows the average and standard deviation of the efficiency:
```
$ qacct -j 4433299 | qacct-success | qacct-efficiency | meansd
n=945 ? 61.7276 ? 7.78719
```
This is the entire series from our job accounting database, filteres the successful jobs, calculates efficiency and does sort of a histogram-like binning before calculation of mean and standard deviation (to get a more detailed impression of the distribution when stan...
2018 Feb 12
2
[parallel] fixes load balancing of parLapplyLB
Dear R-Devel List,
**TL;DR:** The function **parLapplyLB** of the parallel package has [reportedly][1] (see also attached RRD output) not
been doing its job, i.e. not actually balancing the load. My colleague Dirk Sarpe and I found the cause of the problem
and we also have a patch to fix it (attached). A similar fix has also been provided [here][2].
[1]:
2018 Feb 26
2
[parallel] fixes load balancing of parLapplyLB
...;
>>> This is the entire series from our job accounting database, filteres
>> the successful jobs, calculates efficiency and then shows the average
>> and standard deviation of the efficiency:
>>> ```
>>> $ qacct -j 4433299 | qacct-success | qacct-efficiency | meansd
>>> n=945 ? 61.7276 ? 7.78719
>>> ```
>>>
>>> This is the entire series from our job accounting database, filteres
>> the successful jobs, calculates efficiency and does sort of a
>> histogram-like binning before calculation of mean and standard
>&...
2018 Feb 20
0
[parallel] fixes load balancing of parLapplyLB
...ginal
>>
>> This is the entire series from our job accounting database, filteres
>the successful jobs, calculates efficiency and then shows the average
>and standard deviation of the efficiency:
>>
>> ```
>> $ qacct -j 4433299 | qacct-success | qacct-efficiency | meansd
>> n=945 ? 61.7276 ? 7.78719
>> ```
>>
>> This is the entire series from our job accounting database, filteres
>the successful jobs, calculates efficiency and does sort of a
>histogram-like binning before calculation of mean and standard
>deviation (to get a more de...
2018 Mar 01
0
[parallel] fixes load balancing of parLapplyLB
...his is the entire series from our job accounting database, filteres
>>> the successful jobs, calculates efficiency and then shows the average
>>> and standard deviation of the efficiency:
>>>> ```
>>>> $ qacct -j 4433299 | qacct-success | qacct-efficiency | meansd
>>>> n=945 ? 61.7276 ? 7.78719
>>>> ```
>>>>
>>>> This is the entire series from our job accounting database, filteres
>>> the successful jobs, calculates efficiency and does sort of a
>>> histogram-like binning before calculation of...