Displaying 20 results from an estimated 2000 matches similar to: "special simbol (±) in a legend"
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 Jan 27
2
help with Box plot
Dear researchers
I wish to plot a box plot without the mean line (the black line) and the i
wish a full line for the standard 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)
really thanks
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 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
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.
2011 Nov 17
1
tuning random forest. An unexpected result
Dear Researches,
I am using RF (in regression way) for analize several metrics extract from
image. I am tuning RF setting a loop using different range of mtry, tree
and nodesize using the lower value of MSE-OOB
mtry from 1 to 5
nodesize from1 to 10
tree from 1 to 500
using this paper as refery
Palmer, D. S., O'Boyle, N. M., Glen, R. C., & Mitchell, J. B. O. (2007).
Random Forest Models
2012 May 28
1
question how to add Standard Deviation as "Whiskers" in a simple plot
Dear Researchers,
sorry for this simple question. I have a point plot with mean values and i
wish to plot line with Standard Deviation as "Whiskers". I calculate the
mean+sd and mean-sd, but i can not figure out the way to add the line.
mydata <-
data.frame(mean=c(0.42,0.41,0.41,0.43,0.45,0.43,0.43,0.42,0.44,0.45,0.45,0.45,0.46,0.43,0.42,0.37,0.44,0.46,0.46,0.39,0.40),
2013 Dec 02
2
plus/minus +/- in factor; not plotmath not expression
I want to put the "plus or minus" symbol into a character variable, so that this can be turned into a factor and be displayed in the "strip" of a faceted ggplot2 plot.
A very nice solution, thanks to Professor Ripley's post of Nov 16, 2008; 3:13pm, visible at http://r.789695.n4.nabble.com/Symbols-to-use-in-text-td874239.html and subsequently
2006 Mar 20
2
Special characters: plus/minus
Hi R people!
:-)
I am printing a table of percentages (P) and their 95% confidence
interval half-widths (CI).
I would like to
(i) create a character string of P and CI that has the plus/minus
character to the left of CI, then
(ii) use write.csv to save that file with the P, CI and the special
plus/minus character.
I poured over the r-help archives and did not find advice on this. That
2007 Oct 08
1
special characters in linux using dev.print
Hi List,
I want to print ? in a lattice graph label. This works in windows, but the linux version has problems - it cannot translate the character. Error is "invalid input in mbcsToLatin1".
I use the standard encoding and also dev.print(file="filename",dev=pdf, encoding="PDFDoc.enc")
I am afraid I don't know enough about the linux font encodings to figure out