Displaying 1 result from an estimated 1 matches for "kategoriale".
2010 Sep 16
1
Help for an absolutely r-noob
...ad data ###
dat <- read.table("Komfort_Tatsaechliche_ID_Versuchsreihe_1.txt",
header=TRUE,
sep="\t", dec=",") # tab-getrennte Textdatei
names(dat) <- c("id", "resp", "amp")
dat$id <- factor(dat$id) # kategoriale Variablen als Faktor
definieren
dat$amp <- as.numeric(gsub("^([0-9]),([0-9]+) Nm$", "\\1.\\2", dat$amp))
##### (2) Explorative plots #####
library(lattice)
xyplot(resp ~ amp|id, dat, type=c("g","p","smooth"))
##### (3) MIXED-EFFECTS REGRESSION...