Mein erster Test

Code aus dem R Buch

Seite5


In [1]:
x = 2
x


2

In [9]:
x = c(1,2,3)
x
x= 1:3
x


  1. 1
  2. 2
  3. 3
  1. 1
  2. 2
  3. 3

In [6]:
install.packages("metafor",repos = "http://cran.us.r-project.org")


Installing package into 'C:/Users/tschi/Documents/R/win-library/3.3'
(as 'lib' is unspecified)
package 'metafor' successfully unpacked and MD5 sums checked

The downloaded binary packages are in
	C:\Users\tschi\AppData\Local\Temp\RtmpWuoZOE\downloaded_packages

In [8]:
library(meta)
m <- metacont(Ne, Me, Se, Nc, Mc, Sc, studlab=paste(author,year), data=data1)


Error in metacont(Ne, Me, Se, Nc, Mc, Sc, studlab = paste(author, year), : Objekt 'data1' nicht gefunden
Traceback:

1. metacont(Ne, Me, Se, Nc, Mc, Sc, studlab = paste(author, year), 
 .     data = data1)