Displaying 20 results from an estimated 1000 matches similar to: "help with Box plot"
2007 Dec 09
1
package "growth" ... where is it ?
I would like to install the package "growth" as it contains the function
"corgram" and some other presumably useful stuff for time series analysis.
I can see it is in R standard library list:
http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/doc/html/packages.html<http://hosho.ees.hokudai.ac.jp/%7Ekubo/Rdoc/doc/html/packages.html>
2012 Jan 27
1
Help boxplot to add mean, standard error and/or stadard deviation
Dear researchers
I wish to plot a box plot without the mean line (the black line) and plot
only the mean (red square). Futhermore, is it possible to add standard
error and/or stadard deviation?
This is an example
mytest <- c(2.1,2.6,2.7,3.2,4.1,4.3,5.2,5.1,4.8,1.8,1.4,2.5,2.7,3.1,2.6,2.8)
boxplot(mytest,lty = "solid")
means <- mean(mytest,na.rm=TRUE)
points(means, pch = 22, col
2013 Mar 19
1
How to get the rolling standard deviation in rasters?
I am using this code to calculate the moving average mean.It worked fine but
when I wanted to also calculate based on sd(stander deviation) I got the
error shown below.
I read this documentation of R movingFun and found that sd was mentioned at
http://hosho.ees.hokudai.ac.jp/~kubo/Rdoc/library/raster/html/movingFun.html
I wonder if needs any other things to conseder or sd is not at all supplied
2013 Mar 12
1
Request for more flexibility in heatmap() width / height ratio
Hi R users,
I'm a quite extensive user of the heatmap() function, and as many others
i'm frequently frustrated by its fixed square width / height ratio. Here is
a typical example :
dev.new()
heatmap(matrix(rnorm(1200), nrow=10))
I have a non square matrix to plot with heatmap, as there are many more
columns than rows, row labels are larger than necessary but column labels
2009 Feb 05
2
Reading images
Hi
Can anyone tell me how to convert an image file (a jpg file for instance)
into a matrix file?
The command image(blabla) transforms a matrix into an image file, I am
searching exactly the inverse.
Thanks...
[[alternative HTML version deleted]]
2011 Nov 20
2
I'm writing this letter to enquire where can I download the package of "lmtest".
Dear editor:
I'm writing this letter to enquire where can I download the package of "lmtest". Can you send me this package?
THanks a lot.
Best regards,
Shu-Fei Wu
2012 Jan 25
4
help to slip a file name using "strsplit" function
Dear Researchers,
I have several files as this example: Myfile_MyArea1_sample1.txt
i wish to split in "Myfile", "MyArea1", "sample1", and "txt", becasue i
need to use "sample1" label. I try to use "strsplit" but I am able just to
split as "Myfile_MyArea1_sample1" and "txt" OR "Myfile", "MyArea1",
2012 Feb 15
3
R citation for the 2012
Dear Reasearchers,
I am writing a report and i need (and wish) cite R. somebody know the
citation of R for the 2012? or the more actual?
thanks in advance
Gianni
[[alternative HTML version deleted]]
2012 Oct 29
2
the right reference for the R Stats package for a scientific journal
Dear Members list,
I am writing a paper for a research where i used "the R Stats package". No
one knows the right reference for this package?
Thanks in Advance
Gianni
[[alternative HTML version deleted]]
2012 May 16
1
how disable the Error massage in read.table() " no lines available in input"
Dear Researchers,
I am looking a way to disable the Error massage in read.table() as warn =
TRUE in readLines(), when the lines are empty
Error in read.table(con, header = F, sep = " ", nrow = n) :
no lines available in input
thanks for all suggestions
Gianni
[[alternative HTML version deleted]]
2012 Jan 30
2
plot with ylim with regural interval
Dear Researchers,
sorry for the easy question but Is it possible to plot with an interval of
1 or .5 in a plot using ylim?
Thanks
gianni
x = 0:10;
y = 0:10;
plot(x~y,ylim=c(0,10),las=1)
[[alternative HTML version deleted]]
2012 Mar 23
2
plot a BARPLOT with sd deviation bar up and down
dear Researchers,
i am looking for a function to plot a barplot for each mean value and the
related standard deviation, and i can close my week. This is an example of
my data set.
really Thanks in advance for any help or suggestions
Gianni
My.mean <- data.frame(Mean=c(0.4108926,0.3949009,0.4520346,
0.4091665,0.4664066,0.3048296,0.4297226,0.4056383,
2012 Jun 15
1
some help to improve "hist to plot relative frequencies"
Dear Researches,
sorry for disturb. I wish to improve my figure in R plotting the relative
frequencies of my data set.
library(lattice)
a <- c(0,0,0,1,1,2,4,5,6,7,7,7,7,7,8,8,8,8,9,9,9,9,10,10,11)
histogram(a, xlab="myData")
what i wish to do is:
1) invert the order of X and Y (eg: Precent of Total on X-axis and "MyData"
on X-axis)
2) plot not the bar of histogram but a
2012 Mar 16
1
help to split a ID column in a data.frame and create a new ID column
Dear Researchers,
I have a data.frame with 2 columns like this:
mydf <-
data.frame(value=c(1,2,3,4,5),ID=c("Area_1","Area_2","Area_3","Area_4","Area_5"))
> mydf
value ID
1 1 Area_1
2 2 Area_2
3 3 Area_3
4 4 Area_4
5 5 Area_5
I need to convert the *ID *in the following version
> mydf
value ID newID
2012 Feb 26
3
count how many row i have in a txt file in a directory
Dear Researchers,
I have a large TXT (X,Y,MyValue) file in a directory and I wish to import
row by row the txt in a loop to save only the data they are inside a buffer
(using inside.owin of spatstat) and delete the rest. The first step before
to create a loop row-by-row is to know how many rows there are in the txt
file without load in R to save memory problem.
some people know the specific
2011 Nov 22
1
help to setting a multiple (linear) regression model with a 5% significance level (threshold) for the inclusion of the model variables.
Dear Researchers,
someone know the right syntax to chose a 5% significance level (threshold)
for the inclusion of the model variables in a multiple (linear) regression
in backward way?
I set the formula in this way, but I don't know to choose the 5%
significance?
lmodelV <-
step(lm(formula=MyFormula[[1]],data=LR.train),direction="backward")
thanks in advance gianni
2012 Jun 25
1
special simbol (±) in a legend
dear reserachers,
I am looking for a expression about a special symbol (±) in a Legend and
add on front of "Mean ± SD" the symbol of bracket
sorry if the example is not great
disptest <- matrix(rnorm(10),nrow=10)
disptest.means<- rowMeans(disptest)
plot(1:10,disptest.means)
dispersion(1:10,disptest.means,(disptest.means+disptest
),(disptest.means-disptest
2012 Jul 02
1
error to convert a Compute A^-1 B from Matlab to R using solve(A, B)
Dear Researchers,
I need to convert the following equation in R from Matlab
a = [x y ones(size(x))];
b = [-(x.^2+y.^2)];
a\b
ans =
-9.9981
-16.4966
-7.6646
my solution in R is:
a = cbind(x,y,rep(1,length(x)))
b = cbind(-(x^2+y^2))
> head(a)
x y
[1,] 14.45319 5.065726 1
[2,] 14.99478 5.173893 1
[3,] 14.64158 5.616916 1
[4,] 14.61803 6.624069 1
[5,] 14.19997
2012 Nov 07
1
total number of citations for R project
Dear Member list,
is there a weblink or a paper where the total number of citations for R
project is report?
Thanks in advance
Gianni
[[alternative HTML version deleted]]
2011 Dec 05
1
explanation why RandomForest don't require a transformations (e.g. logarithmic) of variables
Dear Researches,
sorry for the easy and common question. I am trying to justify the idea of
RandomForest don't require a transformations (e.g. logarithmic) of
variables, comparing this non parametrics method with e.g. the linear
regressions. In leteruature to study my phenomena i need to apply a
logarithmic trasformation to describe my model, but i found RF don't
required this approach.