Displaying 20 results from an estimated 60 matches for "saldanha".
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
...32/i386 (32-bit)
locale:[1] LC_COLLATE=Portuguese_Brazil.1252
LC_CTYPE=Portuguese_Brazil.1252 ??[3]
LC_MONETARY=Portuguese_Brazil.1252 LC_NUMERIC=C
[5] LC_TIME=Portuguese_Brazil.1252
attached base packages:[1] stats ? ? graphics ?grDevices utils
datasets ?methods ? base
--
Atenciosamente,
Raphael Saldanha
saldanha.plangeo at gmail.com
-------------- next part --------------
31 104 5 0 11AVENIDA JOSE ESTEVES BORGES 375...
2008 Dec 02
4
Variables inside a for
...sions changing the variables... so:
variable <- paste("TX0", 1:4, sep="")
for(i in 1:4){
test[i] <- lm(variable[i] ~ INCOME, data=database)
}
But doesn't work... lm tries to find a variable inside database named
variable[i] ...
Suggestions?
King regards!
Raphael Saldanha
Brasil
[[alternative HTML version deleted]]
2008 Jul 26
2
Sample
...1 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 rows???
--
Raphael Saldanha
UFJF - Brazil
saldanha.plangeo@gmail.com
Woody Allen - "I don't want to achieve immortality through my work. I want
to achieve it through not dying."
[[alternative HTML version deleted]]
2009 Jul 02
1
Box Plot outliers label
...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 have 11 outliers, and the IDs are unique.
--
Regards,
Raphael Saldanha
saldanha.plangeo@gmail.com
[[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% -> 0.95)
rep <- 1000 # Loops
#######################################################################
y <- NULL # Vet...
2008 May 17
1
Recode
...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?
--
Raphael Saldanha
Brazil
saldanha.plangeo@gmail.com
[[alternative HTML version deleted]]
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]]
2015 Sep 10
4
Message moved to Spam folder mysteriously
Hi there,
How dovecot move the message to Spam without antispam plugin installed or sieve rule to move to this folder?
I have no configuration to do this.
My logs:
Sep 10 12:12:44 mda02 dovecot: imap(my.user at mydomain.com): Warning: Inotify instance limit for user 5000 (UID vmail) exceeded, disabling. Increase /proc/sys/fs/inotify/max_user_instances
Sep 10 12:12:45 mda02 dovecot: imap(my.user
2013 May 08
2
change inbox dotlock name
...ng a world-writeable and sticky-bit
config for /var/mail).
I'll dig into the procmail code if needed, but if dovecot could use a
different filename for such locks, then that would solve my issue.
procmail has such an option, and I only need to do this for inboxes.
Thanks,
Chris
--
Chris Saldanha
Parliant Corporation
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,
2006 May 20
3
sapply and Date objects
This is probably a dumb question, but I cannot figure it out. Why does
this happen?
dt <- as.Date("1954-02-01")
> as.character(dt)
[1] "1954-02-01"
> sapply(c(dt), as.character)
[1] "-5813"
Thanks.
FS
2005 Apr 27
3
assign to an element of a vector
I am trying to find a way to assign values to elements of a vector
that will be defined by a user. So I don't have the name of the vector
and cannot hard code the assignment in advance. In the example below I
have to get() the vector using its name. When I try to assign to an
element I get an error:
> a <- c(1,2,3)
> get('a')[1] <- 0
Error: Target of assignment expands to
2005 Apr 16
2
Getting subsets of a data frame
I was reading in the Reference Manual about Extract.data.frame.
There is a list of examples of expressions using [ and [[, with the
outcomes. I was puzzled by the fact that, if sw is a data frame, then
sw[, 1:3]
is also a data frame,
but
sw[, 1]
is just a vector.
Since R has no scalars, it must be the case that 1 and 1:1 are the same:
> 1 == 1:1
[1] TRUE
Then why isn't sw[,1] =
2006 May 01
1
Problem with optim()
...930.5
4e-04 961.1
5e-04 983.5
6e-04 1000
7e-04 1012
8e-04 1021
9e-04 1027
0.001 1031
0.0011 1034
0.0012 1035
0.0013 1035
0.0014 1035
0.0015 1033
>
This is in practice a problem as one has to manually tweak these
limits. Any insights on how to deal with this issue?
Thanks in aedvance.
Fernando Saldanha
2008 Jan 16
3
Rprofile.site not executed?
It seems that my Rprofile.site file is not executed when I start R. To
test this I included the following code in that file:
.First <- function(){
cat("\nWelcome at", date(), "\n")
flush.console()
}
When I start R the message above is not displayed.
I am running R 2.6.1 (rgui.exe) under Vista Home Premium. The
Rprofile.site is in the etc folder and the R_PROFILE
2005 Apr 27
3
Time series indexes
I tried to assign values to specific elements of a time series and got
in trouble. The code below should be almost self-explanatory. I wanted
to assign 0 to the first element of x, but instead I assigned zero to
the second element of x, which is not what I wanted. Is there a
function that will allow me to do this without going into index
arithmetic (which would be prone to errors)?
FS
>
2005 May 10
6
Does R have a command for sending emails?
Is there a way to have an R program send an email?
Something like this:
address <- 'abc at d.com'
text <- 'This is the email body'
send.email(address, text)
Thanks.
FS