Displaying 20 results from an estimated 1000 matches similar to: "Variables inside a for"
2008 Oct 21
3
R command line
Hi!
Is there a Gui for R with improvements in the command line? I'm not looking
for buttons, menus and etc, but (more) colored syntax, auto-complete
commands and etc?
Best regards,
Raphael Saldanha
saldanha.plangeo@gmail.com
[[alternative HTML version deleted]]
2009 Jul 03
2
R on flash
Hi!
Is there some R version for flashdisk, pendrive etc ?
--
Regards,
Raphael Saldanha
saldanha.plangeo@gmail.com
[[alternative HTML version deleted]]
2011 Nov 29
1
Read TXT file with variable separation
Hi!
I have to import some TXT files into R, but the separation between the
columns are made with different blank spaces, but each file use the
same separation. Example:
31 104 5 0 11RUA SAO
SEBASTIAO 25
BAIRRO FILETO
01
2008 Jul 26
2
Sample
Hi!
I have a data.frame, like this one:
> data
0-100 100-250 250+
a 9 18 16
b 33 25 27
c 21 19 17
d 25 22 19
e 40 39 19
f 77 45 29
If I request a sample of 2, I have the following:
> sample(data, 2)
0-100 250+
a 9 16
b 33 27
c 21 17
d 25 19
e 40 19
f 77 29
How can I request a sample from the
2008 Jul 26
2
Spatial Sample
Hi!
How can I make a spatial sample?
Can someone recommend theorical books and materials for this?
--
Raphael Saldanha
UFJF - Brazil
[[alternative HTML version deleted]]
2008 Aug 20
3
Confidence Interval
Hi!
With the following script, I'm trying to make a demonstration of a
Confidence Interval, but I'm observing some differences on tails.
# Teste de média entre uma amostra e uma população normal
# Autor: Raphael de Freitas Saldanha
# Agosto de 2008
n <- 200 # Sample size
xbar <- 100 # Sample mean
s <- 2 # Sample SD
nc <- 0.95 # Confidence level (95%
2008 May 17
1
Recode
Hi!
Using recode in cars package, I tryed to use the following:
recode(data$nrcomp, "lo:5='0 to 5'; 5:hi='bigger than 5'")
I got:
Erro em parse(text = strsplit(term, "=")[[1]][2]) :
unexpected end of input in "'0 to 5"
When I try only numbers, or only text, it's ok, but when I try to combine
numbers and text, I got a error...
Any help?
2009 Jul 02
1
Box Plot outliers label
Hi!
How can I add labels in the outliers inside a boxplot.
Here is my code, at now:
mun <- as.data.frame(read.csv2("consolidada_v3.csv"))
micro <- mun$nmicro
medprop <- mun$medprop
mimedprop <- split(medprop, micro)
boxplot(mimedprop, col="chartreuse3", main="Área média das propriedades
rurais", xlab="Microrregiões", ylab="ha")
I
2011 Nov 03
2
data frame to workspace
Is there a way to import a data frame into a workspace? I created a data
frame and from my understanding, a data frame is a type of object, and that
the workspace stores the current session's objects. Wondering why my data
frame is not showing up...
Any thoughts/suggestions?
--
View this message in context: http://r.789695.n4.nabble.com/data-frame-to-workspace-tp3986415p3986415.html
Sent
2011 Nov 01
1
How to interpret Spearman Correlation
Hi,
I am not really familiar with Correlation foundations, although I read
a lot. So maybe if someone kindly help me to interpret the following
results.
I had the following R commands:
correlation <-cor( vector_CitationProximity , vector_Impact, method =
"spearman", use="na.or.complete")
cor_test<-cor.test(vector_CitationProximity, vector_Impact,
2011 Sep 12
3
Multiple t.test
Dear R experts,
Suppose I have an data frame likes this:
> example <- data.frame(age=c(1,2,3, 4,5,6), height=c(100,110,120,130,140,150), disease=c(TRUE, TRUE, TRUE, FALSE, FALSE, FALSE))
> example
age height disease
1 1 100 TRUE
2 2 110 TRUE
3 3 120 TRUE
4 4 130 FALSE
5 5 140 FALSE
6 6 150 FALSE
Is there anyway to compare the age and
2008 Jul 06
3
Lots of huge matrices, for-loops, speed
Hello,
we have 80 text files with matrices. Each matrix represents a map (rows for
latitude and columns for longitude), the 80 maps represent steps in time. In
addition, we have a vector x of length 80. We would like to compute a
regression between matrices (response through time) and x and create maps
representing coefficients, r2 etc. Problem: the 80 matrices are of the size
4000 x 3500 and we
2007 Nov 19
1
R CMD check in Windows
Hi all,
R CMD check does not work for me under Windows. This is the error
R CMD check mypackage.tar.gz
* checking for working latex ... OK
tar: and: Not found in archive
tar: Settings/miguez/ ... /00_pkg_src: Not found in archive
tar: Error exit delayed from previous errors
Error: cannot untar mypackage.tar.gz
I know tar is available because R CMD build created the tarball in the
first place
2011 Nov 03
1
EMD arguments default values
Hi,
i'm using this command line with EMD package
filename<-emd(y,x,boundary="wave",plot.imf=F)
i'd like to know if this EMD uses default values for non-specified arguments. i'm especially interested in "stoprule", "max.imf", "tol" behavior in such cases.
Thanks
2011 Oct 28
2
Equivalent of win.print for Linux
Hi!
In Windows the "win.print" function allows plotting directly to a
printer (or copying an open device to the printer). This is very
convenient to quickly print a plot once it looks good.
Is there an equivalent function under Linux? For example through CUPS,
IPP, LPD or other ?
Obviously with a printer on the parallel port one could write
postscript("/dev/lp0") but what
2011 Nov 17
7
Spatial Statistics using R
I am looking for online courses to learn Spatial Statistics using R.
Statistics.com is offering an online course in December on the same topic
but that schedule doesn't suit mine. Are there any other similar modes for
learning spatial statistics using R??? Can someone please advice???
Thank you.
Ravi
--
View this message in context:
2006 May 24
1
Problem with pasteing formulas (PR#8897)
Hi,
If I create a formula with say 100 terms and then paste it:
xnam <- paste("x", 1:100, sep="")
fmla <- as.formula(paste("y ~ ", paste(xnam, collapse= "+")))
paste(fmla)
The result seems to cut off everything after the first 500 characters
and gives no warning message.
I have the most recent version of R from the R website and the problem
occurs
2011 Aug 17
2
question regarding gregexpr and read.table
Hi,
I have a silly question regarding the usage of two commands: read.table and
gregexpr:
For read.table, if I read a matrix and set header = T, I found that all the
dash ("-") becomes dots (".")
A = read.table("Matrix.txt", sep = "\t", header = F)
A[1,1]
# "A-B-C-D".
A = read.table("Matrix.txt", sep = "\t", header = T)
2011 Aug 17
2
Lattice: problem with setting space between plot and legend
Dear R Users,
I am writing code to present my output data (I'm using Lattice Package).
However, it's essential for me to control space between barchart and legend.
I've read the package's specification, but unfortunately I haven't spot the
information how to do this. Here's the code I've written:
barchart(mymatrix[,1:ncol(mymatrix)],horizontal=FALSE,
2008 Dec 09
1
ARMA
Hi!
Is there any package or function on R to ARMA models (Box & Jenkins, without
sazonality and trend) with resources to automatic identification for p and q
?
Regards,
Raphael Saldanha
Brazil
[[alternative HTML version deleted]]