Displaying 8 results from an estimated 8 matches similar to: "formatting results from a function argument"
2006 Feb 22
1
stripchart-y axis labels
Hello,
I am trying to create a stripchart for my data, where y axis labels are
characters (ie,names of cities). I would like to change the orientation
of the y - axis labels, ie perpendicular to y axis.
Below is the code i am using:
par(srt=90)
with(ozone.ne.trim,
stripchart(Median~City,main = "stripchart(ozone)"))
The par option doesn't seem to working.
Kindly help.
Thanks
2006 Apr 10
1
Generic code for simulating from a distribution.
Hello all,
I have the code below to simulate samples of certain size from a
particular distribution (here,beta distribution) and compute some
statistics for the samples.
betasim2<-function(nsim,n,alpha,beta)
{
sim<-matrix(rbeta(nsim*n,alpha,beta),ncol=n)
xmean<-apply(sim,1,mean)
xvar<-apply(sim,1,var)
xmedian<-apply(sim,1,median)
2010 Nov 18
3
problems subsetting
Dear all,
I have searched the forums for an answer - and there is plenty of
questions along the same line - but none of the paproaches shown worked
to my problem:
I have a data frame that I get from a csv:
summarystats<-as.data.frame(read.csv(file=f_summary));
where I have the columns Dataset, Class, Type, Category,..
Problem1: I want to find a subset of this frame, based on values in
2009 Oct 04
1
Numerical.summary Error
Dear all,
Have you experienced problem of using numerical.summary() function? I used
to be able to run this function in R, but not any more. Now I try to use
this function, it gives me error like this:
Error: could not find function "numerical.summary"
I used to be able to run this function under library(s20x).
Can someone please guide me on this ?
Thanks.
Rene
2008 Jan 02
1
extracting pvalue from ANOVA with repeated measures
I made an ANOVA with repeated mesures
(aov(Mesure~Distance*Genre*Correct+Error(Sujet/(Distance*Genre*Correct)),
data)) and I would like to extract the pvalues.
The output is:
-----------------------------------------------------------
Error: Sujet
Df Sum Sq Mean Sq F value Pr(>F)
Residuals 21 97.082 4.623
Error: Sujet:Distance
Df Sum Sq Mean Sq F value Pr(>F)
Distance
2009 Mar 21
0
object gstat
dear all i have this dataset: x,y, datavalue
> dati[,c(1,2,5)]
[,1] [,
2] [,3]
[1,] 2.386 3.077 1.740
[2,] 2.544 1.972 1.335
[3,] 2.807 3.347
1.610
[4,] 4.308 1.933 2.150
[5,] 4.383 1.081 1.565
[6,] 3.244 4.519
1.145
[7,] 3.925 3.785 0.894
[8,] 2.116 3.498 0.525
[9,] 1.842 0.989
0.240
[10,] 1.709 1.843 0.625
[11,] 3.800 4.578 3.873
[12,] 2.699 1.199
1.425
2010 Feb 12
1
paired wilcox test on each row of a large dataframe
hI
I have to calculate V statistic for each row of a large dataframe (28000). I
can not use multtest package for paired wilcox test. I have been using for
loop which are. Is there a way to speed the computation with another method
like using apply or tapply?
My data set looks like this:
11573_MB 11911_MB 11966_MB 12091_MB 12168_MB
12420_MB................
cg00000292
2010 Dec 05
0
Help with time varying covariate-unfold function
Hello All,
I am trying to use the unfold function in RcmdrPlugin.survival library,
which converts the survival data with time varying covariates to the
counting process notation. The problem is somehow, the event indicator
created is not correct.
Below is the data, I am trying to convert:
CASE TRT FAILTIME FAILCENS SEX AGE IGG0 IGG28 IGG42 IGG84 IGG364
26003 A 11.2033