Displaying 20 results from an estimated 3000 matches similar to: "R-beta: Problem with Multi-Figure Plots"
2012 Aug 06
2
Splitting Data Into Different Series
Dear R Community,
I'm trying to write a loop to split my data into different series. I
need to make a
new matrix (or series) according to the series code.
For instance, every time the "code" column assumes the value "433" I need to
save "date", "value", and "code" into the "dados433" matrix.
Please take a look at the following
2011 Jul 08
1
Getting wrong NA values using "for" cmd
Hi There,
I'm facing one problem to construct a vector using the "for" command:
I have one matrix named 'dados' (same as /data/ from portuguese), for
example:
> dados[140:150,]
[,1] [,2] [,3]
[1,] 212.7298 0.14 0.11
[2,] 213.3778 0.14 0.11
[3,] 214.0257 0.15 0.11
[4,] 214.6737 0.15 0.12
[5,] 215.3217 0.15 0.12
[6,] 215.9696 0.15 0.12
[7,] 216.6176 0.16
2011 Nov 10
1
Removing outliers
Hi,
I want to remove the outliers of my database with the following program (an
observation is considered an outlier if it is bigger than second quartile +
1,5* distance interquartiles or less than second quartile - 1,5*distance
interquartiles):
for(i in 1:length(dados)){
q3=quantile(dados[i], probs=.75)
q3=quantile(dados[i], probs=.50)
q1=quantile(dados[i], probs=.25)
d=q3-q1
for(i2 in
2003 Mar 06
1
Problems with variable types.
Hi all,
I have problems in a dataframe variables types.
Look:
from a loop function:
for(...){
...
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,
Nsp=nsps,
N=length(amosfin$SP),
AmT="am",NAm=nam,
AMST=amst))
dados.fin <- rbind(dados.fin, c(L=j, A=j^2,
2008 Jan 02
1
Plot.svm error
Hi all,
Sorry to be bothering again with probably an easy error to fix, but I've been trying to solve the problem and haven't been able yet to do it. So I'm doing this:
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2011 Jul 06
3
Tables and merge
----- Original Message -----
From: "Silvano" <silvano at uel.br>
To: <r-help at r-project.org>
Sent: Thursday, June 30, 2011 9:07 AM
Subject: Tables and merge
> Hi,
>
> I have 21 files which is common variable CODE.
> Each file refers to a question.
>
> I would like to join the 21 files into one, to construct
> tables for each question by CODE.
>
2009 Jun 02
5
how to add value on the bar ploted by barplot()
how to add value on the bar ploted by barplot()?
and the axis label is too big, anyone know how to change their font , thanks
--
Xiaogang Yang
Sensorweb Research Laboratory
http://sensorweb.vancouver.wsu.edu/
Washington State University Vancouver
[[alternative HTML version deleted]]
2005 Aug 30
1
loglinear model selection
Hi R-masters!
I have a problem and need your help.
I have 9 discrete variables with 2 levels each.
In exploratory analisys I generate one matrix with chi-square for tables
with 2 ariables each with this script
setwd("F:/")
dados<-read.csv("log.csv")[,2:10]
dados.x<-matrix(NA,ncol=9,nrow=9)
for(i in 1:8){
for(j in (i+1):9){
tab<-table(dados[,i],dados[,j])
2009 Feb 03
1
color and fontfamily in lattice
Hi,
I am having some problems using bwplot(lattice) in my data. I want change some parameters:
1) Fontfamily to serif
2) The size of the font
3) Put it in a bold face
4) Change de color of the lines
How can I do that?! Now, I am using this to plot my boxplot.
dados <- data.frame(varsep=as.factor(rep(1:2,10)),i=runif(20))
2007 Dec 31
1
SVM error
Hi all,
I'm having this error, since I'm working with a data matrix I don't understand what's happening; I've tried several ways to solve this, even working with sparse matrix, but nothing seems to solve it, I've also tried svm (with a simple matrix 3*3 and still got the same error.
> dados<-read.table("b.txt",sep="",nrows=30000)
>
2010 Feb 13
4
Labels on a pyramide
I am using pyramid.plot() from the plotrix package.
I have something like this
############################################
xy.pop<-dados$masfr
xx.pop<-dados$femfr
#agelabels<-dados$femlab
xycol<-color.gradient(c(0,0,0.5,1),c(0,0,0.5,1),c(1,1,0.5,1),11)
xxcol<-color.gradient(c(1,1,0.5,1),c(0.5,0.5,0.5,1),c(0.5,0.5,0.5,1),11)
xylab<-dados$maslab
xxlab<-dados$femlab
2008 Jan 04
3
Plot error
Hi all,
I'm trying to plot an svm model and I'm the following error:
> plot(model, data= dados[,-1], formula=formula(dados[,2]~dados[,3]),svSymbol = 1, dataSymbol = 2, symbolPalette = rainbow(4),color.palette = terrain.colors)
Error in terms.default(x) : no terms component
Anyone knows how to solve this???
Best regards,
Pedro Marques
2014 Mar 19
3
Leyenda gráficos
Hola, ¿hay alguna forma de colocar la leyenda de un gráfico sin que se superponga con las barras de mi gráfico?
Os dejo mi ejemplo para que me entendáis:
##
dado_1<-sample(1:6,1200,replace=T)dado_2<-sample(1:6,1200,replace=T)dado_3<-sample(1:6,1200,replace=T)
dados<-matrix(c(table(dado_1),table(dado_2),table(dado_3)),6)
barplot(t(dados),beside=TRUE,ylab="Frecuencias
2012 Nov 21
1
dúvidas com matriz de correlação e covariancia
Bom dia eu chamo-me Ana, estou a tentar fazer matriz de correla??o e
covariancia para comparar 4 variaveis e saber quais s?o as mehores...
fiz o segundo codigo mas devo tar a fazer alguma confus?o para nao me
aparecer o output correcto:
cor(dados[,2:5],method=c("pearson"))
cor_with_p_test(dados[2:5])
ct <- cor.test(dados[,2:5])
ct$p
ct$v
#matriz de covariancias
cov(dados[,2:5],
2016 Jun 15
1
weird error rights in folders
Hello rowland,
follow the informations:
1) ./configure --prefix=/opt/samba --enable-selftest --enable-debug
2) samba-tool domain provision --domain=CMC --adminpass=Mudar2016
--dns-backend=BIND9_DLZ --server-role=dc --use-rfc2307 --realm=CMC.CORP
3) I created a script to start this as described in the manual Samba4
[global]
netbios name = SAMBA
realm = CMC.CORP
2012 Feb 21
3
HELP ERROR Weibull values must be > 0
GUYS,
I NEED HELP WITH ERROR:
library(MASS)
> dados<-read.table("mediaRGinverno.txt",header=FALSE)
> vento50<-fitdistr(dados[[1]],densfun="weibull")
Erro em fitdistr(dados[[1]], densfun = "weibull") :
Weibull values must be > 0
WHY RETURN THIS ERROR? WHAT CAN I DO?
BEST REGARDS
[[alternative HTML version deleted]]
2012 Aug 26
4
error type
Hi,
I am trying plot a grafic but generates an error:
Erro em plot.default(xlim, ylim, type = "n", ann = FALSE, axes = FALSE, : argumento formal "type" corresponde a múltiplos argumentos especificados
DATA:
44 40 39 38 0 7 7 1030 57 37 5146 40 41 4737 34 36 2636 28 33 3738 26 28 2742 38 36 3636 27 22 2853 43 33 40
plot(dados[1],type="o",pch=21,
2017 May 30
2
member domain idmap config ad/rid
>
> Who are logged into the win7 machine as, Administrator or a member of
> Domain Admins ?
As administrator.
I take it /mnt/dados is a mount from somewhere else, how is it mounted
> and where from ?
For now it is mounted on the folder /mnt/dados in the same HD of the
fileserver. Later I'll add another HD with more space.
root at fileserver:~# cd /mnt/dados/
root at
2011 Oct 17
2
Beginner's question about plotting variables in a time series object with the date on the x axis
Dear R helpers,
I am a beginner at R so please be gentle :)
I have already read manuals and FAQs, with no help.
I have a monthly time series data on public debt with 40 variables, it starts on January 1994 and ends on June 2011.
I am loading the data into R using read.csv and the data looks ok when I do edit(dados):
> dados<-read.csv("dadosR3.csv", header=T)
then I tried making
2017 May 30
2
member domain idmap config ad/rid
Rowland,
AD: 4.5.8
Fileserver: 4.6.3
root at fileserver:~# samba -Version
Version 4.6.3-Debian
root at fileserver:~# net rpc rights list privileges SeDiskOperatorPrivilege
-U "ADDC\administrator"
Enter ADDC\administrator's password:
SeDiskOperatorPrivilege:
ADDC\Domain Admins
BUILTIN\Administrators
chown root:Domain\ Admins /mnt/dados >>>> ok
chmod 0770