Displaying 20 results from an estimated 300 matches similar to: "scale or not to scale that is the question - prcomp"
2010 Feb 24
2
Calling Data frame objects with spaces in their names
Hello I have the following data frame which I read from an EXCEL file, and
when i try to call one of its columns with a space in their names I am not
being able to. For example if I do EURODOLLAR$ED1.Comdty Date I obtain the
following error:
Error: inesperado sÃmbolo en "EURODOLLAR$ED1.Comdty Date"
I have also tried using . or _ instead of the space and have obtained no
succes. How do I
2007 Feb 09
1
subset function
Hello R-Users,
I have the following problem with the subset function:
See the following simple linear model. Here everything works fine:
>germany<-lm(RENT~AGE1, in.mi01)
However, if a use the same regression equation and only specify a subset, I
get an error message:
> berlin<-lm(RENT~AGE1, in.mi01, subset=C_X01=="Berlin")
Error in lm.fit(x, y, offset
2007 Feb 07
6
setting a number of values to NA over a data.frame.
This is probably a simple problem but I don't see a
solution.
I have a data.frame with a number of columns where I
would like 0 <- NA
thus I have df1[,144:157] <- NA if df1[, 144: 157] ==0
and df1[, 190:198] <- NA if df1[, 190:198] ==0
but I cannot figure out a way do this.
cata <- c( 1,1,6,1,1,NA)
catb <- c( 1,2,3,4,5,6)
doga <- c(3,5,3,6,4, 0)
dogb <- c(2,4,6,8,10,
2023 May 02
1
[External] Error in percentage stacked barplot
## you may need to install HH
install.packagess("HH")
library(HH)
hellisheidi <- read.table(text="
Component Sample1 Sample2 Sample3
CaO 45 52 48
SiO2 25 22 18
Al2O3 15 11 14
TiO2 6 5
2023 May 03
1
[External] Error in percentage stacked barplot
Dear Richard,?
Thank you very much for your reply. I went through the code and it worked. I was also able to change the colours.?
I was wondering if I can change the legend position; instead of being in the bottom to be on the left side.?
I tried the following but without any success
strip = FALSE
strip.right = TRUE
likert(t(hellisheidi), ReferenceZero=.5, xlab="X-lab",
2023 May 02
1
Error in percentage stacked barplot
Dear all,?
I am trying to plot the following table in stacked barplot in percentages and also horizontal.
Component? ? ? Sample 1? ? ? Sample 2? ? ? Sample 3CaO????????????????? ? 45????????????? ? 52????????????? ? 48SiO2????????????????? ?25????????????? ? 22????????????? ? 18Al2O3?????????????????15????????????? ? 11????????????? ? 14TiO2? ? ? ? ? ? ? ? ? ? ?6? ? ? ? ? ? ? ? ? 5? ? ? ? ? ? ? ?
2007 Jan 25
4
rbind-ing with empty data frame produces error
Hi all,
I'm having some trouble with rbind - this may be a bug or it may be my
misunderstanding. If I do
fileName <- paste(tempdir(),"test.txt",sep="/")
file.create(fileName)
x <- read.table(fileName, col.names=c("one","two","three"))
I get a data frame with no rows, as documented. If I then try to rbind
this with another data frame
2005 Apr 25
4
panel ordering in nlme and augPred plots
Dear all
I am trying nlme together with Pinheiro/Bates book. I constructed
grouped data object with suitable plotting layout (according to
some common factor, panels from bottom to top are in increasing
order).
When I do nlme(... some stuff...) I get fitted object which I can plot
with
plot(augPred(fit.nlme6, level=0:1))
but it results in completely different ordering. Is there any way
2004 Nov 12
1
Winbind, still unreliable
Hi there,
I recently posted about problems with winbind resolving names from ADS.
We have an ADS Domain Controller serving the domain MED-DUS and an NT 4
PDC serving the domain MEDOIL.
We want to use a samba server as memberserver in the MED-DUS domain. I
joined the samba server to the MED-DUS domain.
The domain join worked ok. All users (including MEDOIL) are visible.
Next i started winbind.
2011 Apr 08
4
Simulation from discrete uniform
Dear all,
I am trying to simulate from discrete uniform distribution. But I could not
find any in-built code in R. Could anyone help me please?
Thanks in advance for the time and help.
Cassie
[[alternative HTML version deleted]]
2007 Dec 18
1
SIP Anonymous auth
Hi all,
i am new with VOIP and use asterisk with Trixbox ;)
When i have a look in my logs i see the following problem:
chan_sip.c: Failed to authenticate user "Anonymous" <sip:Anonymous at dus.net>
I never setup a user "Anonymous" which is communicating with dus.net ;)
Can anyone explain why it will authentificate with the User
Anonymous?
My SIP/Trunk conf looks as
2012 Sep 16
1
Sub- or superscript in factorial variable - possible?
Hello R-users,
I would like to use subscript in chemical formulas for the different
treatments in a boxplot.
Fot title, xlab and ylab sub- and superscript is no problem, but for the
different treatments of the following example I cannot get subscript.
Example:
weight <- c(6,5,7,2,7,3,9,4,2,7,8,9,2,3,4,5)
treatments <- as.factor(rep(c('Control',
2002 Oct 30
1
Crontab ??
**********************************************************************
Este email assim como os ficheiros que possa ter em anexo s?o confidenciais
e para uso exclusivo da pessoa ou organiza??o para o qual foi enviado.
Se recebeu este email por engano por favor notifique Redes@bnc.pt
Esta nota confirma que esta mensagem foi verificada pelo MIMEsweeper
n?o tendo sido encontrados virus.
2006 Oct 03
2
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
Hi,
Op 3-okt-06, om 20:48 heeft Chris Lattner het volgende geschreven:
> You'd have to change it to something like:
>
> void foo(int X, ...) {
> P = va_start();
> bar(X, P);
> }
>
> void bar(int X, valist P) {
> use(P);
> }
Can the other va_...-intrinsics be used in bar as were the "P =
va_start" in bar? The va_start probably is unnecessary
2001 Aug 14
2
RODBC connection - mixed data types
Dear R users
I use R (1.3.0) Windows version usually with connection to Excel
sheets via RODBC Version: 0.8-2. Everything is OK until I use mixed
data types (numeric and character) in one column.
In that case I will get a particular column of data frame with NA's.
Example
vzorek lpas apas
NA 51.240 20.26
NA 51.340 20.42
NA 49.770 22.05
RB 12 49.840 19.30
RB 12 49.880
2009 Feb 03
3
non linear regression with nls
Hello,
I'm a beginner with R and it's the first time I'm using the R-help list... I hope I'm in the right place, if not:
Sorry!!
I need to do non linear regressions on a data set which columns are:
"river.name" "Portata" "PTG.P" "PO4.P" "NT.N" "NH4.N" "NO3.N" "BOD5" "SiO2"
2002 Aug 15
4
tinc-1.0pre7-i386-1.tgz
Beste tinc-developer,
Ik moet van mijn baas een aantal VPN's aanleggen en ben nu thuis bezig om te
testen. Ik heb 2 computers in een thuisnetwerkje (totaal 6 computers)
geinstalleerd met SuSe 7.3, daar de klanten dit ook hebben. De computers zijn
verbonden met een switch.
Dit is de inhoud van mijn bestanden:
Op computer 1 genaamd suse met ip 192.168.0.99 netmask 255.255.255.0
2006 Oct 03
0
[LLVMdev] Extracting all BasicBlocks of a Function into new Function
On Mon, 2 Oct 2006, Bram Adams wrote:
> So, I wonder what problems may show up in this algorithm (steps 4, 5
> and 6 seem to be crucial). The vararg-case could be a problem in step
> 5, although the va_start intrinsic isn't tied to the surrounding
> Function at first sight.
There is an implicit dependency between vastart and the function it
lives in. Specifically, if you have:
2010 Feb 26
1
Error in Aggregate function
Hi,
When I run the Aggregate function in repeat loop, I got the following error:
Error in sort.list(unique.default(x), na.last = TRUE) :
'x' must be atomic for 'sort.list'
Have you called 'sort' on a list?
How to solve this error. Anyone can help me. Urgent.
Thanks.
Meenakshi.
--
View this message in context:
2003 Jul 03
1
SCSI backup error
Hi,
Can someone please help me with this? I have just upgraded from 4.7 to 4.8-STABLE and
this is what I am getting when I try a tape backup. Please CC as I am not in the list. It was
working well before the upgrade (dump -0ua -f - / | gzip -c -9 | dd of=/dev/nsa0).
Thank you,
Lefteris Tsintjelis
Jul 3 22:55:18 ene /kernel: