Displaying 6 results from an estimated 6 matches for "tio2".
Did you mean:
tio
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
...;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 6
Na2O 5 4 5
CuO 3 3 5
Cl 1 3 4"
, header=TRUE, row.names="Component")
likert(t(hellishe...
2023 May 03
1
[External] Error in percentage stacked barplot
...ot;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? ? ? ? ? ? ? ? 6
Na2O? ? ? ? ? ? ? ? ? ? 5? ? ? ? ? ? ? ? ? 4? ? ? ? ? ? ? ? 5
CuO? ? ? ? ? ? ? ? ? ? ? 3? ? ? ? 3? ? ? ? ? ? ? ? 5
Cl? ? ? ? ? ? ? ? ? ? ? ? 1? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? 4"
, header=TRUE, row.names="Component")
likert(t(hel...
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
2023 May 02
1
Error in percentage stacked barplot
...owing 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? ? ? ? ? ? ? ? 6? ? ??Na2O????????????????? ? 5????????????????? 4????????????? ? 5CuO? ? ? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? 5? ? ? ? ?Cl?????????????????????????1????????????????? 3? ? ? ? ? ? ? ? 4
When I tried the following functionbarp...
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