Displaying 9 results from an estimated 9 matches for "al2o3".
2009 Aug 19
5
scale or not to scale that is the question - prcomp
...7.34, 7.34, 6.23, 7.34, 6.23, 6.23,
6.23), sio2 = c(0.023, 0.011, 0.88, 0.028, 0.031, 0.029, 0.863,
0.898, 0.95, 0.913, 0.933, 0.888, 0.922, 0.882, 0.923, 1, 1),
p2o5 = c(0.78, 0.784, 1.834, 1.906, 1.915, 0.806, 1.863,
0.775, 0.817, 0.742, 0.783, 0.759, 0.787, 0.758, 0.783, 3,
2), al2o3 = c(5.812, 5.819, 3.938, 5.621, 3.928, 3.901, 5.621,
5.828, 4.038, 5.657, 3.993, 5.735, 4.002, 5.728, 4.042, 6,
5), dus = structure(c(2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L,
1L, 1L, 1L, 1L, 2L, 2L, 1L, 1L), .Label = c("ano", "ne"), class =
"factor")), .Name...
2013 Feb 20
0
Bayesian mixing model
...m using the BCE {BCE} function to run a Bayesian sediment mixing model. The aim is to find the optimum % contribution from each of the 4 source areas that can yield the target geochemistry.
I have geochemistry for 4 source areas called Rat:
Rat<-read.table(text="CaO MgO Na2O Al2O3
Topsoils 2.511250 0.7445500 0.7085500 14.10375
ChannelBanks 55.021500 0.8665000 0.3045000 10.19800
FieldDrains 17.958221 0.9415394 0.2979383 14.68013
RoadRunoff 9.177297 1.9034304 0.4618634 22.22206", header=TRUE)
...and geochemistry for 1 target sediment called Dat:
Dat<-read.ta...
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 6
Na2O 5 4 5
CuO 3 3 5
Cl 1 3 4"
, head...
2023 May 03
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? ? ? ? ? ? ? ? 6
Na2O? ? ? ? ? ? ? ? ? ? 5? ? ? ? ? ? ? ? ? 4? ? ? ? ? ? ? ? 5
CuO? ? ? ? ? ? ? ? ? ? ? 3? ? ? ? 3? ? ? ? ? ? ? ? 5
Cl? ? ? ? ? ? ? ? ? ? ? ? 1? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? 4"
,...
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? ? ? ? ? ? ? ? 6? ? ??Na2O????????????????? ? 5????????????????? 4????????????? ? 5CuO? ? ? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? ? 3? ? ? ? ? ? ? ? 5? ? ? ? ?Cl?????????????????????????1?????????????????...
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 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