similar to: issue with levels of a factor after subsetting

Displaying 20 results from an estimated 100 matches similar to: "issue with levels of a factor after subsetting"

2009 Oct 26
1
xyplot lines goes forth and backwards
Hi, This is my first post in this page althougt i've been using R for several months (by the way english is not my native language so sorry about the grammar). I have a problem with a xyplot on lattice, it's supossed to print different lines for each river (Rio) conditioned by a chemical parameter (Var) and the state at which it's located (Dpto) against the year the sample were taken
2009 Nov 04
1
Output
Hi all, I fitted a model say with five xc<-lm( y~x1,x2,x3,x4,x5) I want to plot the residuals for each factor and I used this, plot(xc,residuals=TRUE,se=TRUE,pch=".") I only get the plot of the last factor (i.e., x5). I think it is overwriting. How can I send the five plots into a file? I usually use cut and paste and this may not be the right thing to do. Thanks in
2009 Nov 30
1
multiple column argument in formula (MASS:lda)
Dear R Help team, I'm having some problems running a discriminant analysis (MASS:lda) over my data, i have a grouping variable coming from a previous cluster analysis and several discriminators (78 actually). I'm trying to run lda using column index as independent variable in the formula like it's done in the help page for ?formula:
2009 Oct 26
3
Sandard deviation calculation
Dear all I am trying to learn R I was trying to calculate standard deviation here are the commands and outputs in R > sd(Ht_cm[type=='SD'])[1] 3.283605> sd(Ht_cm[from_treeline=='above'])[1] 16.83289> sd(Ht_cm[type=='SD'][from_treeline=='above'])[1] NA> the problem is that, i could not understand why the third command could not give any result.
2015 Nov 12
4
About IPv6 Link-Local Address(CentOS5)
Hello Because I did not send , and then retransmitted. I am using the CentOS5.7. In a state where the link down, I did a ping to the IPv4 and IPv6. IPv4 succeeds in ping. but, IPv6 is ping fails. Once confirmed by ifconfig, it did not have a Link-Local Address. At link down, Is the Link-Local Address not set? Leave the link down, Is there a way to avoid this? # ethtool eth1 Settings for eth1: ?
2009 Jul 14
10
Problems to run a Game (Mu Magdalena)
Hi everybody I'm new in the forum and i need some help well i just started to used ubuntu 9.04 and wine 1.x in order to run win only-supported programs, but when i try to run a game call Mu Magdalena (Per?) it show me the follow message: nelson at yaltasoplin-desktop:~$ wine C:\\Archivos\ de\ programa\\Mu\ Magdalena\\Main fixme:reg:GetNativeSystemInfo (0x846cd9c) using GetSystemInfo()
2010 Jun 01
3
Using R with Web services
Hello list helpers, I'm working at a research institute and I've been asked to develop a way of using R as a scripting and analysis tool which takes information from users via web forms, perform a query to an Oracle Database running on a Linux server and finally return formatted reports to the user via web. I'm sort of a newbie in web forms and web services so i've been reading
2009 May 20
1
combining xYplot with map
I'm using xYplot to create a bubble plot of values that I'd like to visualize on top of a filled-in map of the coast, but I'm too much of a lattice (which I understand xYplot is built on) and mapping newbie to figure out how to begin to make this happen. Below is some sample code that doesn't work but illustrates my goal. Any pointers anyone has would be much appreciated.
2012 Oct 08
2
PKPD modelling in R
Dear all, I have two questions: 1. Does anyone know if nlmeODE package will work once odesolve is discontinued? If i understand well nlmeODE depends on odesolve. 2. Can anyone suggest another package I could use to fit complex PKPD models (described using differential equations) to data? Thanks a lot! Magdalena
2006 Mar 23
3
Still problems with "step()" function
Hi R users: I don?t know if anybody have had the same problem with 'step()' funtion. If I type the commands ------------------------------------------------------------------------------- testData<-read.table("testData.dat",header=T) model1J<-glm(MCHNV~offset(Offset1),data=testData,family="poisson") step(model1J,direction="forward",
2006 Mar 22
1
error message with stats package fx cor R aqua v1.14
Hello, Sorry if this is somewhere in the archives but i couldn't find it. I am using the funtion cor() and inputting a large matrix with a column of 0, for which i get NA's for. I'm looking for a way to overcome that divide by 0 error btw but my real issue is this: I specify the method as pearson but the error messages always say kendall ex) > read.csv("ncatest.csv",
2016 Feb 24
0
Important info: Registering for 2016 EuroLLVM
Just a reminder that the 2016 European LLVM Developers’ Meeting less than a month away (March 17/18). Please be sure to register before we sell out! http://www.llvm.org/devmtg/2016-03/#registration <http://www.llvm.org/devmtg/2016-03/#registration> IMPORTANT: We have been hearing about problems with registering using US credit cards. Your credit card may think the transaction is fraud and
2012 Apr 12
1
How to automate creation of plots (create series of plots)
Hi All. I have problem with generating series of plots. In detail: I have file of data which I insert into dataframe: data<-read.table("file.txt", header=TRUE, sep=" ") Data in this file are prepared in such a way, that the header of each column has a value of one of examined parameter - something like that: X Y 01.0 01.1 01.2 01.5 01.6 02.0
2009 Jan 23
1
Reading nc files
Dear all, I have to open and read several netCDF (.nc) files. I installed the ncdf package and everything works fine. The problem is that I also have several netCDF files that are also ziped. These files are in the form,: nc_file.gz I tried different ways (within R) to unzip and read them, but they did not work. I'll appreciate any suggestion on how to do that. Thanks, Magdalena Lucini
2009 Jan 19
1
gz netCDF files
Hello, I am trying to access several netCDF files that are also zipped (via gzip I guess) (and stored in a directory that I only have reading permit) I tried to unzip them using gzfile, gzcon, etc, and then open them with open.ncdf (from ncdf package). Everything was unsuccesful. I had no problem using the ncdf package with "normal" netCDF files I would really appreciate any
2015 Nov 13
2
About IPv6 Link-Local Address(CentOS5)
> Try > > ping6 -I eth1 2000:8000:12:6:192:168:11:8 Thanks for the response. I tried. However, It did not resolve.... # ping6 -I eth1 2000:8000:12:6:192:168:11:8 PING 2000:8000:12:6:192:168:11:8(2000:8000:12:6:192:168:11:8) from fe80::a00:27ff:fe03:5b8a eth1: 56 data bytes On 2015/11/13 2:22, Paul Heinlein wrote: > On Thu, 12 Nov 2015, ???? wrote: > >> Hello >>
2012 Oct 07
1
Problem with national characters in main, xlab, ylab with pdf{grDevices} / postscript {grDevices}
Hello. I'm trying to make some graphics with nationalized labels (pdf for use in LaTeX document). On console (displayed on screen) using all looks ok: ----------------------------------------\/ data<-rnorm(100) hist(data,main='Rozk?ad g?sto?ci punkt?w', xlab='Warto?? na osi y', ylab='Cz?sto?? wyst?powania') -------------------------------------------/\ But
2006 Oct 22
1
Multilevel model ("lme") question
Dear list, I'm trying to fit a multilevel (mixed-effects) model using the lme function (package nlme) in R 2.4.0. As a mixed-effects newbie I'm neither sure about the modeling nor the correct R syntax. My data is structured as follows: For each subject, a quantity Y is measured at a number (>= 2) of time points. Moreover, at time point 0 ("baseline"), a quantity X is
2016 Feb 29
2
"File is in use" error when I have one folder with content selected from one client and try to delete from other and both are OSX clients
Hi all, I have a debian jessie server with sernet samba 4.2.8 installed. The problem is when I try to delete a folder with content at the same time that a client is selecting the same folder. In the first client give the error because of the file is in use(the folder) but deletes all the content and in a second time with the folder empty I can delete the folder fine. I have other problem but I
2013 Sep 17
2
eigenvalores y eigenvectores
Buenos Días, en esta ocasión les escribo para tratar de solucionar una duda que puede resultar muy sencilla, pero de la que no encuentro solucion. necesito hallar la descomposición en valores singulares; tengo la siguiente matriz de datos: DPTO PERSONAS HACINA INTERNET COMPU TV_SUCRIPC Antioquia 4962749,1 1,61 0,39 0,47 0,77 Atlántico 2191360,7 1,97 0,3 0,31 0,42 Bogotá D.C. 7499198 1,67