blob_id
stringlengths
40
40
directory_id
stringlengths
40
40
path
stringlengths
2
327
content_id
stringlengths
40
40
detected_licenses
listlengths
0
91
license_type
stringclasses
2 values
repo_name
stringlengths
5
134
snapshot_id
stringlengths
40
40
revision_id
stringlengths
40
40
branch_name
stringclasses
46 values
visit_date
timestamp[us]date
2016-08-02 22:44:29
2023-09-06 08:39:28
revision_date
timestamp[us]date
1977-08-08 00:00:00
2023-09-05 12:13:49
committer_date
timestamp[us]date
1977-08-08 00:00:00
2023-09-05 12:13:49
github_id
int64
19.4k
671M
⌀
star_events_count
int64
0
40k
fork_events_count
int64
0
32.4k
gha_license_id
stringclasses
14 values
gha_event_created_at
timestamp[us]date
2012-06-21 16:39:19
2023-09-14 21:52:42
⌀
gha_created_at
timestamp[us]date
2008-05-25 01:21:32
2023-06-28 13:19:12
⌀
gha_language
stringclasses
60 values
src_encoding
stringclasses
24 values
language
stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
7
9.18M
extension
stringclasses
20 values
filename
stringlengths
1
141
content
stringlengths
7
9.18M
81e2e40551ad35c7736d08912cbc8295098282bb
229e9aba1aeab0e0d9aa6c5e391ab502bd94e74a
/R/datadocumentation.R
e3448b722ad395af95d58ee2fd85d7cacc2661b9
[]
no_license
l1994z1116q3/qmj
ecb855e7dc45754076b0380b7230466e2da95c39
9312d91aeb380771626f779ec0dd91b7185d477b
refs/heads/master
2021-01-17T20:13:55.030418
2015-01-21T05:18:19
2015-01-21T05:18:19
null
0
0
null
null
null
null
UTF-8
R
false
false
1,714
r
datadocumentation.R
#' Balancesheets of all companies #' #' A dataset containing all balancesheets, if available, #' for all companies in the companies.RData file. Among other things, #' stores: #' \itemize{ #' \item Cash & Equivalents. #' \item Short Term Investments. #' \item Total Inventory. #' \item Prepaid Expenses. #'...
12b5a9f1dbc3aaad0112d34278418f21a6237b16
1501d8cf2be17d8df0a981cbf50819e12a45f137
/FinalExam/RScript_Final_6.R
9186031d73dcd21b15c00d956ce03d639450adc8
[]
no_license
snandi/Stat641_Fall2015
b93bdfbe2916f514eaf3672fbcfbd24fccbf809f
2efc75f457357c865b04dc1fe618c48702079e73
refs/heads/master
2021-01-21T21:55:30.539662
2016-03-30T20:05:22
2016-03-30T20:05:22
42,122,464
0
1
null
null
null
null
UTF-8
R
false
false
3,784
r
RScript_Final_6.R
rm(list = ls(all.names = TRUE)) rm(list = objects(all.names = TRUE)) #dev.off() ######################################################################## ## This script is Prob 5, Final Exam, Stat 641, Fall 2015 ######################################################################## library(xtable) library(survival) ...
7899bb27a5a978c8d94b847bc70ba918c5195ddd
5d4a3cd2b852da7134631c2540b4f500bb1baa13
/electricity/electricity.R
ee10ea6dfc18625d566b256b9701dcae22af270f
[]
no_license
NTomasetti/UVB
23b46b1f659ef54f7b5925ce5f9822ec032b79bf
0bcfaa41f2b2468aa601ae2df214afb9100c570b
refs/heads/master
2020-03-09T16:13:49.763912
2018-10-05T01:54:09
2018-10-05T01:54:09
128,879,286
0
0
null
null
null
null
UTF-8
R
false
false
16,276
r
electricity.R
library(tidyverse) library(lubridate) library(Rcpp) library(RcppArmadillo) library(RcppEigen) library(rstan) source('RFuns.R') source('electricity/elecAux.R') sourceCpp('electricity/electricityT.cpp') N <- 10 y <- readRDS('electricity/elecY.RDS')[,1:N] y <- log(y + 0.01) x <- readRDS('electricity/elecX.RDS')[1:nrow(y)...
9a6a521fd5b6e14cfdf1bfb6acf9bc13a2d3a1d5
9e7c75c97ab27056531f68ec0990e448d1740eea
/R/is.leapyear.R
492dd622e04ee171636b0600038e2471aee5d780
[]
no_license
AkselA/R-ymse
e3a235eca7b6b8368c6775af33295254d0ecb093
1d66631cc7e0cd36b38abcaee5d8111573723588
refs/heads/master
2020-03-28T12:42:24.854132
2020-03-19T11:25:13
2020-03-19T11:25:13
148,326,253
0
0
null
null
null
null
UTF-8
R
false
false
552
r
is.leapyear.R
is.leapyear <- function(x) { UseMethod("is.leapyear") } is.leapyear.default <- function(x) { (x %% 4 == 0) & ((x %% 400 == 0) | (x %% 100 != 0)) } is.leapyear.Date <- function(x) { is.leapyear.default(as.POSIXlt(x)$year + 1900) } is.leapyear.POSIXct <- function(x) { is.leapyear.default(as.POSIXlt(x)$year + 1900...
94d41704b58785f0941405b64e55520dd2d95931
ccd6d2d69e7c1e9680b954b96e96c3bb52c865ec
/R/phi.R
dd9531cb216cec94d34895659bdd972dfa853faf
[]
no_license
jmgirard/sjstats
3578aa71921d94f9173b93ca108279e353f2a965
d951c125e8d35cc2ff339472a47b1e56aeb72b9a
refs/heads/master
2020-05-24T04:39:15.173761
2019-04-29T14:17:09
2019-04-29T14:17:09
187,097,228
1
0
null
2019-05-16T20:30:57
2019-05-16T20:30:56
null
UTF-8
R
false
false
433
r
phi.R
#' @rdname xtab_statistics #' @export phi <- function(tab) { # convert to flat table if (!inherits(tab, "ftable")) tab <- stats::ftable(tab) tb <- summary(MASS::loglm(~1 + 2, tab))$tests sqrt(tb[2, 1] / sum(tab)) } #' @rdname xtab_statistics #' @export cramer <- function(tab) { # convert to f...
de748e8bef505e69978043764c1f42adf679cdb3
d05c1cf07cb9cd4e946b2e6fc1e3c16a49ca3589
/scripts/Class-22.R
6fcfed9f8e343ac07c544868b980683c515134d2
[]
no_license
mcolvin/WFA8433-Natural-Resource-Decision-Making
c26312bcfa27529114f41e39817fd3bb8f5c35a9
ee9b7b6516261c005a0d78cebac9900d748be94d
refs/heads/master
2021-01-11T03:42:49.128837
2019-05-06T15:38:43
2019-05-06T15:38:43
71,399,621
0
2
null
null
null
null
UTF-8
R
false
false
11,899
r
Class-22.R
## ----unnamed-chunk-1---- ## deck<- expand.grid( suit = c("Diamond", "Club", "Heart", "Spade"), card = c("Ace", "Deuce", "Three", "Four","Five", "Six", "Seven", "Eight", "Nine", "Ten", "Jack", "Queen", "King")) deck$id<-1:nrow(deck) # for sampling later ncards<-nrow(deck) prX<- nrow...
c391a4353fc056d2276fef138a4ef33012a04b57
9ef6d9e20c665f66a0338677d30c68d8822b38a2
/R/pre.R
fde0beacc03fda77b46717f108157f6007cb191b
[]
no_license
RishiSadhir/pre
fcb8e16771e836dc67471ea40e309c839df389dd
c61646c32f0cd5cbae330711259f464a2a5e44b0
refs/heads/master
2021-01-19T11:17:58.944328
2017-04-01T11:41:37
2017-04-01T11:41:37
null
0
0
null
null
null
null
UTF-8
R
false
false
73,316
r
pre.R
utils::globalVariables("%dopar%") #' Derive a prediction rule ensemble #' #' \code{pre} derives a sparse ensemble of rules and/or linear functions for #' prediction of a continuous or binary outcome. #' #' @param formula a symbolic description of the model to be fit of the form #' \code{y ~ x1 + x2 + ...+ xn}. If t...
0214daf6bda20351c3795c54013c057851e09a14
04efe01489384e0babe71e1a0548e9d589c32166
/Heping/project1-v2.R
9b02829eb94b06ed1ecf189bab84745606ab1f4f
[]
no_license
hpzheng/sys6021_codes
5749645527373bd6c86b05f1bddfdcb791f04cc3
13f87e0bec8e5f198f8cdee157b65d6e61d2d753
refs/heads/master
2021-01-10T10:07:40.921116
2015-10-14T17:59:38
2015-10-14T17:59:38
44,264,256
0
0
null
null
null
null
UTF-8
R
false
false
4,135
r
project1-v2.R
xdmgnd <- xdmgnd[-c(3226,3588),] for (i in c('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P')) { assign(paste("Method",i,sep=""), rep(0, nrow(xdmgnd))) eval(parse(text=paste("Method",i,"[which(grepl('",i,"', xdmgnd$METHOD) == TRUE)] <- 1",sep=""))) } xdmgnd.lm10<-lm(ACCDMG~MethodA+Meth...
3d290817fe006c8efc4399f41d83806fef080003
7c1f200930e5051c3f1dd25ab405467e3d894d85
/R/anscombe_tidy.R
5e22c03943ac1237db90f8437fce2508eb784265
[ "MIT" ]
permissive
rstudio4edu/datarrraw
3ce9d3e242f5aa79234b586e8812079c0eff6522
b79c3b5c4b086fb71f3feaaa3334ec8b4808e89e
refs/heads/master
2020-06-08T03:02:16.322535
2019-06-21T21:16:50
2019-06-21T21:16:50
193,143,222
0
0
null
null
null
null
UTF-8
R
false
false
440
r
anscombe_tidy.R
#' Anscombe's quartet, tidied #' #' From the datasets package #' #' @return a [tibble][tibble::tibble-package] #' @format A data frame with 44 rows and 4 variables: #' \describe{ #' \item{observation}{which point} #' \item{set}{one, two, three, or four as roman numerals} #' \item{x}{the x's} #' \item{y}{the y's...
2c7f6f919a08fdad50d78d1dd9bf107c74cf29b5
8896fc3a3bc71872e0948690417a40b35363704a
/R/make_matrix.R
c4b4e3ff118db832e943ce2d1a615d184ef7117e
[]
no_license
1014violin/MetabFUN
ef1050e4bc53dd58f38a610e5f445ce236598f43
608f15d823877ad78526e4acaf21cf7d64598f79
refs/heads/master
2022-12-20T09:21:45.122121
2020-10-03T21:04:10
2020-10-03T21:04:10
null
0
0
null
null
null
null
UTF-8
R
false
false
2,273
r
make_matrix.R
#' This function produces a matrix for hierarchical clustering or PCA #' @author Daniel Braas #' @param MS_data The data frame to be used for the matrix. Can be relative amounts, fractional contribution or percent labeled. #' @param Type Which type of data is used. Right now this is not a used variable, but will become...
06d52d7b4c70136c65a2c9d18d937967ab3d52f7
e9dc3f38def8ce76d19b7554702bee93df3b74b1
/plot5.R
42ad93443a89176f76170a6619691fa7f9357f40
[]
no_license
emiliehwolf/EDA_Wk4Assignment
ddccd73c5a779cbacfb9628251e497f2f43e5a3c
c03fa61015552334aa08ce6983a8241fb63bc866
refs/heads/master
2021-01-22T05:32:59.821541
2017-06-02T02:27:09
2017-06-02T02:27:09
92,476,072
0
0
null
null
null
null
UTF-8
R
false
false
1,130
r
plot5.R
######################################################################## ## plot5.R ## Author: Emilie H. Wolf ## Date: Sunday, May 28, 2017 ## Description: This is one of the scripts for the final peer-review ## assignment (AKA Course Project 2) for Coursera's Exploratory Data ## Analysis class. ## ## Please ensure th...
967a13ac18f6d3b8b46b540d5778f6a127f94e56
21463e380ec7981b2946371ea3896f0f2cb0fa37
/Intro to DS/Lab Session 3 and 4/W2D1480191.R
5e16f8ba40e47bb68c5114312407ec8c0e97cb42
[]
no_license
kiaorahao/DataScienceCourse
336e8934b59ce229a45d3f5a29405cbb757f9a92
80c9aa9e3e2bf49a6b5383892f7cc27b19b2f38f
refs/heads/master
2021-01-02T22:46:40.991966
2017-11-20T05:48:15
2017-11-20T05:48:15
99,386,183
1
0
null
null
null
null
UTF-8
R
false
false
1,528
r
W2D1480191.R
# 1. Create a scatter plot for the two variables. library(readr) table1 <- read_csv("~/Documents/OneDrive/PGD/Data Science/Lab Session 3 and 4/Datasets/Data Set 5.csv") p = plot_ly(data = table1, type = 'scatter', mode = 'markers', x = ~Size, y = ~KW, name = 'Scatter') # 2. Calculate a linear regression model. fit =...
a915337a70593e0428b2922cd735be3e7d84a123
4dfae026a7c16a91e0eee543fbc1404009246db2
/R/alignment.R
ec2b46877449ec9019b6e229583f1c40348006bb
[ "MIT" ]
permissive
cole-trapnell-lab/monocle3
2d32dddb777ba384470f3842b0fd7d27b857cd5b
2b17745d949db1243e95e69e39d2b4b1aa716c09
refs/heads/master
2023-09-03T07:06:43.428228
2023-08-18T22:50:49
2023-08-18T22:50:49
167,440,342
280
110
NOASSERTION
2023-01-24T21:25:37
2019-01-24T21:26:18
R
UTF-8
R
false
false
9,128
r
alignment.R
#' Align cells from different groups within a cds #' #' @description Data sets that contain cells from different groups often #' benefit from alignment to subtract differences between them. Alignment #' can be used to remove batch effects, subtract the effects of treatments, #' or even potentially compare across specie...
20fafecfa95cc82d8a39c0258e8b097d31a4bc0b
d6302bdd07645e0da8ad4430a261d3ebe2149435
/man/visualizeSampleClustering.Rd
9d68a24f39542a0d44c9b21a621ebed8c8caa34e
[]
no_license
cran/RclusTool
3a8fec24edeaedee42ef0f255f32dfc4be107dfe
7ed428f6c896889a9b291a279e1e82f8f6d9cd3b
refs/heads/master
2022-09-04T15:47:33.547991
2022-08-29T07:40:08
2022-08-29T07:40:08
236,879,246
0
0
null
null
null
null
UTF-8
R
false
true
3,190
rd
visualizeSampleClustering.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sampleView.R \name{visualizeSampleClustering} \alias{visualizeSampleClustering} \title{Interactive figure with 2D scatter-plot} \usage{ visualizeSampleClustering( data.sample, label = NULL, clustering.name = "proposed clustering", clu...
9aabee23b06c5f6c832dc7fa22a4841ebd159002
e8f80d9a61d542bcbf3386aa91c8ccc037d048c2
/scripts/sero_estim_2.R
9c4b830cbc240dd06ce94ff170bbbfbdaa03435c
[]
no_license
kendavidn/yaounde_serocovpop_shared
f38b088e4ffc6d77d23c1a608b2296cbf6e63646
cd1b05599dd8ddc2fdd3e8c3091714087ca35b7e
refs/heads/master
2023-04-16T08:41:54.477126
2021-08-18T22:42:07
2021-08-18T22:42:07
356,265,195
1
0
null
null
null
null
UTF-8
R
false
false
7,811
r
sero_estim_2.R
source(here::here("scripts/infection_regn_2.R")) ## Sensitivity validation data from a panel of formerly hospitalized COVID-19 patients. ## <https://www.sciencedirect.com/science/article/pii/S1386653220303875#bib0060> positives <- 82 true_positives <- 75 sensit <- true_positives/positives sensit_conf_int <- binom.te...
ccbbad5a55d81d68f17f8a5f0885ed60b3eda72a
5c5e7c68421b9d37b855db680c06a9ebb0e64847
/R/extract_posterior_summaries.R
47af212bf793e68f8d3907a7bb48352cf3d2b37d
[ "BSD-3-Clause" ]
permissive
hrnasif/571-group8-paramedic
2ed03a0fa479f1288abe01c0718824ed3e79b116
4ee7879253fb18211714a15a8bb5d3131754f943
refs/heads/main
2023-03-25T02:59:50.605937
2021-03-22T02:06:37
2021-03-22T02:06:37
344,750,402
0
0
NOASSERTION
2021-03-22T02:06:38
2021-03-05T08:54:12
R
UTF-8
R
false
false
4,883
r
extract_posterior_summaries.R
#' Extract posterior summaries from a hierarchical model fit #' #' Return point estimates and credible intervals for the true concentration, and point estimates and prediction intervals for estimated qPCR obtained through a Stan fit. #' #' @param stan_mod the model summary object from Stan. #' @param stan_samps the lis...
61913f045a7430091136fa7aaf0c761790edb7e9
c3c9324afc6873b0de45a3cffcdfcdb884163288
/language/grammars/semr-ccg.r
4a81485c4e476f86fc79148dfcafd9be56f4dad1
[]
no_license
lefft/boosh
273c44b04f65f64937fc319d5f4542a0b79daf4a
e4c0665ab1db9c7b47ce4085bf070fed9d8f37ea
refs/heads/master
2020-03-28T00:13:11.754076
2018-01-04T21:16:31
2018-01-04T21:16:31
64,482,444
0
0
null
null
null
null
UTF-8
R
false
false
6,385
r
semr-ccg.r
# need a more concrete plan before starting to hack!!! # need a more concrete plan before starting to hack!!! # need a more concrete plan before starting to hack!!! ### NOTES TO SELF ON BUILDING A LIL GRAMMAR ----------------------------------- # an ex bigram trans prob 'grammar' could be like # a >> dog=.4,cat=...
f88f3530376dd6eb7a6515b4fe34a78857228424
266d82098b7c537a60ed5fc94bcf4a15c018b64e
/ARIMA.R
8b4c6ea97f6b9ebfc1d2d71636ce92637e45e6ee
[]
no_license
tefeasel/R-Programs
00d023c5f0d47bae34614fad3ea0f8d5e11991a6
1ee68f712f39e58c4684b22783b61901da96c807
refs/heads/master
2020-05-23T03:10:36.161841
2019-02-05T19:14:57
2019-02-05T19:14:57
53,174,576
0
0
null
null
null
null
UTF-8
R
false
false
560
r
ARIMA.R
library(lubridate) library(dplyr) library(haven) library(forecast) setwd("") data <- read_sas("") rvr <- read_sas("") rvr <- subset(rvr, JURIS == "APV" & REVCLS == 1) data <- data %>% filter(JURIS == "" & revcls == 1 & YEAR >= 2011) %>% select(YEAR, MONTH, bcdd65, bhdd55, KWH, CUST...
290ca0b89ec65705537d7a595cd84b3dfb4982e1
a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3
/output/sources/authors/3111/cgwtools/lsclass.R
7c8ff1e47217e54252802103528b23649a9b2cfa
[]
no_license
Irbis3/crantasticScrapper
6b6d7596344115343cfd934d3902b85fbfdd7295
7ec91721565ae7c9e2d0e098598ed86e29375567
refs/heads/master
2020-03-09T04:03:51.955742
2018-04-16T09:41:39
2018-04-16T09:41:39
128,578,890
5
0
null
null
null
null
UTF-8
R
false
false
231
r
lsclass.R
lsclass <- function(type='numeric'){ inlist<-ls(.GlobalEnv) classlist <- sapply(1:length(inlist),function(j) class(get(inlist[j])) ) tnams<-sapply(1:length(inlist), function(j)type %in% classlist[[j]] ) return(inlist[tnams]) }
470f7d70b1d7dac8a34b4a4b6daa43fc86723df8
0385bac47efa324cfa3b572593ab2cf25bd1c0fa
/R/dataframe_com.R
5d985bded255e706048004408943aea80ec20b7c
[]
no_license
Pralhad-Analyst/keymat
3917453c6f0765d28350970bcb9fb1317d464fc3
883284061c72e6140888b69218540a4e5868d79b
refs/heads/master
2022-12-19T09:33:28.887652
2020-09-24T06:12:51
2020-09-24T06:12:51
298,185,162
0
0
null
null
null
null
UTF-8
R
false
false
349
r
dataframe_com.R
#' Commodity Dataframe #' #' @param dataset It is the dataset of keymaterials #' @param commodityname the name of commodity such as Aluminum, etc. #' #' @return a price range of the commodity #' @export #' #' @examples dataframe_com <- function(dataset, commodityname) { dataset %>% filter(MaterialI...
c2587644bc7a7629724018e4598352f85a59a14e
6a8f18cf122fe9adc0d02924f81188cb7d04eb47
/data_smoother_workingfile.R
e6085543b3fcdc21369ca311de130a4ce10e56e9
[]
no_license
chryschang/data_smoother
fa636309fe8748b7a5bcbdd1fbbff930a3a6aebf
71e9fbc767177d0cb4ee429fe7a5de8077b5c02c
refs/heads/master
2021-06-16T13:42:22.555348
2017-04-03T20:25:04
2017-04-03T20:25:04
null
0
0
null
null
null
null
UTF-8
R
false
false
5,761
r
data_smoother_workingfile.R
#Plot Actot, Fluortot and Tair from SCOPE output. library(readr) #import and read csv files library(ggplot2) #generate plots library(dplyr) #data manipulation: filter, summarize, mutate library(zoo) #used for rolling average calculations fluxes <- read_csv("path/to/fluxes.csv") surftemp <- read_csv("path/to/s...
c2e1b05373444938353922928021288380e67914
37db197f8f46abfeeb14aca2ef04239f601c751c
/R/function_utils.R
ef79386c17d8a8f4dc06261712131fdaa895f0a7
[]
no_license
statech/ggutils
2c0d685e5a11d455b7a10db80b96b067613be0da
42fe986a36d2ede85d5868ee9974a3ad7c426a20
refs/heads/master
2021-09-15T20:30:23.779127
2018-06-10T15:57:40
2018-06-10T15:57:40
103,665,915
0
1
null
null
null
null
UTF-8
R
false
false
4,404
r
function_utils.R
#' @title Test If An Object Is Empty #' #' @description An empty object is any of the following: \code{NULL}, \code{NA} #' or vector of \code{NA}s, Object of length \code{0}, \code{''} if #' \code{empty_str_triggers} equals to \code{TRUE}, and \code{FALSE} if #' \code{false_triggers} equals to \code{TRUE} #' @param ...
fac8e0eee324d7a79bb8a03889b956b2296a962b
18a02f8fe73acbcea5745ff164882c7cb33a1404
/man/scluminex.Rd
60d45a59204a3e22287fb2b3dccf1316d095d074
[]
no_license
cran/drLumi
e0998f5b1560563caee8dd644ef518806fc55f9e
0cb23d50a71683760fbe6b989c096525fd4ba602
refs/heads/master
2016-08-11T15:20:52.013721
2015-09-24T01:27:27
2015-09-24T01:27:27
48,079,249
2
2
null
null
null
null
UTF-8
R
false
false
3,631
rd
scluminex.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/scluminex.R \name{scluminex} \alias{scluminex} \title{Estimates different models for each analyte.} \usage{ scluminex(plateid, standard, background, lfct, bkg = c("ignore","subtract", "include", "constraint"), neill.method = "...
fa1bc89ed3266ba1614f19284fd44ec56d5e1587
9484b93da2ee67dd0989745745b0ab3ce4567324
/code/old/test2.R
56a4bd1eb686c16b1ce3983dbb8ab3e77e8c1189
[ "MIT" ]
permissive
SchlossLab/Sze_FollowUps_Microbiome_2017
0d8d2abefbec52914d0fce24c3f977d266583913
8ef69b722a0610d27ef898fa9ea0ab1385f6807b
refs/heads/master
2021-01-18T23:39:58.668847
2017-09-16T20:37:43
2017-09-16T20:37:43
46,723,430
1
6
null
2017-09-16T20:37:44
2015-11-23T13:53:29
HTML
UTF-8
R
false
false
5,761
r
test2.R
## Run Previous Analysis align follow up data ## Code used and modified from Niel .Rmd file ## Marc Sze ###Load needed Libraries and functions source('code/functions.R') source('code/graphFunctions.R') loadLibs(c("pROC","randomForest","AUCRF", "Boruta", "dplyr", "tidyr", "ggplot2", "reshape2", "g...
837fbe768f01b8ecfad958c8b8e7bef463d343aa
a822aa856b5b017ec310328f1e8a60994bbd2969
/02-get-data/02d-read-excel.R
d526a916e8902fbbbb879ccdd562c1b85a097de7
[ "CC0-1.0" ]
permissive
Zanetik/r-minicourse
ac6404875137c560910e101b8eaedb81d51bbe42
ab7048b56e8be7be25d0a7c842ed7af9bbd91211
refs/heads/master
2020-12-17T11:42:10.958948
2017-11-14T15:35:00
2017-11-14T15:35:00
null
0
0
null
null
null
null
UTF-8
R
false
false
115
r
02d-read-excel.R
install.packages("xlsx") library(xlsx) dt<-read.xlsx(file = "../00-fitbit-demo/fitbit-data.xlsx",sheetIndex = 1)
c9ec79957a71f90fec641a6677f66e173b46a61f
90de591978470e10d14abe5daefeb0f23390089c
/man/compute_auc_components.Rd
d8468bc920dd245045cfd3b06ff770b9c7429b8f
[ "MIT" ]
permissive
tidymodels/survivalauc
01d95c8e88ce0c8ee59fc8ab8fcc4870c7b63ca1
936dbe5660f81feb365dd7d725eafba68eb3299a
refs/heads/main
2023-08-25T04:53:44.394185
2021-10-28T19:51:54
2021-10-28T19:51:54
392,399,325
1
0
null
null
null
null
UTF-8
R
false
true
1,744
rd
compute_auc_components.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/api.R \name{compute_auc_components} \alias{compute_auc_components} \title{Compute Survival AUC} \usage{ compute_auc_components(time, status, score, threshold) } \arguments{ \item{time}{Numeric, survival/censoring time.} \item{status}{Numeric...
157343593c1b0b17d4528b011e01931556245f66
7fedcc709364af02dc16baefabf0950e54bebb6c
/man/reorder_class_hetero.Rd
398c3f7461d87802fc54ecab1a278242b740c8f4
[]
no_license
robertyoung3/MSanalyzeNOM
34c406c453a3ac8eda7a1a8456161dd9159062f1
604299a54f55948d41ceb5f2769f2242935d2976
refs/heads/master
2023-05-07T06:42:44.693193
2021-06-01T17:55:37
2021-06-01T17:55:37
268,903,669
2
0
null
null
null
null
UTF-8
R
false
true
869
rd
reorder_class_hetero.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reorder_class_hetero.R \name{reorder_class_hetero} \alias{reorder_class_hetero} \title{reorder_class_hetero} \usage{ reorder_class_hetero(df) } \arguments{ \item{df}{a tibble containing a table of the assigned elements with a column name for ...
f99ecb4aa3c1f110f336938f1bccf9bee29e2414
02781e746b7a4688cb05c56b1b2e039cf7516e3f
/calculate_overall_performance.R
aadf4d42791bf15d7a7f8c9aa9fd57a515b1b970
[]
no_license
PaoloFrac/Daily-activities-classification
27f9526c742947c98c71c0cf634bb6d5b8c94d28
a698f0d8f81617c4b0378f555ddcca13f13cbe66
refs/heads/master
2020-03-18T23:39:24.639657
2018-08-13T13:01:22
2018-08-13T13:01:22
135,416,900
0
0
null
null
null
null
UTF-8
R
false
false
1,460
r
calculate_overall_performance.R
timeThreshold <- c(10:5)*60 distance_threshold <- 100 analysis_type <- c("time_based", "density_based", "combined") analysis_type <- c("combined") for(i in 1:length(analysis_type)){ overall_performance <- NULL for(j in 1:length(timeThreshold)){ overall_performance <- read.csv(file = paste("~/Data...
7de09f47703e19db8b1ff03e6f64f212c0936ad4
a6abcf45a3c6e9bca1fa205e5e5ccb3b09c38d58
/Labs/Lab04/Montano_Lab04.R
504326c7dbaa844fb2d898878985beef6b966ac4
[]
no_license
montanol/CompBioLabsAndHomework
779a7f67bbcd29b98b21f1d575382a579389549b
c9563b613a3d840eb654ca274eae6153cd0450c2
refs/heads/master
2020-04-18T15:01:35.746514
2019-05-03T20:36:01
2019-05-03T20:36:01
167,603,219
0
0
null
null
null
null
UTF-8
R
false
false
1,770
r
Montano_Lab04.R
# Lab04 # Part I # Step 1: write a for loop that prints the word "hi" ten times for (i in 1:10) { print("hi") } #Step 2: Create a for loop for Tim's total amount of money for the next 8 weeks # assign parameters initial <- 10 change <- 5 - (2 * 1.34) total <- rep(0,8) for (i in 1:8) { total[i] <- initial + change ...
b0e36707fd19a8c486e3a8c45a4b37ac7a7c004e
7eb11c644f03b7f112fcf2ce461718b96586d3d3
/ensemble/LRBaggingEnsemble.R
5df0e64b36226092b24a8db03d883cf1e148bf9f
[]
no_license
nutphi/Data-Mining-Project-6180
35a06b70a126cfd3d52cfd5f6634f476614c72e5
615ce216b0e142a31e12930a78c2d4c420900b62
refs/heads/master
2020-03-22T10:39:41.797328
2018-07-06T03:31:30
2018-07-06T03:31:30
139,918,069
0
0
null
null
null
null
UTF-8
R
false
false
2,475
r
LRBaggingEnsemble.R
library(caret)# used for createDataPartition library(readr) # Reading data file source("~/INSE6180_Project/base/LogisticRegression.R") source("~/INSE6180_Project/preprocessing/Preprocessing.R") dat <- read_csv("~/INSE6180_Project/data/training10k.csv") dat <-preprocessing(dat) # Split data into two sets - Training a...
1b92a8d0accf9b447fda625c94bf42c3cb9e3477
58715ffa0601d5453a820eb420a9662e94c8a41f
/plot3.R
cabde4543580ff15ff4cfa072267be377c98cee2
[]
no_license
kmaclare/ExData_Plotting1
f57c682483e7b304159a2f356778fe31c9121482
a70fd0ab2cc89c2139683ce68052fe3d215a2d5d
refs/heads/master
2021-01-23T23:19:37.096811
2015-03-05T04:22:53
2015-03-05T04:22:53
31,689,594
0
0
null
2015-03-05T01:34:58
2015-03-05T01:34:58
null
UTF-8
R
false
false
1,230
r
plot3.R
# read in data from text file df <- read.table("household_power_consumption.txt", sep=";", header=TRUE) # merge date/time data into new column "date2" to do math/comparisons df$date2 = strptime(paste(as.Date(df$Date, format = "%d/%m/%Y"), df$Time), format = "%Y-%m-%d %H:%M:%S") # subset data into new data frame df2 <- ...
cea4c9a43403d4901de28258d8aed2ee8bbe7ec6
c0c564a4c9e2aa4f847c36e24f89aa74c8706f29
/Exam/Exam-scriptC.R
87d084a0f06b158172be1384cae8f9e874724972
[]
no_license
MglMX/EDDA-VU
d81afc64eea68c2fe2003b969eec4d24cf4e6a5d
4a7b0d7adb45fa3d9353ac8c0d6788fcd0dd180b
refs/heads/master
2021-04-30T07:20:04.422697
2018-03-23T15:19:19
2018-03-23T15:19:19
121,392,893
4
1
null
null
null
null
UTF-8
R
false
false
2,611
r
Exam-scriptC.R
#EXAM!!!!!! gala_data = read.table("gala.txt", header = TRUE) gala_data attach(gala_data) gala_glm = glm(Species~Area+Elevation+Nearest+Scruz+Adjacent, family= poisson, data = gala_data) summary(gala_glm) # As we can see, all the p-values are smaller than 0.05 now # That means all the variables are signifi...
50919f4a5664ef8dea49902684a63e2ba6d1c276
d73240742f7e42aae849ad48c12a444dc34349f3
/tests/testthat/test-colour_values.R
da44b8a35ffc6a8c3f286d14a0788bacd0d15cc2
[]
no_license
techisdead/RcppViridis
d0b61cfeae16677bddbace6f832cae7c5d8aa09f
add5d90bc336afef212ade8b398e3809d361f59a
refs/heads/master
2020-03-28T15:40:59.229437
2018-09-13T00:25:50
2018-09-13T00:25:50
148,615,920
0
0
null
2018-09-13T09:37:14
2018-09-13T09:37:14
null
UTF-8
R
false
false
8,550
r
test-colour_values.R
context("colourvalues") test_that("numeric values mapped to colours", { expect_true(colour_values(1) == "#440154FF") expect_true(all(colour_values(1:2) == c("#440154FF","#FDE725FF"))) ## NAs expect_true(colour_values(NA) == "#808080FF") expect_true("#808080FF" %in% colour_values(c(1,2,NA,4))) expect_true(s...
1952618b14d4bc90dd11477af7df7223229e9135
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/APML0/man/APML0-package.Rd
95c1cf6c640ed5260554ff712b3c69ccfd86eb7d
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
false
3,177
rd
APML0-package.Rd
\name{APML0-package} \alias{APML0-package} \docType{package} \title{ Augmented and Penalized Minimization Method L0 } \description{ Fit linear, logistic and Cox models regularized with L0, lasso (L1), elastic-net (L1 and L2), or net (L1 and Laplacian) penalty, and their adaptive forms, such as adaptive lasso / e...
dba8275c63ad2be6289f5f4de2475e08d532735d
f8d29f169631789521641e0471ca7a7907985062
/enhancer_id/shared_code/vienna_tiles.r
eaeba9fe295459e46e8e324b71e7d96685c16302
[]
no_license
roshanvaid/koenecke_enhancer_papers_2016
abd122041c4a9a17139dc785bf757ea27fd25807
ce7d317639da16270bfb684e033551753bf3274d
refs/heads/master
2021-06-01T14:59:18.120055
2016-09-02T16:17:13
2016-09-02T16:17:13
null
0
0
null
null
null
null
UTF-8
R
false
false
1,707
r
vienna_tiles.r
library(GenomicRanges) library(dplyr) source("shared_code/stat_tests.r") vt.df <- readRDS(data_path("stark_enhancers_2014/tile_annotations.df.rds")) vt.gr <- makeGRangesFromDataFrame(vt.df, seqnames.field="chr", keep.extra=TRUE) all_tiles.df <- readRDS(data_path("stark_enhancers_2014/all_tiles.df.rds")) all_tiles.gr <...
7ee52f890ec7d0491ceaae94cec9896702776b5c
2a1e93d5ce1fd21bddbf5667f8da12315234fded
/xgbcv.R
c6ac1b9303e1482c4a8693226ad720ca8e2bce32
[]
no_license
tsuresh83/KaggleSpringLeafMarketingChallenge
7d3f7b3eaf383061ba6b1439f653f0476a6fda88
6aa2e439c19e705bf8e8afc7691b79b30dc15ad5
refs/heads/master
2021-01-13T10:05:11.409882
2017-08-17T21:23:38
2017-08-17T21:23:38
72,159,508
1
0
null
null
null
null
UTF-8
R
false
false
1,074
r
xgbcv.R
rm(list=ls()) library(doMC) library(xgboost) library(plyr) library(caret) library(pROC) library(dummy) library(h2o) library(h2oEnsemble) library(SuperLearner) library(cvAUC) set.seed(13) load("/media/3TB/kag/springleafmarketingresponse/result/XGBoostAllNumericAndFactorsEQThirdAndUnifCombined_2015-10-0904:52:59_suresh-l...
98bf6908ff50381e801ff06910ee9606036b0536
13c6a1a108ffd9edc98bbbd0287c503b484db2f3
/man/p13.16.Rd
a0f447365e4d1271d47dc313673e188e8ec06610
[]
no_license
cran/MPV
81f894f2ecca63c391037ea8dc6033dbc7b57d98
b757e5149d3b29c0a8f20cc4315acec17a27693b
refs/heads/master
2023-03-03T14:14:08.549709
2023-02-26T02:40:02
2023-02-26T02:40:02
17,680,727
0
0
null
null
null
null
UTF-8
R
false
false
608
rd
p13.16.Rd
\name{p13.16} \alias{p13.16} \title{Data Set for Problem 13-16} \usage{data(p13.16)} \description{ The \code{p13.16} data frame has 16 rows and 5 columns. } \format{ This data frame contains the following columns: \describe{ \item{X1}{a numeric vector} \item{X2}{a numeric vector} \item{X3}{a...
7668e966843c1f97b77e845de8c3af465851f7d0
2019eb6672eb249c6334aef416f43216273c4121
/tests/testthat/test-merge_vim.R
9c09124349636c0373e38aedbc966c147dbb9f1f
[ "MIT" ]
permissive
jjfeng/vimp
16584dcf86b9aba1bf53f8961dffa7c510eb6358
f57fce8061eedddee233a828b5d9fc8cafdbaa96
refs/heads/master
2022-12-12T11:01:00.959766
2020-09-15T00:12:08
2020-09-15T00:12:08
295,716,651
0
0
NOASSERTION
2020-09-15T12:11:59
2020-09-15T12:11:58
null
UTF-8
R
false
false
2,641
r
test-merge_vim.R
## load required functions and packages library("testthat") library("SuperLearner") library("vimp") library("xgboost") ## generate the data set.seed(4747) p <- 2 n <- 10000 x <- data.frame(replicate(p, stats::runif(n, -5, 5))) ## apply the function to the x's y <- (x[,1]/5)^2*(x[,1]+7)/5 + (x[,2]/3)^2 + rnorm(n, 0, 1)...
fc514a975a715d875e12befc04efc8007738d352
93fef68695ec291350e728b928c608f6cb9e09eb
/Archive/009_multivariate_survival_correlations_Figure1b.R
375e819817f5883607d41d1460211a714c19baf9
[]
no_license
HongyuanWu/lncRNAs_TCGA
ae4fa9202704545fc59a9dae19dabeeda2b7cb34
cbfe2356f8d65b20672dcc378fe7de309eec3dba
refs/heads/master
2023-07-28T00:11:29.152750
2021-09-09T13:33:01
2021-09-09T13:33:01
null
0
0
null
null
null
null
UTF-8
R
false
false
22,083
r
009_multivariate_survival_correlations_Figure1b.R
###--------------------------------------------------------------- ###009_multivariate_survival_correlations_Figure1b.R ###--------------------------------------------------------------- #what? #Systematic analysis of how prognostic lncRNAs are across cancer types #After finding prognostic lncRNAs --> look at how co-...
50e5cd7772c68ab3ef6b72d8f830153fa5f27c52
52845fa2ba9ad01cbf89590a006856e47db30b0e
/man/conv.Rd
7549d83005bb90dbe85bd47fd2a382d590ddeaf0
[]
no_license
USEPA/CoralBCG
fa775a0303850503a759066aeb6ca78a5df7efab
594b6c3168f889d1d20ee27bc5e4309b526e051e
refs/heads/master
2020-12-30T16:46:02.907594
2017-06-26T21:32:49
2017-06-26T21:32:49
91,025,999
0
1
null
null
null
null
UTF-8
R
false
true
497
rd
conv.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/conv.R \docType{data} \name{conv} \alias{conv} \title{Data frame of coral size conversion factors} \format{A data frame: \describe{ \item{\code{spec}}{chr string of species name} \item{\code{conv}}{numeric for conversion factor} }} \usage...
37da42edf97b7f35d4cd1678eb64ac8a3c6ef233
9bc5e4203c6fa2831222de6aa6eca118d009214e
/Functions/Complex network.R
919f684bcbd64ed0bf9a9b3deb825113bb060e5f
[]
no_license
klwilson23/SpatialWatershed
8117e17c682889257e6156f423cfacab29928d9e
f9e2d2983d476740cfd8b0144d6fcea9e22304e7
refs/heads/master
2023-06-07T22:12:49.509202
2023-06-01T02:09:36
2023-06-01T02:09:36
154,884,373
0
0
null
null
null
null
UTF-8
R
false
false
2,488
r
Complex network.R
# Author: Kyle L Wilson # Institution: University of Calgary # Date: July 26, 2017 # Create simulation social-ecological model based on Hunt et al. 2011 # Date: April 10, 2018 # create 'makeLandscape' function that generates spatial features of the landscape SES model library(igraph) library(boot) library(timeSeries) ...
d197d27d979ac562e8d81f634d095d9edb2f8bf5
87b11807666177a625e1fd6537ae704e1ad97d39
/plot1.R
aba7424bac009c64ae551e9f3f8c6d48e1083187
[]
no_license
jollylamb/ExData_Project2
eb27ca96f728aff270c7558f248cd05c798d7d94
abe145ff214e2f751dc47a39c3f9b98437be38ea
refs/heads/master
2016-09-16T16:14:18.717186
2015-07-26T19:00:53
2015-07-26T19:00:53
39,597,820
0
0
null
null
null
null
UTF-8
R
false
false
437
r
plot1.R
library(dplyr) drawPlot1 <- function(){ #read the file nei <- readRDS("summarySCC_PM25.rds") #group by year grouped <- group_by(nei, year) #sum up the emissions totals <- summarize(grouped, total=sum(Emissions, na.rm = T)) #open the png device png(file="plot1.png") #draw the graph pl...
a2a58ff81ae3c13c8ade9a003cb51c4997f68374
11716f4411208b2a45c7098587777a41b1a76c73
/RealTime_plot_FigS2_map.R
0b703004f1d7da2521ff3ce5c71d7c1f8d2798a9
[ "MIT" ]
permissive
bbarres/Realtime
9ae5cd780e5987d2155e2f7e5537120bd1792381
c4501a6da58f8d64cf5bb02f8c3abc6d6859c6e6
refs/heads/master
2023-06-26T20:21:17.782659
2023-06-23T21:41:35
2023-06-23T21:41:35
33,980,368
2
0
null
null
null
null
UTF-8
R
false
false
4,759
r
RealTime_plot_FigS2_map.R
##############################################################################/ ##############################################################################/ #Plot the map of the RealTime experiment ##############################################################################/ #######################################...
da91671643410c8879c5eb04f5de40b57e4ca4b6
acc054f5a920d158aaedcdccde90134d2e078f27
/homebrew.R
779fe05081d4b289d311c29788518fd2d9dfb8d0
[]
no_license
osairisali/IOpack
cdf6bc4923f159cc523e8d62c25bf2754fe68506
5be3cb4382d3952998a3ce6538c98cb0950eaa2a
refs/heads/master
2021-01-20T03:56:29.243562
2017-08-25T07:45:10
2017-08-25T07:45:10
101,375,986
0
0
null
null
null
null
UTF-8
R
false
false
16,394
r
homebrew.R
#MEMBUAT AGREGASI IO SESUAI DENGAN KELOMPOK SEKTOR TABEL PDRB JATIM #membuat fungsi agregasi matriks persegi sesuai index agregasi agr <- function(data, index){ nol <- matrix(0, length(unique(index[,1])), ncol(data)) #matriks nol nrow(index) x ncol(data) #memasukkan angka 1 pada m...
3e3a84faf03577ab958df21d35f11b3c4dd1db08
d4a19fdbcf046b82a79491f5b11e83d0c1c0b0ce
/R/lsos.R
04a2ff76becc2ec71571a8e1f0dfc9e77c7a07b2
[]
no_license
Laurigit/libSE
60289577beb67ddad199b331c8226aa18aa79330
11e500e741fe0e614eac6d5b5928c35e33ad1564
refs/heads/main
2023-06-01T01:58:14.486995
2021-06-09T12:38:03
2021-06-09T12:38:03
375,009,105
0
0
null
null
null
null
UTF-8
R
false
false
197
r
lsos.R
# shorthand lsos <- function(..., n=1000) { query <- (ls_objects(..., order.by="Size", decreasing=TRUE, head=TRUE, n=n)) res <- data.table(obj = row.names(query), query) } #res <- lsos(20)
b41fc69c56e0342e9c9802cd4e6f34f414f26c34
ee0689132c92cf0ea3e82c65b20f85a2d6127bb8
/Unsorted/density2.R
d7c85b59b581c6a18371781038d81f5945ae010a
[]
no_license
DUanalytics/rAnalytics
f98d34d324e1611c8c0924fbd499a5fdac0e0911
07242250a702631c0d6a31d3ad8568daf9256099
refs/heads/master
2023-08-08T14:48:13.210501
2023-07-30T12:27:26
2023-07-30T12:27:26
201,704,509
203
29
null
null
null
null
UTF-8
R
false
false
373
r
density2.R
# Density set.seed(1234) x = ceiling(rnorm(100,50,15)) summary(x) head(x) hist(x) write(x, file='./file/sampledata.txt', ncolumns = 1) # write to a file to copy to execl # hist(x, freq=F) lines(density(x), lwd=2) plot(density(x)) rug(x) # jitters at points abline(v=x) # vertical lines #another method plot(densit...
fd90a15903c6d9f968137cb8911f1b5cf402f634
811596219062d2bf43473b342f51cb6c75e9d9bb
/TPP_functions.R
3ed12c54b64047d9a5246901359e2cce40d199a5
[ "MIT" ]
permissive
jwinget/ShinyTPP
812b4416103d67d90ac4f041e0a7713f87fcb1cd
5b11d6a229742c5ce47287ece05382d53e841fd0
refs/heads/master
2020-06-27T21:11:13.668927
2019-08-01T12:55:08
2019-08-01T12:55:08
200,050,444
0
0
null
null
null
null
UTF-8
R
false
false
11,700
r
TPP_functions.R
# Functions to run the Trans-proteomic pipeline library(tidyverse) library(xml2) #library(MSGFplus) # MSGF+ currently has some bugs print("init") convertRaw <- function(raw.files) { # Convert raw files to mzML using msConvert # Template conversion command Convert_cmd = 'msconvert.exe MYSAMPLE.raw ...
6ce2e3785031723064992424f363f7244814cede
c35fbc233528e1920a9ec2ba13232828fae401b9
/R/caPred.R
f14e23e0f0593d8d8995644c5d35077b3e638f32
[]
no_license
cran/mixtox
03d9af3b74dfc1286008352119971aed14ea79ab
996fec422d5a36a42cbf9fa6483111c93d773cb9
refs/heads/master
2022-07-05T18:41:34.137823
2022-06-20T15:40:02
2022-06-20T15:40:02
36,813,233
6
4
null
null
null
null
UTF-8
R
false
false
2,589
r
caPred.R
caPred <- function(model, param, mixType = "eecr", effv, effPoints, sav = FALSE){ ## concentration addition prediction ##source('ECx.R') concAdd <- function(pctEcx, effPoints){ ## concentration addition ecPoints <- ECx(model, param, effPoints) ca <- 1 / (t(pctEcx) %*% (1 / ecPoints)) return(ca) } ...
d08f1a048e77c5f101cfd53fa7b8d5f352599934
f05a2f7175f9422ac9908181c97aaab3c375fd34
/man/update_tntpr.Rd
2c1fb1531ce5f7f7a6bffcdc9ba7bdaa05ef3d42
[ "GPL-2.0-only", "MIT", "CC-BY-4.0" ]
permissive
tntp/tntpr
19c6b39cf9252f2854a1faf7bd1062b582d8e5ab
fa9d7442cb42c667539213805192a9c845cf2913
refs/heads/master
2023-08-08T23:05:28.893304
2023-07-09T15:11:15
2023-07-09T15:11:15
158,586,843
4
0
CC-BY-4.0
2023-08-15T17:43:50
2018-11-21T17:54:23
R
UTF-8
R
false
true
267
rd
update_tntpr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/update_tntpr.R \name{update_tntpr} \alias{update_tntpr} \title{Re-install the tntpr package from GitHub.} \usage{ update_tntpr() } \description{ Re-install the tntpr package from GitHub. }
7a7835dc3603b67f1017866272069065d565e856
f5199fc56c1a4e0f2a28c8eceb8f8f8955101e87
/gibbsSampling_MH.R
89e82d101537ecf6ef430febb0117e0d9daf706b
[]
no_license
mshasan/BayesianDataAnalysis
4940a507d77e5b79ce67259b9678e2d1a8ad0cfe
e6e320b78076f94000c516b6fef63bfd99978ccb
refs/heads/master
2021-01-20T08:40:27.025570
2017-05-03T17:49:53
2017-05-03T17:49:53
90,175,198
0
1
null
null
null
null
UTF-8
R
false
false
4,733
r
gibbsSampling_MH.R
#Problem 3 #Part a) #open the library "coda" library(coda) #introduce the data data=c(65,156,100,134,16,108,121,4,39,143,56,26,1,1,5,65) #alpha has prior Gamma(a,b), lambda has prior Gamma(c,d) #Choose a,b,c,d and niter, number of iterations a=1; b=3; c=5; d=20; n<-length(data); niter=40000; #Calculate the log o...
c21914aef341b9a2816e611a9d3ca2ca0fd4c2ee
01ff051e865f75f50694f6a8427a0477bbb32115
/Scripts/importBiopaxMod.r
3b3c5fd284091afb01b1320497c25c5d91bd7a05
[]
no_license
nirupamaBenis/PathwayLevelDataIntegration
f2ccca81fab21be17afeef5dd63860cdf4f8d95a
f714fd38e47e63cd40fc30232e83ad97d1566601
refs/heads/master
2020-07-31T16:50:56.889396
2019-09-29T11:05:21
2019-09-29T11:05:21
210,681,585
0
0
null
null
null
null
UTF-8
R
false
false
4,079
r
importBiopaxMod.r
" @author Nirupama Benis @version 0.2 Modified from import_biopax.r @since 02-11-2015 <p> This script can convert a biopax object (from rBiopaxParser) to a pathway.catalogue object <p> " library(rBiopaxParser) library(hash) library(graph) library(igraph) ImportBiopaxMod = function (data, removePathways = NULL) { ...
af4e391a0c42bae407e3b4d4d93c85fc169aa323
c0e66d1ebacdbf10375a818ec6b24c35e5c9073e
/man/veri_args.Rd
06a1252010b43b93e7bdf7b3e7ba89624763dc0a
[]
no_license
Climandes/ClimIndVis
b1045a5cdce425e6dbf42d3032bb9ac2a0933786
47627ea250c1bb1d7416341645ffe1a7f5ab5b48
refs/heads/master
2021-11-07T05:24:44.418529
2021-10-22T09:17:22
2021-10-22T09:17:22
140,861,804
9
0
null
null
null
null
UTF-8
R
false
true
962
rd
veri_args.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_documentation.R \name{veri_args} \alias{veri_args} \title{veri_args} \arguments{ \item{nmin}{Number of forecasts that are not-missing for forecast to be evaluated, otherwise NA is returned see \code{\link{easyVerification}{veriApply}}. D...
9cbc2f995fb942f483c46e4cf3a6a49947fcc649
da928003b54ed1c4e016eef8ff663069554bf925
/R/_draft/backup/k_slye_id_finder.R
2bd5c1d05717e60311b1e64d923bf8cbee7c8b2f
[]
no_license
GiulSposito/DudesFantasyFootball
c3c412a697f073c48aec61ad637d0e9a79ea3007
eccdd274cac718de2c7c099a6637b8bf8cdb2804
refs/heads/master
2021-09-21T14:03:25.540083
2021-09-08T16:14:52
2021-09-08T16:14:52
153,347,513
2
0
null
null
null
null
UTF-8
R
false
false
905
r
k_slye_id_finder.R
library(tidyverse) scraps <- readRDS("./data/week2_scrap.rds") # SCRAP scraps[["K"]] %>% filter(team=="CAR", data_src=="NumberFire") %>% mutate(id=as.integer(id)) %>% glimpse() scraps[["K"]] %>% filter(id==14600) %>% glimpse() # PLAYER ID load("../ffanalytics/R/sysdata.rda") # <<- Players IDs !!! playe...
8375b6f7dbe413fae7b5b0b02125f52ce316d67d
620be3848dbefbe162d700c001fe3b06e6f14826
/code/GT-Scan2.final.R
a9d47d2005e8157eb797d4fcb25b206664a6e491
[]
no_license
BauerLab/GT-Scan2
db6ca6247fe0aa55c289d94e06ef6ce08e1347cf
8aaa84c8ee38af903f7bf0f8087592b79c65923b
refs/heads/master
2021-01-09T20:26:34.057748
2017-08-22T00:44:09
2017-08-22T00:44:09
64,459,202
7
0
null
null
null
null
UTF-8
R
false
false
10,766
r
GT-Scan2.final.R
library(randomForest) library(ggplot2) library(ROCR) library(gplots) library(reshape) library(MASS) library(caTools) set.seed(18) # Seed is set so that the results are always reproducible setwd('~/Desktop/GTscan_repository/') #------------------------------------ # Functions #------------------------------------ ##...
295c8670620f1848afc853131ee9833746f07106
867bc76d8c0d3194a435821e60fcc20c22ed4ff1
/man/tessituraR.Rd
77d8f1edeb17a8c9a12eb7e1632d8117ea458d75
[]
no_license
gdgkirkley/tessituraR
9455f649ae1d4502cd2d8eeebac97bcf2cfffc6d
c7b873d2bb3ed08ac03da10eff3dccbc85547884
refs/heads/master
2022-02-17T19:16:34.943637
2022-01-30T20:59:23
2022-01-30T20:59:23
199,735,570
5
0
null
null
null
null
UTF-8
R
false
true
472
rd
tessituraR.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tessituraR-package.R \docType{package} \name{tessituraR} \alias{tessituraR} \title{tessituraR: Interacting With the Tessitura API} \description{ A package to help you work with the Tessitura API. At the moment, this is just a baby package to ...
5597837a7286fdfc0d7b940040691381eac28703
59ffd5c658d5c0d076c6c34c0d0ea55183ea83f9
/cachematrix.R
84290bec829229da036f9f29401dc760d78881be
[]
no_license
astutibhagat/ProgrammingAssignment2
4528c12a60a902c386a315beb3b7cd119fd66fc1
00dd313b02f3d0b1e554f1ca14a15e506e9b7a8c
refs/heads/master
2022-06-06T04:01:32.539117
2020-05-04T16:47:55
2020-05-04T16:47:55
260,979,592
0
0
null
2020-05-03T17:05:19
2020-05-03T17:05:18
null
UTF-8
R
false
false
1,202
r
cachematrix.R
## Creates a special matrix object that can cache its inverse makeCacheMatrix <- function(x = matrix()) { ## Initialize the inverse property inv <- NULL ## Set the matrix set <- function(y){ x <<- y inv <<- NULL } ## Get the matrix get <- function() x ## Set the...
585827ca6916c6ed7b4e83e43a09677309e7f3c3
bfb553d2e7b63698354d1b4d6f515161d1550c6f
/meanFunctions/value_to_format.R
b0cc7bce3fc4220fa390298df614311e95173003
[]
no_license
tkappen/recodePDFtable
c1653b38d46d31eb1983d6d0bfe4cb17cfe1fb05
3d8fe187b2554564a89c0f9cf223ace34205ce8e
refs/heads/master
2021-01-21T13:08:28.509295
2016-05-31T23:46:40
2016-05-31T23:46:40
48,926,658
0
0
null
null
null
null
UTF-8
R
false
false
1,533
r
value_to_format.R
# All these functions assume the use of # baseExpr(), baseExprSub(), cellTypes(), valueTypes() # Get first column of each table # or return set if only one column firstCol <- function(x) { if(!is.null(dim(x))) { x <- x[,1] } return(x) } # Get all the default types and formats # for a single table tableDefaultTyp...
fd9d3f7d2877e004402caaa71d778b79eb773f45
28744c7a392f341b23db2662621fd0fd5754b21e
/man/RAM.plotting.Rd
a80920ef45849efd05c15d89542df99a8d9e76f8
[]
no_license
randomeffect/RAM
3b2a9053cc996bd62cd8f259a34bcd706427c7d4
7b869e69182c0ad303891bf07fc0471936db13aa
refs/heads/master
2020-03-23T15:58:55.970950
2018-05-15T14:38:34
2018-05-15T14:38:34
null
0
0
null
null
null
null
UTF-8
R
false
false
3,248
rd
RAM.plotting.Rd
\name{RAM.plotting} \alias{RAM.plotting} \title{ Creating Plots with RAM } \description{ This help page details the standards for RAM plotting functions. } \section{Overview}{ The RAM package contains many functions to produce plots and visualizations for metagenomic data. Currently, the plotting functions are grouped ...
a6fb3a8fdd88de5af8251eacbcbe0520e411c18d
0d5a4bbceeda2fb1b0beb559099ae68e518082cc
/server.R
88ec05037891f4928ac7d63299bce010515b948a
[]
no_license
sdlee087/Group-Ranking-Lasso
6fc1a27dc1ef2dfd757fe12ae9d143d3ceb67e6a
ec79c687cb0e465ccee0d91cdc1c8a5d2134443d
refs/heads/master
2020-05-23T12:26:46.064742
2019-05-26T06:16:08
2019-05-26T06:16:08
186,757,500
0
0
null
null
null
null
UTF-8
R
false
false
1,016
r
server.R
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(tidyverse) ##Preliminaries GRL_tib <- read_csv("GRL_tib.csv", col_types = cols(...
e6692d6b7857109725f8e86eae23edf405ecbc2a
b092ca5a112dd92ea209b9e4c028437d88a905b8
/man-roxygen/core_template.R
3153818f65c716729b103335b1ee0b5882c3801a
[]
no_license
kaneplusplus/bigmemory
33d7d853dfdd36110d4837d65f95eb357e70e7e9
177c761821a2f5d8c48cb88a9dc344ed47dc8697
refs/heads/master
2022-09-21T11:55:01.223373
2022-09-19T14:14:18
2022-09-19T14:14:18
27,275,919
129
30
null
2021-06-14T15:48:01
2014-11-28T17:14:24
C++
UTF-8
R
false
false
8,383
r
core_template.R
#' @rdname big.matrix #' @title The core "big.matrix" operations. #' @description Create a \code{big.matrix} (or check to see if an object #' is a \code{big.matrix}, or create a \code{big.matrix} from a #' \code{\link{matrix}}, and so on). The \code{big.matrix} may be file-backed. #' @param x a \code{matrix}, \code{...
ebc4b1eb52494fa6ff508b6d6442dde2e2c4f5cd
421bfc4f8d25598823e93ea75c6ab6cef2cb0c50
/man/MUS.Rd
af975bb3f9245d085485d131cc7bf4575a9bc0dd
[]
no_license
LeoEgidi/pivmet
f65c46fdf78d479585105984ba41c16988ae2c7e
1ff4ebaf8a2f42f4319660fd2a2c26ca80e9260b
refs/heads/master
2023-03-05T12:54:12.568863
2023-02-22T14:00:14
2023-02-22T14:00:14
139,981,969
4
2
null
null
null
null
UTF-8
R
false
true
3,707
rd
MUS.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mus.R \name{MUS} \alias{MUS} \title{MUS algorithm} \usage{ MUS(C, clusters, prec_par = 10) } \arguments{ \item{C}{\eqn{N \times N} matrix with a non-negligible number of zeros. For instance, a similarity matrix estimated from a \eqn{N \times ...
f9ef6f4d2b4142ab9173afc5dd12d2beae64ed86
03feb9c4bd7ab71a580a05857133b9a1196bdc92
/factors.R
39c11ace927b9da2e24d2ba6f9948d391eb4c818
[]
no_license
Pratijna/analytics1
abeb046cc4af650ab80b7fd65b712f313eecdd5e
28225e3f48ac919cde4a5391efb9ad9b00b96183
refs/heads/master
2020-04-02T16:33:24.394246
2018-10-28T09:22:20
2018-10-28T09:22:20
154,617,694
0
0
null
null
null
null
UTF-8
R
false
false
509
r
factors.R
#factors gender = sample(c('M','F'), size=20, replace = T) summary(gender) genderF= factor(gender) summary(genderF) genderF likscale= sample(c('Ex','Good','Sat', 'Poor'), size = 20, replace=T) summary(likscale) class(likscale) likscaleF= factor(likscale) summary(likscaleF) class(likscaleF) likscaleOF= factor(likscal...
dc035cd5a80e7915b58e9e804c6d3bae1a40df76
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/CENFA/R/covij.R
5997e4946fd7ef4bfcc48826efd7c5dee78725c2
[]
no_license
akhikolla/InformationHouse
4e45b11df18dee47519e917fcf0a869a77661fce
c0daab1e3f2827fd08aa5c31127fadae3f001948
refs/heads/master
2023-02-12T19:00:20.752555
2020-12-31T20:59:23
2020-12-31T20:59:23
325,589,503
9
2
null
null
null
null
UTF-8
R
false
false
1,110
r
covij.R
#' @keywords internal # @importFrom raster cellStats filename extension # This function calculates the covariance between two raster layers. .covij <- function(x, y, w, sample = sample){ sm <- canProcessInMemory(x) if(sm){ x <- values(x) x <- x - mean(x, na.rm = T) y <- values(y) y <- y - mean(y...
701a50ca56e4ba01aed4cda590ef9fe358f16df8
dbcc234a0d665e90bc8d4c0003bc478bb9bf78e0
/vis.R
a34f7f9d09b088fc84e25aee88097b83dca0fc9b
[]
no_license
fluo-2/sensor-vis
21dda8ccf2cc47a58dd86178dde09d1e8e71a78e
7cd60b6e7c90e7d54a02da84e418736eead0e879
refs/heads/master
2021-04-23T21:12:32.953485
2020-04-06T13:49:33
2020-04-06T13:49:33
250,005,847
0
0
null
null
null
null
UTF-8
R
false
false
4,457
r
vis.R
#!/usr/bin/env Rscript # -*- coding: utf-8 -*- library(tools) library(gdata) library(ggplot2) library(tikzDevice) library(reshape2) library(ggspectra) source("./handle_data.R") # read main data source for sheet 1 clean_data <- extract_categorical_data("WL_FWHM") # create dummy dataframe to initialize wavelength range...
850e589b82aa8c2073880cdaab21be58f7ee368f
0e8b4d2ed772603e3fcd7ee6505f8ba7b91184f5
/scripts/persiann_conversion.R
a476abbc7bdbbf9e32021adde00c386f1cf2d679
[]
no_license
frydolin/r-sat-rain
1a19d0d8dae182ae06d02fb64592f8402a3ecb32
6ac52eaad55a4b5ba82c73dc3cd399e77c1fe69f
refs/heads/master
2016-09-06T09:10:32.514731
2014-04-26T17:05:49
2014-04-26T17:05:49
null
0
0
null
null
null
null
UTF-8
R
false
false
1,408
r
persiann_conversion.R
###### SPATIO-TEMPORAL RAINFALL PATTERNS IN KAPUAS BASIN ###### ### ASSESSING USEFULNESS OF SATELLITE PRECIPITATION ESTIMATES ### ## persiann_conversion.R ## script to load PERSIANN data in ESRI ASCII format and convert to one single NetCDF file #### SET UP #### # call libraries library("sp") library("raster"...
f5f5252f4c730a6e609dcbf97c4a5004dfbb6624
d8fe5763a832081b8034e6df7d3c21ec58f43ff0
/plot3.R
f1257932825df719f34d5ba8fe4ada9730d9419f
[]
no_license
alfonsogd/RPlots
20e553530874bb6352538aa452fd808448ba7076
74f4f20af32e41d81f7c8e388521b5ce8564130c
refs/heads/master
2020-04-15T02:38:02.462867
2014-12-06T17:05:43
2014-12-06T17:05:43
null
0
0
null
null
null
null
UTF-8
R
false
false
876
r
plot3.R
########## #Load Database bd <- read.csv("~/Rall/household_power_consumption.txt", sep=";", na.strings="?", stringsAsFactors=FALSE) #R Libraries library(plyr) library(lubridate) # Transform class bd <- mutate(bd, Date = as.Date(dmy(Date))) #subset 2007-02-01 to 2007-02-02 subbd <- bd[(bd$Date >= as.Date("2007/02/01") &...
d2ffa4cfb92e250e981646cab2e7e9909b262ed3
fa05945647038b74b196b9cc8027576576d413e5
/0204.R
cbced39f1899f1102064e0d32065c522254d0142
[]
no_license
saeheeeom/RforKoreanJsonData
15ccacb35b93da0f25cb7319933dbb52b103cd44
02e1043ce7b990712b0d04bdb8bc8e72ebc0c67a
refs/heads/main
2023-06-06T05:55:53.322141
2021-06-24T11:12:59
2021-06-24T11:12:59
379,896,353
1
0
null
null
null
null
UTF-8
R
false
false
143
r
0204.R
library(tidyverse) starwars ggplot(data = starwars) + geom_point(mapping = aes(x = homeworld, y = mass, color = gender)) + coord_flip()
df702515276626cf615c8ecc2383de661ad07a1c
40b0dedbe4a9952b628144e131ec2531a3d1c24d
/run_analysis.R
fb2ca4433f101954ed623bd6beb94ea24d88e3e7
[]
no_license
mauiii39/Getting-and-Cleaning-Data-Course-Project
1e8234664fe61e5c06ef5028a02f9435d50b4efb
a6ee723ef48a7e33188d1f3fc000d8ee064b46dc
refs/heads/main
2023-04-09T21:50:16.552958
2021-04-27T18:35:13
2021-04-27T18:35:13
361,946,792
0
0
null
null
null
null
UTF-8
R
false
false
2,491
r
run_analysis.R
library(dplyr) #Download setwd("C:/Users/Mau/Google Drive/Programming/Coursera/Getting and Cleaning Data/Week 4") if(!file.exists("./data")){dir.create("./data")} fileurl <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" download.file(fileurl, destfile = "./data/data.zip") # ...
9c908ff4ec77dac2e79c5327ea94dfae1870d93b
7f0e751376a2bbdd29de919ad96d8392046cb9ae
/air_quality_hw/pollutantmean.R
12ac41f2ec3e97ccc854a5da680f35dc748c54c4
[]
no_license
The-Wayvy/Data_Science_Coursera
a986bf8c5987734ffb1a7bbc674128e329b07ffc
1dd9ecbbbb010fcdb9d582aa1d2bd76fffbffd57
refs/heads/master
2023-06-07T04:06:55.875808
2016-11-06T19:03:53
2016-11-06T19:03:53
null
0
0
null
null
null
null
UTF-8
R
false
false
1,430
r
pollutantmean.R
get_string_id <- function(id){ #re-write the number if(id >= 100){ string_id <- as.character(id) } else if(id >= 10){ string_id <- paste("0", as.character(id), sep = "") } else{ string_id <- paste("00", as.character(id), sep = "") } string_id } get_table...
a8e474d3c2d84203a3d9c85f268f573959fccfcd
d56ed82f814dd7a299ee6caf8a52ac381bc8bd93
/R/packages/mops/man/mcs_sample.Rd
377a7da8b699a45840e77939af1df2625ae69d40
[ "MIT" ]
permissive
echse/echse_tools
db69845e5e9d26f4a8f68a3ae7a9622b28fbce88
4e236a426d261f3750a2f31bb7fdab61335ed676
refs/heads/master
2021-06-03T10:05:55.907513
2017-11-08T13:28:41
2017-11-08T13:28:41
39,069,970
1
2
null
2015-11-09T12:04:53
2015-07-14T11:03:07
R
UTF-8
R
false
false
2,015
rd
mcs_sample.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/mcs.r \name{mcs_sample} \alias{mcs_sample} \title{Sample generation for Monte-Carlo simulation} \usage{ mcs_sample(ranges_table, n = 100) } \arguments{ \item{ranges_table}{Data frame with 3 columns 'parameter', 'min', 'max'. Each reco...
0f4aac5e7dc73433a1f465f94810d914417219e2
0fdc85c0cced444a2210e65523a0dd0b339319db
/inst/unitTests/runTests.R
d62319ae33ffdb4cbd857973c5927dec30cd32c3
[]
no_license
jaroyle/oSCR
769730d56085d856437ddbb4d7b870509805bd41
250323186d9cef173be929667b618bbb79dc96c7
refs/heads/master
2023-04-14T00:24:00.143601
2023-04-06T11:40:40
2023-04-06T11:40:40
42,339,391
9
11
null
2020-10-30T14:19:41
2015-09-12T01:10:02
R
UTF-8
R
false
false
3,114
r
runTests.R
## Adapted this from Rcpp package pkg <- "oSCR" if(require("RUnit", quietly = TRUE)) { is_local <- function(){ if( exists( "argv", globalenv() ) && "--local" %in% argv ) return(TRUE) if( "--local" %in% commandArgs(TRUE) ) return(TRUE) FALSE } if( is_local() ) path <- getwd() # Seem to h...
f6f322cf5d39034833715a444c21998c33fe4d1d
3f4df74b9f42d1f600e52d7346d23bca2040f03d
/wizualizacja_zmiennych.R
38cda931b1ac372fd8c3782ec8e84207a3d1e43e
[]
no_license
michalcisek/titanic
1fdec974380ab51aaca7e69c624b0b3743cef6b5
31aee4455b37ecfe3cc11655a5bb6873dab6cbcb
refs/heads/master
2021-01-09T05:54:35.156088
2017-03-08T14:44:34
2017-03-08T14:44:34
80,863,260
0
0
null
null
null
null
UTF-8
R
false
false
502
r
wizualizacja_zmiennych.R
rm(list=ls()) library(ggplot2) library(GGally) my_fn <- function(data, mapping, ...){ p <- ggplot(data = data, mapping = mapping) + geom_point() + geom_smooth(method=loess, fill="red", color="red", ...) + geom_smooth(method=lm, fill="blue", color="blue", ...) p } source("dane.R") ggplot(train, aes...
56d943aaefca2f832076a54453bfda315a4018ce
c3b6d2d42d100227163a8a3ddeaa2c7e1044b919
/R/bower.R
7b6876c2587de20029635c3c8b09d3f2d1b43a80
[]
no_license
clatworthylab/bowerbird
a0ba8930552c487d6fffc75b27f46df4f693843c
3a784b34d862d3ae2a2c4950e9ee3c30cc040544
refs/heads/master
2023-04-15T06:23:40.896545
2021-11-22T09:48:53
2021-11-22T09:48:53
374,603,723
1
0
null
null
null
null
UTF-8
R
false
false
1,805
r
bower.R
#' @title bower #' @name bower #' @rdname bower #' @description #' A flexible function to initiate a BOWER class from a geneset file or a list of genesets. #' @include utilities.R #' @examples #' gmt_file <- system.file("extdata", "h.all.v7.4.symbols.gmt", package = "bowerbird") #' bwr <- bower(gmt_file) #' bwr #' @exp...
c397c72ca5bd9558c25849d2086207b7939c8b4f
210683b5347b6f584b258f26c7d48ab51a518fe3
/R/MakeHierFormula.R
32945a13c4869eb13de4c4164f72081715a475b5
[ "MIT" ]
permissive
statisticsnorway/SSBtools
6b95eab7f46c1096cd7d6ee3f61d3898150d49d0
aa2728571e0840e1965f3e7ed0f1984c818ca7a1
refs/heads/master
2023-06-24T02:48:17.178606
2023-06-23T08:05:58
2023-06-23T08:05:58
137,074,899
5
0
Apache-2.0
2023-06-23T08:06:00
2018-06-12T13:21:36
R
UTF-8
R
false
false
2,012
r
MakeHierFormula.R
#' Make model formula from data taking into account hierarchical variables #' #' @encoding UTF8 #' #' @param data data frame #' @param hGroups Output from HierarchicalGroups2() #' @param n Interaction level or 0 (all levels) #' @param sim Include "~" when TRUE #' #' @return Formula as character string #' @e...
0ca4f3309aacc1666f9c4f52e4131d88057a7b5e
a7cbc06b6139047c24ff1de36a375f794affc784
/Practice N3/R/Assignment N3 Pb1.R
18f01ac999d2083d217d40382633b86ec652daa2
[]
no_license
MarcoYou/Econometrics
10c2a5a35ccae35afdba001c22348154dba36938
e8a7ceb78f20e2a4c235758d82c057706284387e
refs/heads/master
2023-02-12T03:26:44.798488
2021-01-03T03:22:58
2021-01-03T03:22:58
296,728,301
0
0
null
null
null
null
UTF-8
R
false
false
2,772
r
Assignment N3 Pb1.R
library(stargazer) # 1. Generate artificial data ## set seed set.seed(123) ## normal distribution parameters mu1 <- 50; mu2 <- 100 sd1 <- sqrt(10); sd2 <- sqrt(10) cov12 <- 5 cor12 <- (cov12/(sd1*sd2)) ## bivariate normal distribution parameters mu <- c(50,100) sigma <- matrix(c(sd1^2, sd1*sd2*cor12, sd2*sd...
8a411f42768cf0b7296bc6360f66c387aaaae7c1
b94dd703bc872656f020682956efa65b0f132bb6
/Module - 5/Assignment 11.R
aa805c3b9f30cc810592d541d7f71f25d6e13bbe
[]
no_license
nitinsingh27/DataScience-With-R
5ba07d613d79f34b833dbf63327bca8c4ffc53a0
8d3f02a424aa1a34ffbfcf640c5bced3870c4c6d
refs/heads/main
2023-06-11T19:21:08.895755
2021-07-12T14:46:30
2021-07-12T14:46:30
385,279,389
0
0
null
null
null
null
UTF-8
R
false
false
2,586
r
Assignment 11.R
setwd("C:/Users/enerc/OneDrive/Desktop/data science/sessions/r_training") getwd() customer <- read.csv("Customer_churn.csv",stringsAsFactors = T) placement <- read.csv("Placement.csv",stringsAsFactors = T) pharma <- read.csv("pharma.csv",stringsAsFactors = T) city <- read.csv("city_temperature.csv",stringsAsFact...
32e0e8fb1531887afb3fac0587fc5afd4ac3ba27
9fd0ec3a1bcbf4178ca2769fee4e09b37141439b
/Script1.R
7283f13e880df0e7573284fa19f08e4b2b5bbc8e
[]
no_license
J0S3UL1S3S/RepData_PeerAssessment1
5fa696f62787e83aed52583661a5323383dfce41
d828cfbbbd45378699785393c00acdac424b49a7
refs/heads/master
2022-11-26T12:53:14.578441
2020-07-27T15:54:44
2020-07-27T15:54:44
282,536,997
0
0
null
2020-07-25T22:44:44
2020-07-25T22:44:43
null
UTF-8
R
false
false
558
r
Script1.R
## Loading and preprocessing the data activity <- read.csv("activity/activity.csv", header = TRUE, sep = ",") View(activity) colnames(activity) df1 <- na.omit(activity) ## What is mean total number of steps taken per day? df2 <- aggregate(steps~date, data=activity, FUN=mean, na.rm=TRUE) hist(df2$steps) ## ignore the mi...
827cb4f736a88738407ef7f16c5e10e660902d63
dbe14666492f3a9927cac0638d09700edd04ac85
/man/plot_top_etiol_by_age.Rd
f51307b131535dffb8a2cf9a87e53c18205b97e8
[ "Apache-2.0" ]
permissive
EGHI-CHAMPS/champs-L2-statistics
5c19735820180f7d957b6bbeffeaecb2a90fb7c3
4e180553ea38958ceacd1e4b09cdf47b9d5de832
refs/heads/master
2023-01-29T03:47:50.419589
2020-10-13T21:59:59
2020-10-13T21:59:59
295,535,862
0
0
null
null
null
null
UTF-8
R
false
true
1,053
rd
plot_top_etiol_by_age.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plots.R \name{plot_top_etiol_by_age} \alias{plot_top_etiol_by_age} \title{Plot the etiologies of a computed CHAMPS table} \usage{ plot_top_etiol_by_age(x, etiologies = NULL, top = 6, bar_width = 0.5) } \arguments{ \item{x}{A data object obtai...
24dc9fa95fd7bd8e72f29b2545d7f97d25032369
41e94163ad063f7b43541210b26dc1f622b1c050
/Indicator_ALL.R
5628916b0caf4a916092fdcf7baeaccea77bff69
[]
no_license
BlockchainTradeAnalysis/Robot_Portfolio
e4de788b3fa214b24522d5791ea71365587b08c1
da3417d7b1e91de5bb6bd29d17fc9f98f7419034
refs/heads/master
2020-04-14T07:27:24.207074
2019-01-09T10:37:10
2019-01-09T10:37:10
163,712,944
0
0
null
null
null
null
UTF-8
R
false
false
3,266
r
Indicator_ALL.R
library(quantmod) library(TTR) library(xts) load(file="C:\\RData\\ETHUSDT_4HR_2017_8_16_2019_1_5.rda") head(total_data) STK=total_data Cl_STK = as.numeric(STK[,5]) Op_STK = as.numeric(STK[,2]) High_STK = as.numeric(STK[,3]) Low_STK = as.numeric(STK[,4]) Vol_STK = as.numeric(STK[,6]) Date_STK = STK[,13] ...
5fbb9bba42f7ddfdef744c70f697ad30c9ff3746
4cca07f2956a13ddc2d6c9c0501b2d786df098bf
/WordPredict/ui.R
9e98748de0918ba931990845b019f23ab7626515
[]
no_license
cepwin/capstone
84f632e2db2519b0fa365498f35b9a14290b12da
1e84bec35fe60d39d367e022d24380f91adcb65d
refs/heads/master
2021-01-21T15:48:35.383557
2017-06-13T22:58:37
2017-06-13T22:58:37
91,858,137
0
0
null
null
null
null
UTF-8
R
false
false
678
r
ui.R
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI for application that draws a histogram shinyUI(fluidPage( ...
ab99a5e4fbccc50beb91fcd21ffe69f83ddd9d07
3e06b4c4c56f314811c9f2678a63a71f81a2b05c
/plot4.R
af764ca00f19352ba2a0601d077ee47988a8dadd
[]
no_license
PKljajic/ExData_Plotting1
0847c8a44faaf9ec35ea1b0aba2f73f8a2952fb8
7b516a9a663e7754122847a0666c2a830bef4bc8
refs/heads/master
2020-12-25T21:23:30.396393
2015-10-08T09:48:49
2015-10-08T09:48:49
43,768,990
0
0
null
2015-10-06T18:08:17
2015-10-06T18:08:17
null
UTF-8
R
false
false
1,742
r
plot4.R
#elcon is a table - electrical power consumption for dates 1/2/2007 and 2/2/2007 elcon <- read.table("household_power_consumption.txt", stringsAsFactors = F, na.strings = "?", sep = ";", skip = 66637, nrows = 2880) #assigning header to table elcon namesOf <- c("Date", "Time", "Global_active_power...
687a36abeead7e7576192a0fd2c00627a603c984
86347e19447a2ee4a2b65cb3e1d68e5ac26d82c1
/R/PredictEnv.R
c02ac7481932aef0f6aa56845d9a74464111497a
[ "MIT" ]
permissive
brshipley/megaSDM
a9e8cd4de0affaba17fdcda5c3489bc2ab7312dd
5d285705e295d168ba26435bc453b5242b0ac2dd
refs/heads/master
2023-06-22T14:46:43.898117
2023-06-09T13:36:19
2023-06-09T13:36:19
206,993,880
18
3
null
null
null
null
UTF-8
R
false
false
8,024
r
PredictEnv.R
#' Project, clip, and store forecasted/hindcasted environmental rasters for SDM prediction #' #' This function takes lists of SpatRasters that correspond to future or past time periods #' of a single climate model (e.g., RCP4.5, CCSM3), ensures that the environmental variables #' are the same as those that the model wi...
f0dba2156124aa62a14eec48ea017a28c02556b1
1a3576049a5b97f1192b472023d5010d3bd849fa
/RAO/R/server.R
b319f55fb5f52b3cbd68e86e8b3ea405cc44d199
[ "MIT" ]
permissive
thecomeonman/RAO
0ab6a6a5352a87068d2d9bb580da2eedc79b6b3c
80670220f4b49fbbf197d0ae027dd953f24a92b8
refs/heads/master
2023-06-02T02:08:49.755885
2020-10-16T02:35:26
2020-10-16T02:35:26
380,129,415
0
0
null
null
null
null
UTF-8
R
false
false
80,303
r
server.R
#' @import shiny #' @import shinydashboard #' @import ggplot2 #' @import gridExtra #' @import ggmap #' @import data.table #' @import plyr #' @import bit64 #' @import DT #' @import GA #' @import snow #' @import snowfall #' @import rlecuyer #' @import igraph fDashboardServer = function(input, output, session) { cat( ...
d7690b370375610d6512ff9941615f303294655d
c746b5f40c118fb4f41a2d7cb88024738476d40f
/Data_Generation/Results/combine_elnet9_500.R
7f2cc520a5bfe7ee43f9f085e87ff44823450767
[]
no_license
multach87/Dissertation
5548375dac9059d5d582a3775adf83b5bc6c0be7
d20b4c6d3087fd878a1af9bc6e8543d2b94925df
refs/heads/master
2023-06-25T20:09:25.902225
2021-07-23T18:51:07
2021-07-23T18:51:07
281,465,959
0
0
null
null
null
null
UTF-8
R
false
false
1,335
r
combine_elnet9_500.R
#load data half.data <- readRDS("/Users/Matt Multach/Desktop/Dissertation/Dissertation_Git/Data_Generation/Data_Storage/500_data_10052020.RData") elnet9.final <- readRDS("/Users/Matt Multach/Dropbox/USC_Grad2/Courses/Dissertation/Dissertation_Git/Data_Storage/MainResults_Storage/elnet9_resultmain_500.RData") #initiali...
d26785825821554075ad42b06c80dea4a9771ccd
e58a041effe2ee474c329eb3327300363aa18588
/R/prediction.R
1710a2af6b167b473803fea9fc43a4f7f9068441
[]
no_license
Andreii94Tarasenko/SEMrush_petFood_analysis
0cb70e496122e50c3377b22127c5f1cd513bac75
f7194bf763823b5a13398235c2ee2f3d57fe8ef9
refs/heads/master
2020-03-18T14:59:23.225949
2016-11-19T19:04:16
2016-11-19T19:04:16
null
0
0
null
null
null
null
UTF-8
R
false
false
440
r
prediction.R
## regression analysis key_parameters<-function(arg1){ temp.lm <- lm(Position ~. ,data = arg1)#whiskas[ ,-c(1, 7, 12, 13, 14)]) temp.new.lm <- step(temp.lm, trace = FALSE) important_parameters <- names(temp.new.lm$coefficients) important_parameters } #print(summary(whiskas.new.lm)) #print("Unimportant_parameters i...
f1ea2cebbc41b696101050bc20bf42273d7e668a
e67681fe1830d76dc7079f136a466740e0f485f2
/docs/msc-phygeo-remote-sensing/worksheets/msc-phygeo-rs-ws-05-2.R
0f5a607ebd5fb7876a20279850edb5f6df50592d
[ "MIT" ]
permissive
GeoMOER/gmoc
ceea97260e16ee6a03730718c28dcddf991cf0e3
2a2fe5ab4240c4a1534fd3dcc0fea917b26125d6
refs/heads/master
2021-09-28T02:47:08.096750
2018-11-13T15:32:16
2018-11-13T15:32:16
105,365,298
1
0
null
null
null
null
UTF-8
R
false
false
1,497
r
msc-phygeo-rs-ws-05-2.R
# rs-ws-05-2 # MOC - Data Analysis (T. Nauss, C. Reudenbach) # Merging training areas # Set environment -------------------------------------------------------------- if(Sys.info()["sysname"] == "Windows"){ source("D:/active/moc/msc-ui/scripts/msc-phygeo-ei/src/functions/set_environment.R") } else { source("/media...
69354989f56075f6ed31f96763c98c12c931c9d6
9077699975ffc6239097170bcc851790a5967dc6
/man/align.Rd
921696f7c6137efd11dfa60ac33aa5dd0ebd5c69
[]
no_license
cran/HFWutils
8eec52f548293d2057cbfdaad9bdaac39524ba20
fa8bdcc82482007e09cfa6207ba7d5bd4189853c
refs/heads/master
2021-01-01T15:51:28.662706
2008-05-17T00:00:00
2008-05-17T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,480
rd
align.Rd
\name{align} \alias{align} %- Also NEED an '\alias' for EACH other topic documented here. \title{ align ordering of two vectors} \description{ order one vector to match order of first vector } \usage{ align(names1, names2) } %- maybe also 'usage' for other objects documented here. \arguments{ \item{name...
7ff838cfa0b10220fc7977426903066c2821e226
d870f64e2749df0a1a2b5ce0eacdbd5fca2ea167
/man/segmat_to_list.Rd
965919d408593e9fd54c7e85dd55dc68e72b4d38
[ "MIT" ]
permissive
bwrc/semigeom-r
729c86b764d7ec5ed98f1f725929b38992e09f3a
993580030b4cc8f6423b808a703a2cfc5bdf8c84
refs/heads/master
2020-12-25T04:55:03.170869
2016-09-17T18:20:15
2016-09-17T18:20:15
62,126,804
4
2
NOASSERTION
2022-12-10T14:03:39
2016-06-28T09:10:18
R
UTF-8
R
false
true
365
rd
segmat_to_list.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{segmat_to_list} \alias{segmat_to_list} \title{Convert a matrix with segments to a list} \usage{ segmat_to_list(segmat) } \arguments{ \item{segmat}{A matrix with segments} } \value{ A list containing the tiles } \description{...
37673b2dc439f95cab6ff7f87dad7dda67430d49
a86ac1523fdcf9b4477ac94a3831a9cc71695071
/R/dataSetup.R
4bef6c6158cabea0722cbab56a1acbe90b51c8a7
[]
no_license
wolski/MLwithCaret_AS3
682e983c35821b5d2ca75c624713317cd246e1db
63e8dff51bda3519685783f5fa1706140c7f7acc
refs/heads/master
2020-04-26T17:42:19.263964
2019-03-04T16:10:06
2019-03-04T16:10:06
173,721,652
2
0
null
null
null
null
UTF-8
R
false
false
1,824
r
dataSetup.R
rm(list=ls()) library(tidyverse) library(readr) library(factoextra) library(GGally) library(caret) data_RW <- read_csv("winetrain.csv") %>% dplyr::select(-X1) data_RW$quality <- as.factor(ifelse(data_RW$quality==0,"poor","good")) data_RW$colour <- as.factor(ifelse(data_RW$colour==0,"white","red")) xx <- data_RW %>% ...
38249be5382c1f1c628f2aa45de1ba0d1e5af768
24d84164000936adbfd268aebd825887347e4a21
/more_movies.R
96c00f67a8c54052ef8bffeead0bfa80e9f77e0b
[]
no_license
maxrdavidson/FMLBot
57adf296af604c23b1289c1f5e81c68bb2764bf7
42c8410828fd28b06d0842379d2474846456a8fd
refs/heads/master
2020-03-22T10:50:10.827487
2018-08-22T21:07:34
2018-08-22T21:07:34
139,929,916
0
0
null
null
null
null
UTF-8
R
false
false
1,860
r
more_movies.R
library(boxoffice) library(tidyverse) thing1 <- boxoffice(as.Date("2018-07-21"),site="mojo") thing2 <- boxoffice(as.Date("2018-07-21"),site="numbers") thing2$movie <- gsub("’","'",thing2$movie) start_date <- as.Date("2016-03-04") end_date <- as.Date("2018-07-20") date_list <- seq.Date(start_date,end_date,by=...
abe3cec00628a286921464ab102b460c720aaea8
650cebcd88de7cb9f6646b3b6435a68a3e8b2345
/06_MOATS_replication_verification/02_Scripts/00_Archive/Part01_of_03_LabviewLogs_to_df_dml_creation.R
026eba3e19095db6eab4edaacab2355fddca6402
[]
no_license
KROVINSKI/NWFSC.MUK_KRL_SMR2019
b15cfec476863e6ac69b2984b24914ba0d236c5c
c731dbde4e69b77a7e23216580d72a3f34963a1b
refs/heads/master
2021-04-24T00:52:23.845084
2020-10-30T14:48:20
2020-10-30T14:48:20
250,047,214
0
0
null
null
null
null
UTF-8
R
false
false
4,608
r
Part01_of_03_LabviewLogs_to_df_dml_creation.R
##Hello World #********************************* ## Version Check #********************************* R.version ## Author: OA Lab, NWFSC ## Title: Aquarium Temperature Investigation: Temperature SubSelectScript.R ## Date: April 2020 # R script below will subselect and plot temperature data for MOATs # Overall goal...
6186eebfe5a953e0c97f0a9fe3e622ec4b25472a
9653102c68d42bb1bae1284fb0840210cd28063f
/man/viewMiss.Rd
ea15a4c712f054ee1631de788d52cf2e2208cc61
[]
no_license
RonGuymon/ronsFunctions
caf4fd6180a6e169ce8326bf4df5f45a3026b324
a16af4c8441f1f926068e91ce8a8237971158456
refs/heads/master
2021-01-23T05:45:31.438373
2018-11-30T16:49:45
2018-11-30T16:49:45
92,987,270
0
1
null
null
null
null
UTF-8
R
false
true
454
rd
viewMiss.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/viewMiss.R \name{viewMiss} \alias{viewMiss} \title{View a simple histogram of missing data} \usage{ viewMiss(df) } \arguments{ \item{df}{The name of the dataframe, not in quotes, for which the columns need to be converted to character class.}...
f39a0a332d3bf28bd9c89c0bd2e6d0e3ed74cccd
1fbb0be81cda9cc4e559932f7797db699605883a
/man/setEpsilon-set.Rd
dd32170f91265304f873f8b0e3709a7d5ec0cc8f
[ "MIT" ]
permissive
cran/diffpriv
07e6980e8ebcd9a374b87aeee2c07390860f0944
456af10fbeed00dc49960b59bf2f511d36752e9f
refs/heads/master
2021-01-01T15:19:37.441979
2017-07-18T10:42:21
2017-07-18T10:42:21
97,591,600
0
0
null
null
null
null
UTF-8
R
false
true
455
rd
setEpsilon-set.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/privacy_params.R \name{setEpsilon<-} \alias{setEpsilon<-} \title{Setter for slot \code{epsilon}.} \usage{ setEpsilon(object) <- value } \arguments{ \item{object}{the instance of \code{DPParamsEps}.} \item{value}{positive numeric \...
36259a62abe5105145f066ad77eee3c56020fc92
ec8c3a7ee6af47a7a7294fae09e54e649214e8fc
/R/fundos_vedados.R
410ac403d26d779177097da65f477a10e517fcf3
[ "MIT" ]
permissive
marcosfs2006/ADPrev
c47c599786b8275dbfb4f575d9ddfeeb80a55173
1e9918a6a1759b7a890772a4632a987a0e9a1005
refs/heads/master
2021-11-24T17:07:14.732712
2021-11-18T19:34:47
2021-11-18T19:34:47
330,948,351
1
0
null
null
null
null
UTF-8
R
false
false
1,973
r
fundos_vedados.R
#' Relação dos Fundos de Investimentos Vedados #' #' Conjunto de dados contendo a relação dos fundos de investimentos nos quais os #' RPPS estão vedados de fazer investimentos. #' #' @name fundos_vedados #' @format Data frame contendo 138 observações e 12 variáveis na versão de 21.12.2018 da relação #' \describe{ #' ...
f86dc3bafd45f49503a083218897502758dc8f06
05df63a03336e8d7c5738c797f5969ff16f8f8c1
/TP3/src/Fonctions_Utilities.R
9baa121a93a24040aaa1261018788f43dc79a9e8
[]
no_license
raphaelhamonnais/UTC_SY09_DataMining
a1fead6eb84aa2719a65688c599d0f6a407eee3e
3816a16a32c7e5c9be9cc20e940bba65cb82cfa3
refs/heads/master
2021-03-22T04:20:04.637177
2017-06-21T15:46:47
2017-06-21T15:46:47
84,962,362
1
1
null
null
null
null
UTF-8
R
false
false
735
r
Fonctions_Utilities.R
maxN <- function(x, N=2){ len <- length(x) if(N>len){ warning('N greater than length(x). Setting N=length(x)') N <- length(x) } sort(x,partial=len-N+1)[len-N+1] } minN <- function(x, N=2){ len <- length(x) if(N>len){ warning('N greater than length(x). Setting N=length(...
af6c7745b8062988e265dc630bd0a8790f86b588
8ac8320676625ab0cfc91282084a221a8b101c46
/src/R/data_processing/mimic/8-generate_reference_data_mimic_2.R
e57985e8fc5dcbe01876891ab7d1db3282a90a41
[ "MIT" ]
permissive
farhanadam/shockalert-documented
e8e01e698ee8cb8fe1b28b34b708c5b7b93967b2
9f8a0e78a62ebb235e2de9367a77f3b119dae4c5
refs/heads/master
2023-02-23T18:17:26.776118
2021-01-23T16:54:27
2021-01-23T16:54:27
null
0
0
null
null
null
null
UTF-8
R
false
false
5,162
r
8-generate_reference_data_mimic_2.R
rm(list=ls()) library(pracma) library(tictoc) library(glmnet) library(ROCR) library(matrixStats) library(parallel) library(ggplot2) library(lubridate) library(xgboost) source("src/R/functions/mimic/generate_sampling_rate_table.R") source("src/R/functions/mimic/eval_carry_forward.R") source("src/R/functions/mimic/eval...
488010e9fb25ebfa6fd575f1c3db744078796f12
61d29d3ef402b7d47e527d054372e1d50e6a2e12
/R/pxd007959.R
ff3471a2c22494b9cd5542fbd32142d95bc0df8f
[]
no_license
DavisLaboratory/msImpute
2cab3e32be84656b9120db00fb32083547665e63
538873e2d8f512bfdfba4f764457d194d961f26a
refs/heads/master
2023-08-10T03:45:05.054105
2023-07-31T08:25:53
2023-07-31T08:25:53
239,129,382
9
0
null
2022-10-13T11:02:07
2020-02-08T12:32:33
R
UTF-8
R
false
false
1,605
r
pxd007959.R
#' Processed peptide intensity matrix and experimental design table from PXD007959 study #' #' Extracellular vesicles isolated from the descending colon of pediatric patients with inflammatory bowel disease #' and control patients. Characterizes the proteomic profile of extracellular vesicles isolated from the descendi...
2137ecf8361c7ea3926e601147d9e392514f6b24
6774ff603669193087d624f4c890d012e1dbf808
/man/GenoGAMDataSet-class.Rd
f4630574b322c107510897a90db2931c565ebc7a
[]
no_license
gstricker/GenoGAM
b1a6f73b925df91f5413766de037b7975a449ea2
0ac7b967b6926bc6810909bec3c6926a91128c2e
refs/heads/master
2021-05-01T05:24:42.051198
2019-07-14T14:09:57
2019-07-14T14:09:57
55,611,218
10
4
null
2016-04-06T14:07:54
2016-04-06T14:07:54
null
UTF-8
R
false
true
11,214
rd
GenoGAMDataSet-class.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GenoGAMDataSet-class.R \docType{class} \name{GenoGAMDataSet-class} \alias{GenoGAMDataSet-class} \alias{GenoGAMDataSet} \alias{getIndex} \alias{tileSettings} \alias{dataRange} \alias{getChromosomes} \alias{getTileSize} \alias{getChunkSize} \al...
4ea3e9e6528b6bb00211ff60510fc7920b91cbfe
51d049a86d691e6d44a0a46364a15a9c8bb64c54
/analysisDV/countGenes.R
d439b183408f91204ec1b23603de494bb31ad4fd
[]
no_license
cgpu/sbas-nf
5a0776a439099a740947edd2ca8e0e5e8753f1d2
78c22c1642d43c920c791610e5cf094b77edf42b
refs/heads/5b31e76-error-strategy
2023-02-26T12:32:23.986621
2020-08-26T12:05:49
2020-08-26T12:05:49
264,303,520
1
1
null
2020-08-26T11:56:23
2020-05-15T21:34:45
HTML
UTF-8
R
false
false
6,819
r
countGenes.R
library(dplyr) library(ggplot2) #Parse files to create a data frame with counts files <- list.files(path = "significant_events/", pattern = "*.txt") as_types <- c("a3ss", "a5ss", "mxe", "ri", "se") files_aux <- gsub(pattern = ".txt", replacement = "", x = files) files_aux <- gsub(pattern = "a3ss$|a5ss$|mxe$|ri$|se$"...
a846876939c57ac745eb96a4e9df37e8c76e038f
77a913a0a20295998a6bfd052ada3f6fe8b7ac8f
/presentation.R
6164ffe82aee02e9448181e4f772a91b12b39c9f
[]
no_license
joelgombin/SeminR
314904dfda26559399876b8f4e145846aba1a11b
e1b3c95e7b8d9cb954381505025af495fb3aff1d
refs/heads/master
2021-01-10T20:28:45.421938
2012-10-15T13:11:33
2012-10-15T13:11:33
null
0
0
null
null
null
null
UTF-8
R
false
false
2,312
r
presentation.R
## @knitr initialisation library(rgrs) library(sp) library(maptools) ## @knitr shp library(rgdal) picardie <- readOGR("./donnees", "picardie") picardie$STATUT<-as.factor(iconv(picardie$STATUT, from="latin1", to="utf8")) ## traitement de problèmes d'encodage picardie$codeINSEE <- as.character(picardie$INSEE_COM) ##...