Displaying 3 results from an estimated 3 matches for "ssfa".
Did you mean:
ssa
2010 Jan 18
2
column selection for aggregate()
Hi everybody!
I'm working on R today so I have a lot of questions (you may have
noticed that it's the 3rd email today). I'm new on R, so please excuse
the "spam"!
I have a dataset "ssfa" with many rows and the column names are:
> names(ssfa)
[1] "SPECSHOR" "BONE" "TO_POS" "MEASUREM" "FACETTE" "SHEARFAC"
[7] "ENA_BA" "SEL_FACET" "SEL_MEAS" "Asfc" "...
2010 Jan 18
1
variable name substitution
...histogram, a boxplot and a
qq-plot (under Windows XP, R2.10 if it matters)
What I want to do: define the variables (x and y) to be used at the very
beginning, so that I don't have to change all occurrences in the script
when I want to plot a different variable.
The dataset is called "ssfa". TO_POS is a categorical variable
containing the tooth position for each sample. Asfc is a numerical
variable. In my dataset, I have more variables but it wouldn't change; I
want to plot one numeric vs one category. Do I need to supply some data?
I don't think it's really nece...
2010 Feb 04
5
export test results to csv
...n error.
The code is below.
The data are attached as .txt with tab as separator. I tried to get a
sample dataset, but for some reason it didn't work, so please excuse the
length of the file. I also attached a txt with the output (copy/paste)
in case that helps.
----
> library(WRS)
> ssfamed <- read.table(file=file.choose(), header=T, sep="\t")
> ssfa_Asfc <- fac2list(ssfa[,7], ssfa[3]) #store into list mode
> test <- pbmcp(ssfa_Asfc, alpha=0.05, nboot=2000, bhop=F) #it takes
about 5 seconds to run
> write.csv(test, file="pbmcp.csv", appen...