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
556ba8e5292c8aaa4a0c72a2e1de62cecbb1c25b
61a6a31eeeea04ce48311b9f760ba760953a870b
/man/ConvertEvonetToIgraphWithNodeNumbers.Rd
df1b430a17fba38f4e8387e4f388e0e0e370d090
[]
no_license
bomeara/BMhyb
24e511479e59d29f08c8b9fa42958425800e49b2
22709ce2792695c1bf34e1a4a224c973eeb889e8
refs/heads/master
2021-11-08T21:52:36.907935
2021-11-08T16:09:12
2021-11-08T16:09:12
64,484,186
0
1
null
null
null
null
UTF-8
R
false
true
796
rd
ConvertEvonetToIgraphWithNodeNumbers.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bmhyb.r \name{ConvertEvonetToIgraphWithNodeNumbers} \alias{ConvertEvonetToIgraphWithNodeNumbers} \title{Convert an evonet object into igraph} \usage{ ConvertEvonetToIgraphWithNodeNumbers(phy.graph) } \arguments{ \item{phy.graph}{An ape::evone...
5f38f589793240f0d7d1e236c8b37ae21db1d013
eb675fa765a38b4ef43ad48eed5cabf0cd92e4c3
/inst/example.R
0fa5ba9af9b6673c97edb6039ec124e2b246424c
[ "MIT" ]
permissive
ir-sfsu/covizerate
3925bdca40ff4be1a04b1c031dda8f38b6b03516
1fb046565822a8ca193bf22dbdf8e702a1166de5
refs/heads/main
2023-01-18T16:45:49.061721
2020-11-09T04:02:52
2020-11-09T04:02:52
308,476,719
0
0
null
null
null
null
UTF-8
R
false
false
309
r
example.R
library(covizerate) df <- data.frame( year = 0:7, continuation = c(1, .84, .75, .70, .50, .19, .07, .03), graduation = c(0, 0, 0, .01, .19, .47, .59, .63) ) covizerate(df, "Fall 2010 Cohort") df %>% covizerate("Fall 2010 Cohort") %>% cvz_options(grad_fill = "forestgreen", vline_stroke = "gold")
e024e2f3e9f4982b78727c1d7b46ac46c628916c
2510c3bcd764a71c504d1d0c8281103457732832
/Problem Set 1.R
c81933bb5e28d37a7f9f0bb5e0425125a4044d18
[]
no_license
tylerleigh94/Stats-500-PS-1
b46e04ba3dc7e3a60e19231839e9be7853316a33
f4ac0ff8bdb254637fde3e9b4784bed8ee9ae6c0
refs/heads/master
2020-08-10T00:48:19.429825
2019-10-10T17:49:44
2019-10-10T17:49:44
214,213,848
0
0
null
null
null
null
UTF-8
R
false
false
683
r
Problem Set 1.R
attach(painter) plot(age, mn) plot(years, mn) plot(age, years) pt<-group=="painter" plot(age[pt], mn[pt], pch=16, col='blue') points(age[!pt], mn[!pt], pch=16, col='red') m.1<-lm(mn~years+age+smoking+drinking) confint(m.1) res<-m.1$residuals shapiro.test(res) predict(m.1, data.frame(years=20, age=50, smoking=0, drinkin...
a16951a2e4e73019df531743be5088ab587eecb2
bfdbeed0ae3ab77ab654f49be2d2aaddb3776806
/Scripting_in_Multiple_Languages/modifyDataStore.R
90d04b36706abcf31811fb39726390c8f293d2af
[]
no_license
antonycode/presentations
2d198fe0d7fbcaa3550f5eece0e728909dffd24f
3dc8705f5a0a23f123b86e996cc34c45605222ff
refs/heads/master
2023-06-06T03:30:22.707076
2021-06-25T16:08:38
2021-06-25T16:08:38
null
0
0
null
null
null
null
UTF-8
R
false
false
1,091
r
modifyDataStore.R
#!/usr/bin/env Rscript # modifyDataStore.R, an R script by Jason Pickering loosely based # on a script by Ben Guaraldi (and lightly edited by same) require(httr) require(jsonlite) require(magrittr) require(assertthat) # Customize for you yourname <- '' if (nchar(yourname) == 0) { stop('Please enter your name in th...
291211ab460eb45759f4794b23e613838d0ff49e
7d9db020576580627e2842c6685d2809189b4662
/MM_HW3/HW3_tg1478.R
0bf41e648e47895641dbb61b3f9e89f543d51d42
[]
no_license
tashay/Mobility_Modeling
f6ca4e14426732e5e4e40d3356e8a93a1bae1e14
416414d36375b22623ea59ed9bad51d7eb454964
refs/heads/master
2021-01-19T09:41:13.705746
2017-03-30T15:55:33
2017-03-30T15:55:33
82,136,369
0
1
null
null
null
null
UTF-8
R
false
false
3,643
r
HW3_tg1478.R
# Question 1 library(data.table) DT = data.table("Procedure1"=c(22.6,27.4,32.2,37.6,42.8,37.1,32.4,27.3,32.2,24.4,42.5,37.6,22.9,47.6), "Procedure2"=c(22.6,32.8,30.9,42.3,37.4,32.6,37.6,22.7,37.1,22.4,47.5,32.3,27.0,42.1)) #a) Calculate the mean and standard deviation of speeds for the two data sets ...
5a1c8294561a0eacd40f847330be0e5663d06644
1ff5948cc363d8a195697c5ea3ae3e8505c7898d
/R/TBCellGrowth.R
628f8c1f082ababd193b161b530f567ac0642087
[]
no_license
MazamaScience/TBCellGrowth
35399ef9918343145144c4330915f403d135a0b8
92e258ea7414361ad65136f3493e9ab9fdf16495
refs/heads/master
2020-12-11T03:32:19.119655
2016-04-19T22:00:30
2016-04-19T22:00:30
38,266,687
0
0
null
2015-06-29T19:25:26
2015-06-29T19:25:26
null
UTF-8
R
false
false
5,119
r
TBCellGrowth.R
#' @docType package #' @name TBCellGrowth #' @title Cell Microscopy Feature Extraction and Growth Tracking #' @description A suite of functions for processing cell microscopy data, #' specifically developed for tuberculosis. Features include GLCM based #' feature extraction and blob labeling as well as tracking of colo...
4700a68c7808b98a822d80693fa93b1fa36bd777
11da18c39ead68ee6cdfb0e97c1a73fd7ebecf39
/read_events1.R
ab3dfc164d4f31059f52ccf76880520d38ee1822
[]
no_license
lsloan/Repilac
a631e77f28f55b2547a8c96ecfe25f2e14d92f6b
94481cc18d8b1ec74c4183b0b9dcb5f82f352e9f
refs/heads/master
2020-04-03T09:53:39.702033
2016-08-12T08:42:02
2016-08-12T08:42:02
64,956,571
1
1
null
2016-08-09T14:48:21
2016-08-04T18:04:31
R
UTF-8
R
false
false
1,018
r
read_events1.R
# @author Lance E Sloan <lsloan at umich dot edu> library(RJSONIO) # R doesn't provide a function to get the path to the current program # in a way that works in every environment. (Insert fantasies here # about PHP's __FILE__ magic variable.) This path will probably need # to be adjusted before this program will ru...
296608b4eaf217414741bdfce30aad5b7876c0da
4f10c7d4b95a142c8f27d57f42ef4cc1f00c9845
/man/plotlogm.resp.Rd
b022ef076681181f45437e87dd63013004ec1078
[]
no_license
cran/hbim
f1cf926f43d1a36e5f90f62595493168773cdf2f
e35d7cf8cb0e84dbf62cb0480b47249648628001
refs/heads/master
2022-05-13T00:06:01.900605
2022-05-09T13:40:02
2022-05-09T13:40:02
17,696,602
0
0
null
null
null
null
UTF-8
R
false
false
1,971
rd
plotlogm.resp.Rd
\name{plotlogm.resp} \alias{plotlogm.resp} \alias{plotresp.equiv} \alias{plotresp.mix} %- Also NEED an '\alias' for EACH other topic documented here. \title{Plot Hill/Bliss Independence Model Data.} \description{ These functions take data output calculated from the data generating functions (see details) and pl...
56727dde62403d82a9334aea02c7e32529261226
678d8033de32840da422e1b8759bd5899aa7f94f
/code/fig6_PhytoToxins.R
65f06aa8b2d2bb00f6af0ddb93456558cf7af84d
[ "CC-BY-4.0" ]
permissive
biogeochem/formbloom_conestogo_2017HAB
eb2349b7efa16aed43b0e2ea07ca6eb74dee6833
21130ee4a0c06d8967c3dfebaaa62bc008d7c39d
refs/heads/master
2021-06-26T08:45:33.386021
2020-12-08T19:22:07
2020-12-08T19:22:07
174,236,733
1
3
CC-BY-4.0
2020-12-08T19:22:08
2019-03-06T23:28:19
R
UTF-8
R
false
false
4,879
r
fig6_PhytoToxins.R
#### # # # #### # Phytoplankton ---- ## Load data phyto.dat <- read.csv("./data/Conestogo_species_clean.csv") %>% mutate(date = as.Date(date, format = "%Y-%m-%d"), DOY = yday(date)) phyto.tax <- read.csv("./data/Conestogo_speciestaxonomy_clean.csv") %>% select(Access.Code, Phylum, Family, Genus, Species, Descript...
ab4cba0b649dbd0fd74356c94a21d9ec2e6bfb51
623f1ec7fbc38078e59a7ede0e5f42893f93f319
/principalComponents/pcaIntro.R
c623332dbaba629c5f4106ddf964fcca906f44b1
[]
no_license
elijahverdoorn/MATH384
17f78d94708c400e540598d91f7ba01c19d393ca
16609554d6736d952da13ac9d3b73d3885badb25
refs/heads/master
2021-01-15T09:38:22.457488
2016-12-20T17:26:53
2016-12-20T17:26:53
68,355,565
2
0
null
null
null
null
UTF-8
R
false
false
1,761
r
pcaIntro.R
library(MASS) mvrnorm(n,c(1,2),diag(2,3)) b0<-3 b1<-1 b2<-2 n<-100 X<-mvrnorm(n,c(0,0),diag(c(10,1),2)) dim(X) y<-b0+X%*% c(b1,b2)+rnorm(n,0,1) dat.df<-data.frame(X,y) names(dat.df) ggplot(dat.df,aes(X1,X2))+geom_point()+ coord_fixed() ### Can see that X1 and X2 have very different variances ggplot(dat.df)+ geo...
3e1a542fcdb0a2611f25e2f2636160a34ae40525
f2643256c6611d7de0db96d162f594388c2c2c50
/analyses/Trial_1_Outcomes/Attendance.R
500762413416cdbbac2295f4c20f390d50937d8b
[]
no_license
raubreywhite/trial_dofiles
e06a5b3b39e9195eda79dd33856d67c918ec4053
eface3b83b107cf7e621b3c654e65b5cbd45b711
refs/heads/master
2022-06-14T03:26:17.492945
2022-06-02T07:27:04
2022-06-02T07:27:04
114,857,557
1
0
null
null
null
null
UTF-8
R
false
false
10,877
r
Attendance.R
################################# Attendance ################################ # making vars smallD[,refHRhosp:= FALSE] smallD[(TrialOne_manRef_HR_00_00==T| TrialOne_manRef_HR_01_01==T| TrialOne_manRef_HR_02_02==T| TrialOne_manRef_HR_03_03==T| TrialOne_manRef_HR_04_04==T| ...
2c0eee0420adddaac3f240a01a00c3fc0c234ca9
91abf315dcd9fb08d0d070929750d50546d55ad4
/Source Code for Functions in PEEGOAlgorithm Package/randomrow.R
cef1987f4da645a495c53da932b50d375e9fc0e8
[ "MIT" ]
permissive
sustainable-processes/PEEGO
0fbd8814d781173cc20f1f99f4501734630012f6
b7bf627f7d505e4970220484e1add02810cc7bbc
refs/heads/main
2023-04-13T11:00:30.820429
2022-11-15T16:46:58
2022-11-15T16:46:58
378,897,501
5
0
null
null
null
null
UTF-8
R
false
false
1,537
r
randomrow.R
#' Function to generate random rows #' #' Function used to generate the random rows considered in the EGO algorithm #' #' @param nrow number of random rows #' @param s.index index of active (non-zero) surfactants for random starting rows #' @param lb lower bounds for controllable variables, on 0 to 1 scale #' @param ub...
fe6979579af85859c2f94aebbc492815c4f00957
961f1a2de9dd6875fb6a86b08dfc917a78f0933d
/16_function.R
ce979db927b1bbab2be8a3f427a7a1b2d2a6b99f
[]
no_license
alex7777777/my_funktion
c9ba83405f4e37438565d559b749ee2980cfca16
fb1741a910a975f5c2052b6de3ccfa1be39e4a4f
refs/heads/master
2020-05-29T13:48:15.868690
2020-01-09T22:10:13
2020-01-09T22:10:13
189,173,623
2
1
null
null
null
null
UTF-8
R
false
false
2,815
r
16_function.R
####################################################### # 2018-01-29 - by Alex Gorbach # Datenbasis: DB Carsharing - Flinkster # Buchungen Carsharing # http://data.deutschebahn.com/dataset/data-flinkster ####################################################### # Function: Substring DF function for the sankey in...
6028adcbb121a3fa35b60a5c4a2a8e526646961f
a8f95eddeadf28fac9258620682fe897ab0c979a
/cachematrix.R
0dbe04fa56612c797e359828f0a7bbe22a090409
[]
no_license
sebgriffiths/ProgrammingAssignment2
922d13b7a66549451ffbf6408458f619ad4b181e
2c043adb7f32248773e0bea69a8b99a2863e58ce
refs/heads/master
2021-01-18T00:55:24.367388
2015-06-20T02:57:02
2015-06-20T02:57:02
37,720,292
0
0
null
2015-06-19T12:23:29
2015-06-19T12:23:27
null
UTF-8
R
false
false
1,526
r
cachematrix.R
## This function takes a numeric matrix as input and ## returns a special vector for use in cacheSolve function ## The special vector is basically a list of solve functions ## stored into variables which get saved into the parent ## environment (e.g. x <<- y) makeCacheMatrix <- function(x = numeric()) { m <- N...
53a947e9755d7620b10e1888cba15fc647946fb8
8b61baaf434ac01887c7de451078d4d618db77e2
/R/whichN.R
8b7d998199e53742eb22e2d50759b4e2e5fd4973
[]
no_license
drmjc/mjcbase
d5c6100b6f2586f179ad3fc0acb07e2f26f5f517
96f707d07c0a473f97fd70ff1ff8053f34fa6488
refs/heads/master
2020-05-29T19:36:53.961692
2017-01-17T10:54:00
2017-01-17T10:54:00
12,447,080
3
1
null
null
null
null
UTF-8
R
false
false
3,316
r
whichN.R
#' whichN #' #' @description \code{which.minN}: Get the indices of the N smallest values in x #' #' @param x a vector of numbers #' @param N how many values are to be returned #' @param return.ties logical: if there are multiple Nth smallest values, return all the indices? #' #' @return \code{which.minN}: the indices ...
061e74db1075f72aa866546c60de942117862b62
f64a2fb6f51c98124012bd222f6ec6bcd663de1d
/R/sig_report.R
a933cf5b100c052208273e1982cf969e347623ae
[]
no_license
cran/sig
36c3db4775febd21e1dee05033147f57244bf411
50104d019c5b3e0171a4822943fbae1ed77993f8
refs/heads/master
2022-04-29T14:19:36.590746
2022-04-21T11:50:02
2022-04-21T11:50:02
17,699,659
0
0
null
null
null
null
UTF-8
R
false
false
4,963
r
sig_report.R
#' Summarise function complexity of a file or environment #' #' @param x A path to an R file or an environment. #' @param too_many_args Upper bound for a sensible number of args. #' @param too_many_lines Upper bound for a sensible number of lines. #' @param length_metric Either \code{"deparse"} or \code{"body"}. See ...
d49be507fb9ea4610dbe60ef87639943e9a058a9
4549dd0a02b0d432de9ec78ba1b4e5e779b07e29
/plot3.R
3e3316f53ffdbc4aa631ca72a650b43968f10fe1
[]
no_license
vr1090/ExData_Plotting1
4c060fe5471115b32095107f566f674572a6ee5a
ae9e382271455c86917272b873f712bc6f914c1b
refs/heads/master
2020-12-25T19:58:48.313616
2016-05-06T06:38:50
2016-05-06T06:38:50
56,213,373
0
0
null
2016-04-14T06:37:36
2016-04-14T06:37:36
null
UTF-8
R
false
false
496
r
plot3.R
#loading rhe data filename <- "dataClean.rdata" load(filename) png(filename="plot3.png") with(dataClean, plot(dateConvert,Sub_metering_1, type="S", ylab="Energy sub metering",xlab="")) with(dataClean, points(dateConvert,Sub_metering_2, col="red", type="S")) with(dataClean, points(dateConvert,Sub_metering_3, c...
c1c0037d6db82da82fff59e660a264b4087c1122
6a28ba69be875841ddc9e71ca6af5956110efcb2
/Statistics_For_Psychology_by_Arthur_Aron_Elliot_J_Coups_And_Elaine_N_Aron/CH12/EX12.3b/Ex12_3b.R
be9f42076d5f3d0d99ed3f76e2d43abb5f1ed48b
[]
permissive
FOSSEE/R_TBC_Uploads
1ea929010b46babb1842b3efe0ed34be0deea3c0
8ab94daf80307aee399c246682cb79ccf6e9c282
refs/heads/master
2023-04-15T04:36:13.331525
2023-03-15T18:39:42
2023-03-15T18:39:42
212,745,783
0
3
MIT
2019-10-04T06:57:33
2019-10-04T05:57:19
null
UTF-8
R
false
false
1,090
r
Ex12_3b.R
# Page no. : 504 - 505 # The least squared error principle # Rule 1 ==> y_cap <- 8 - (.18)*X # Rule 2 ==> y_cap <- 4 + (0)*X # Rule 3 ==> y_cap <- -2.5 + (1)*X # Rule 4 ==> y_cap <- -3 + (1)*X Hours_slept <- c(5, 6, 6, 7, 8, 10) Actual_mood <- c(2, 2, 3, 4, 7, 6) # Rule 1 y_cap1 <- 8 - (.18) * Hours_slept ...
6dc5b7ff7e0dfc3d9fe7f003ac3ff38318d092ef
fa7a30285e4870f68f04a8d1defd94ec2c9199ab
/man/km.mrl.Rd
d56f6e1b6668076d914b0333596db6547dc4d31c
[]
no_license
cran/locfit
1b499f021a7f8853b1a077823af60c31e5d42f4c
71cf38ab0427d5173886e91f2e1367bec0a17e5f
refs/heads/master
2023-06-23T08:07:59.689473
2023-06-11T17:37:26
2023-06-11T17:37:26
17,697,138
1
2
null
null
null
null
UTF-8
R
false
false
1,687
rd
km.mrl.Rd
\name{km.mrl} \alias{km.mrl} \title{ Mean Residual Life using Kaplan-Meier estimate } \usage{ km.mrl(times, cens) } \description{ This function computes the mean residual life for censored data using the Kaplan-Meier estimate of the survival function. If \eqn{S(t)} is the K-M estimate, the MRL for a censored obse...
501b18bc333b44f86fbca1e5e441bf976a20c011
d696c4e5321295cebc0c1eb67efc8f3b89d2d0e4
/man/reverse_yes_no.Rd
2dc6dacb09d4ae0a067db1b55141082a02ce8084
[]
no_license
uk-gov-mirror/jncc.article12
e2c12cff05837c12cef66d1c02c23fe0e6dd1780
59d75bf52bdce23864d5ca219a7409c084680381
refs/heads/master
2022-03-09T04:41:14.157734
2019-10-10T13:50:28
2019-10-10T13:50:28
null
0
0
null
null
null
null
UTF-8
R
false
true
739
rd
reverse_yes_no.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/recode.R \name{reverse_yes_no} \alias{reverse_yes_no} \title{Reverse yes and no} \usage{ reverse_yes_no(yes_no_blank) } \arguments{ \item{yes_no}{character, yes, no or NA_character_} } \value{ character, yes and no are swopped around, blank c...
0cbf84f3a6877e3687ce3d9ece19814a5df88472
d9724585527cd1185f57caf0d1c137e1eef77f6d
/lab_3/continuous.R
0b7dbdad4d2e81adb1539df79cf0b8e54f376747
[]
no_license
NoahMcCullah/MATH32
55fbc3361b73a8af857324d4e88d91aaca6b95c7
561fe6826b54f87a62656d040a58dc61366d0304
refs/heads/master
2022-12-11T08:15:17.644382
2020-08-27T03:36:15
2020-08-27T03:36:15
290,666,856
0
0
null
null
null
null
UTF-8
R
false
false
100
r
continuous.R
rm(list=ls(all=TRUE)) val = runif(n = 10000, min = -5, max = 10) print(mean(val)) print((-5+10)/2)
bc2dd3144f36db3d72a2accd74865b54dbb1c646
d4e152a8e34ae2602a7ba03d488f59e966508b99
/man/gbmFns.Rd
f5d2a226d46f51a464eadc9c87a1b243d4cfc83f
[]
no_license
roywilsonLinc/gbmFns
45a6315fb16d5f5e108ff08194d5b3f5e5402a00
c0ebae0118bec77afb5aa3bbfdbdc17bf35b6c15
refs/heads/master
2021-01-19T08:58:09.816469
2016-01-14T22:19:49
2016-01-14T22:19:49
44,174,100
0
0
null
null
null
null
UTF-8
R
false
true
206
rd
gbmFns.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gbmFns-package.r \docType{package} \name{gbmFns} \alias{gbmFns} \alias{gbmFns-package} \title{gbmFns.} \description{ gbmFns. }
e6366eef2f2117c000ed25a15111c04edee88198
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/nonmemica/examples/definitions.Rd.R
345e9f220620417baf4787b397f977cfee7b40e8
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
284
r
definitions.Rd.R
library(nonmemica) ### Name: definitions ### Title: Harvest Model Item Definitions ### Aliases: definitions definitions.definitions definitions.character ### ** Examples library(magrittr) options(project = system.file('project/model',package='nonmemica')) 1001 %>% definitions
8eaab47ff620eca3813c748fc7f20843e05034d2
4d0c894a4a648b1219767a63523aad113b93047a
/Completos.R
e9c0198e19dfc1b0c45315f5580731b2f3ce08a3
[]
no_license
AdVaEs/Software-Actuarial-lll
68ef06baee544af82d75525b979d418cdc1223b5
d43d279d8988b2ef090b0152a8febae5161b5702
refs/heads/master
2021-09-14T23:21:43.253659
2018-05-22T04:41:45
2018-05-22T04:41:45
119,708,906
0
0
null
null
null
null
UTF-8
R
false
false
592
r
Completos.R
direct = "C:/Users/ave-2/Documents/specdata" completos <- function(direc = direct, id = 1:332) { musubi<- numeric() for(s in id) { x <- paste(direc,"/",formatC(s,width = 3,flag="0"),".csv", sep = "") y <-read.csv(x, header = TRUE) suma <- 0 for (a in 1:nrow(y)) ...
bfe596bba7bf91473fa2aa0252411c40125b89b6
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/spatial.tools/examples/create_blank_raster.Rd.R
5498686d3ec3c1e0c2671247e823c73e3c59b72f
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
512
r
create_blank_raster.Rd.R
library(spatial.tools) ### Name: create_blank_raster ### Title: Create an empty raster and header. ### Aliases: create_blank_raster ### ** Examples ## Not run: ##D ##D tahoe_highrez <- brick(system.file("external/tahoe_highrez.tif", package="spatial.tools")) ##D test_blank_file <- create_blank_raster(reference_r...
4c8ee589f6705887dd117dc8f0e90131c1d52cfd
9a9fb52073dd66199f7b3f4f6902ef0890a428a6
/HR_DATA_Shiny/app.R
56914815514854483faec6b318c3298b3e3dea6f
[]
no_license
mvsell/HR_Data_Shiny1
02378b6ef261c7746594ed19bea67163beb44bb1
d487e278d53cc077e348790db4adeb6f647dd30c
refs/heads/master
2021-08-15T20:45:27.076647
2017-11-18T07:59:01
2017-11-18T07:59:01
111,186,715
0
0
null
null
null
null
UTF-8
R
false
false
2,688
r
app.R
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) library(stats) library(caret) library(lattice) library(ggplot2) library(gbm) library(survival) libr...
e089a53932bb61d74cf1774b173fffeb3ce4704c
489720630fee2fc856ff099f18c96acafb3077b3
/RebalancePortfolio.R
3cc85c7822313b32feff73dd0f3d4e65c71ad2c8
[]
no_license
Cren12/Models
a72715bfb7fbd7182eb8c829361466c37ab239cf
94f295fa36d82d356ffdae0ea2bf3ae337e9ee10
refs/heads/master
2021-06-02T13:05:55.560828
2021-01-15T11:56:55
2021-01-15T11:56:55
129,648,321
0
2
null
null
null
null
UTF-8
R
false
false
8,667
r
RebalancePortfolio.R
packages <- c('blotter', 'foreach', 'doFuture') # +------------------------------------------------------------------ # | library and require load and attach add-on packages. Download and # | install packages from CRAN-like repositories. # +-------------------------------------------...
9316ffd2e5ebc2bba2c4c25fd945f5cfb2668e44
1f9a964c779f440be2b88fbe7226ceef8cb5b335
/man/Integration-Algorithm-SIMPLS.Rd
8482302d84cfb56066d34f651670cd750cf1af04
[]
no_license
phycomlab/RISC
e7b1bc07fdc22d2656bcf62ab08142d539b1e545
94fcf7f6e82f7089285a8086b4e001202420c48d
refs/heads/master
2023-06-08T18:11:16.582266
2021-06-27T17:53:39
2021-06-27T17:53:39
null
0
0
null
null
null
null
UTF-8
R
false
true
1,316
rd
Integration-Algorithm-SIMPLS.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Integrating.R \name{SIMPLS} \alias{SIMPLS} \title{Integration Algorithm SIMPLS} \usage{ SIMPLS(X, Y, npcs = 10, seed = 123) } \arguments{ \item{X}{The reference matrix, row for genes and column for cells.} \item{Y}{The target matrix, row for...
c7f3eaaa88f0468e3dfe5ae7c3fbb4fb9a0fe97d
7a9a38029df5efbf9eff3703bdd3ec18c66083ee
/tasks2/corr1.R
93716b9b4412796e957450451fb0435f0ab877e7
[]
no_license
jaspreetkaur96/Winter-Workshop-ML-DS-
9ad8d712f5955a920966297fef0bce39630c9142
6a07f0c3f898fb1c3574c575c1cf405fdec041be
refs/heads/master
2020-03-06T21:38:20.703564
2018-03-28T04:19:55
2018-03-28T04:19:55
null
0
0
null
null
null
null
UTF-8
R
false
false
500
r
corr1.R
data <- read.csv("@SrBachchan.csv") a = data$length b = data$no_hashtags c = data$no_men d = data$likes e = data$retweets f = data$sentiment_polarity g = data$time print(cor(a,b)) print(cor(a,c)) print(cor(a,d)) print(cor(a,e)) print(cor(a,f)) print(cor(a,g)) print(cor(b,c)) print(cor(b,d)) print(cor(b,e)) print(cor(b,...
4d36f4fbd5d8bc8abe3c2f844d8cdf996742de82
fccf1f1b6dfb2e72053ec5b59e785132d414095b
/man/simulate_rel_change.Rd
d33466df64ec7db0903b87be3421aaae814fcf55
[ "Apache-2.0" ]
permissive
ssokolen/metcourse
a0a4e4f9f8d571ab4e005427d6916fcbbde62617
b4f2ba62b9192f12896bfda9117be0d5ae2c8526
refs/heads/master
2021-04-12T05:04:26.404699
2015-11-15T21:23:14
2015-11-15T21:23:14
40,250,953
0
0
null
null
null
null
UTF-8
R
false
false
1,028
rd
simulate_rel_change.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/simulation.R \name{simulate_rel_change} \alias{simulate_rel_change} \title{Simulate concentration changes} \usage{ simulate_rel_change(n, par1, par2 = NULL, p = 0.5, con = NULL) } \arguments{ \item{n}{Number of samples to draw.} \ite...
65c051cb867ca42d9bcc0b7b5360e44464fc75e0
59796a108849297fa2ce1cbf9aade2097694c354
/rgsvn/gtd/src/rgenetics/shortread_qc.r
d5a99c5478c5711ec22c3a6ce3dc1d4235309ce6
[]
no_license
ro6ert/Channing-Galaxy-Tools
5548ebde414925e616a708bdd5dda49053a3cd64
ab49b58fac0246f313cc06ceefc98102c3302f25
refs/heads/master
2020-06-15T06:56:29.030908
2012-03-12T14:48:10
2012-03-12T14:48:10
3,586,157
0
1
null
null
null
null
UTF-8
R
false
false
105
r
shortread_qc.r
library('ShortRead') ca = commandArgs(T) qa_data = qa('/tmp', ca[1], ca[2]) report(qa_data, dest=ca[3])
ee1df9cb63ae873f39aa84fca70d92f388c8a7b9
273e68a7608d20da07288085583983979146fde7
/man/newMRexperiment.Rd
d3bbb832c45a6ae6f4362d4303f62d48159f4d6c
[]
no_license
HCBravoLab/metagenomeSeq
cd3a36e82a508dc3ac44f37d20b713f9ea4c7abc
df8a28214fa9cb25870dee0e5cc909c160ce8da2
refs/heads/master
2023-04-08T19:09:04.362067
2020-06-10T13:41:35
2020-06-10T13:41:35
8,764,233
48
23
null
2023-03-27T18:39:38
2013-03-13T23:55:45
R
UTF-8
R
false
true
1,320
rd
newMRexperiment.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/allClasses.R \name{newMRexperiment} \alias{newMRexperiment} \title{Create a MRexperiment object} \usage{ newMRexperiment( counts, phenoData = NULL, featureData = NULL, libSize = NULL, normFactors = NULL ) } \arguments{ \item{counts}...
6e155937d5aa480f9505b048e8aa16d3e782f03b
ee0689132c92cf0ea3e82c65b20f85a2d6127bb8
/35-tidyverse/26c-tidyr-DSR1.R
3ce0fa2f1c166b2804de3019c664e17b81d77309
[]
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
908
r
26c-tidyr-DSR1.R
# tidyr library(tidyr) #devtools::install_github("garrettgman/DSR") library(DSR) head(table1) head(table2) head(table3) head(table4) head(table5) head(table6) table1$cases #spread---- library(tidyr) head(table2) spread(table2, type, count) ?spread #gather----- head(table4) gather(table4, "year", "cases", 2:3) he...
22fb3b1f50dbe24c57a095c39aa843c71286186f
bf34afc9a02e3c3546b2d5cf7e6ea55bee023bee
/Serial/Serial.R
977741a3724af69fe0fd27a63e57e98cbb272aa2
[]
no_license
RobHarrand/kaggle
fd7b401391b3c0f41cc5164ab58d0c6c711c1d30
9f859da7c185ca97299a18457748a7ab5caa62dc
refs/heads/master
2020-03-11T09:59:19.640256
2018-04-17T15:50:40
2018-04-17T15:50:40
129,928,554
1
0
null
null
null
null
UTF-8
R
false
false
10,867
r
Serial.R
codebook = read.csv('Codebook.csv', stringsAsFactors = F) motives = read.csv('Motive Codes.csv', stringsAsFactors = F) killers = read.csv('Serial Killers Data.csv', stringsAsFactors = F) victims = read.csv('Victim Codes.csv', stringsAsFactors = F) str(killers, list.len = length(killers)) #Aspects... aspects = data....
e6c9fded833b348f926ff34133050a2e1bbc45a1
1ae00cb0ae3d7911e49594d3a0be4325eb659239
/analiza/analiza.r
320be3c2960f9fe4ea865751723401d0eb1a3b3f
[ "MIT" ]
permissive
Klarapenko/APPR-2019-20
f1aacba52c703fbb0d62f95f743fe797ccf23d08
b8ce902add0bb9facb7637635694c7c7590199da
refs/heads/master
2021-12-12T12:55:09.879867
2021-09-02T22:13:57
2021-09-02T22:13:57
221,639,997
0
0
null
2019-11-14T07:44:49
2019-11-14T07:44:48
null
UTF-8
R
false
false
2,133
r
analiza.r
# 4. faza: Analiza podatkov library(ggplot2) library(GGally) library(mgcv) #NAPOVEDI Z KVADRATNO REGRESIJSKO FUNKCIJO - za LITVO ##NAPOVED TEDENSKIH DELOVNIH UR ZA LITVO tedenske_delovne_ure <- URE %>% filter(drzava == "Litva") %>% select(leto, vrednost) prilagajanje <- lm(data = tedenske_delovne_ure, vrednost~I(let...
238345b7ed717076031b1bbb8730bfc3eea374aa
b83cc4f7697608ea4a665d88c946211da4bfdf39
/formattable.R
db058167d90b26c51d86a66f3f49e14d4bfd2317
[]
no_license
kwbonds/SOT_OTS-1
736399bce04417d94d220bbc1ac177ffe27178ae
1692dd567aa42529abb54f455dded8336f357b69
refs/heads/master
2020-04-14T13:35:59.514841
2018-10-23T18:22:23
2018-10-23T18:22:23
null
0
0
null
null
null
null
UTF-8
R
false
false
3,564
r
formattable.R
library(formattable) library(DT) # library(plotly) color.picker <- function(z){ if(is.na(z)){return("black")} else if(z <= 20){return("red")} else if( z > 20 & z <= 80){return("darkorange")} else {return("darkgreen")} } bg.picker <- function(z){ if(is.na(z)){return("black")} else if(z <= 20){return("pink"...
b225f320cdef9c585371d049293154918476d769
f7cb5ffe2d36c1a529a9b74ce6408dc0e0ae2413
/analysis/misc/parallel_setup.R
7e09f235e88fc593a10bc11f103fb9cda5942bc7
[]
no_license
alaindanet/fishcom
aa5b03f49c5e698d37003b6ffa75b88f3f18b1f4
76e30a7bf13cccabc1cd8fc230bb469276d7f846
refs/heads/master
2023-06-18T20:29:30.291089
2021-07-12T16:34:30
2021-07-12T16:34:30
160,175,823
0
0
null
null
null
null
UTF-8
R
false
false
508
r
parallel_setup.R
#################### # Setup parallel # #################### library(future) nb_cores <- future::availableCores() #Crap hack to determine if in local or on the PBS cluster: node_name <- Sys.info()["nodename"] if (node_name %in% c("Andy", "BigAndy", "BrickAndy")) { future::plan(multiprocess) #} else if (node_name ...
4c385d33484914e9749316186db87cd1209a6367
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/hommel/R/concentration-function.R
6b2b84a365a403fd044ca866a92446b9603f4e19
[]
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
311
r
concentration-function.R
concentration <- function(hommel, alpha = 0.05) { m <- length(hommel@p) h <- findHalpha(hommel@jumpalpha, alpha, m) simesfactor <- hommel@simesfactor[h+1] sortedp <- hommel@p[hommel@sorter] z <- findConcentration(sortedp, simesfactor, h, alpha, m) return(sortedp[z]) }
0975080c18f8631afab41b7d48a5c63477f2a892
7a866c6c5fa70556c8d5e6662e2ae249c682ef18
/R/calcNDVI.R
6a0fbe289f8f84afa9d411fb1a1d0384c03b2279
[]
no_license
jdroesen92/Intro_raster
53035b990c5b8392c5da96f58c84668e22574bb3
045e97a2bb6724b60d97c429242dca8dbd775c8d
refs/heads/master
2021-01-10T08:58:09.525046
2016-01-11T08:44:19
2016-01-11T08:44:19
49,411,204
0
0
null
null
null
null
UTF-8
R
false
false
244
r
calcNDVI.R
#CalculateNDVI #Calculate NDVIs Landsat 8(2014): Red = band 4 (layer 5) and NIR = band 5 (layer 6) #and Landsat 5(1990): Red = band 3 (layer 6) and NIR = band 4 (layer 7) ndvOver <- function(x, y) { ndvi <- (y - x) / (x + y) return(ndvi) }
7f3182ff4c72af0ddba82abd1276c40f1e085d5a
3a122a9a64fcc715269a50115af193ffe680ba70
/MR/Non_UKBB_CRP_univariable.R
c6a9fafc271ecc8bc6cb665ce8a27ae9d24a43e4
[]
no_license
Williamreay/Pneumonia_meta_GWAS
24bce229d577113ceeb89f23a2e1ee51d978cb21
765721fbf329c9bd88d5149d38859b20b571321d
refs/heads/master
2023-04-16T23:57:36.913539
2022-08-11T04:35:23
2022-08-11T04:35:23
319,832,839
5
1
null
null
null
null
UTF-8
R
false
false
2,302
r
Non_UKBB_CRP_univariable.R
######################################## ## CRP ==> pneumonia susceptibility (2022) ## Non-UKBB CRP GWAS ## Univariable MR - total effect ## William Reay (2022) ######################################## library(data.table) library(dplyr) library(TwoSampleMR) library(ggplot2) library(MRPRESSO) setwd("~/Desktop/23...
2e7ba7dcee433becbf278cf41b4b496c62b20336
b1ee7b4bac461beae977051f426358783a693f8f
/plot3.R
9155e66f2db5a696b48c88ad5bb7dc73247e30a8
[]
no_license
mgelvin/ExData_Plotting1
acef0ac3c9a2b97ddaeb2d3db6c9e67f65c22ada
4c2a7d89acdb5cc97efcceb3923fa03eec67cfb0
refs/heads/master
2021-01-20T05:07:44.887329
2015-04-12T21:10:05
2015-04-12T21:10:05
33,800,876
0
0
null
2015-04-12T02:56:13
2015-04-12T02:56:11
null
UTF-8
R
false
false
779
r
plot3.R
temp<-tempfile() download.file('https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip',temp,'curl') data<-read.csv2(unz(temp,'household_power_consumption.txt'),na.strings='?',stringsAsFactor=F) unlink(temp,recursive=T) data<-data[data$Date=='1/2/2007'|data$Date=='2/2/2007',] data$Date_Ti...
3e0e7732cf708afe277a457a92a8be029e0db813
af77cc9ccadb9cf4d451831fdd07abe13503a879
/yelp/wekafiles/packages/RPlugin/mlr/mlr/R/performance.resample.r
8241d9159d74f9a9a72620838db81a11e3ba5e93
[]
no_license
tummykung/yelp-dataset-challenge
7eed6a4d38b6c9c90011fd09317c5fa40f9bc75c
84f12682cba75fa4f10b5b3484ce9f6b6c8dad4a
refs/heads/master
2021-01-18T14:10:55.722349
2013-05-21T09:30:37
2013-05-21T09:30:37
9,527,545
4
1
null
null
null
null
UTF-8
R
false
false
2,265
r
performance.resample.r
#' @include prediction.resample.r roxygen() #' @rdname performance setMethod( f = "performance", signature = c(pred="resample.prediction", measures="list", losses="list", aggr="list"), def = function(pred, measures, aggr, losses, task) { rin = pred["instance"] preds = as.list(pred) is = 1:rin["iters"] ...
3dc26d2b0f1d9d1f6cfe03c3a2ee1ec9e42cf0af
e3f72b7db34995bd1488020a7fe2f40b5641df62
/doc/eurlexpkg.R
488fba172ada475ed04bb4a7493bac0746cb8591
[]
no_license
local-maxima/eurlex
11c3cbc773d6dfa60c398bf182d1479ac091ab83
183d2bc01a6ddf4fc7735400c07698baecb95ccc
refs/heads/master
2022-12-01T21:22:14.068136
2020-08-13T21:39:06
2020-08-13T21:39:06
null
0
0
null
null
null
null
UTF-8
R
false
false
4,816
r
eurlexpkg.R
## ---- echo = FALSE, message = FALSE, warning=FALSE, error=FALSE--------------- knitr::opts_chunk$set(collapse = T, comment = "#>") options(tibble.print_min = 4, tibble.print_max = 4) ## ----makequery, message = FALSE, warning=FALSE, error=FALSE------------------- library(eurlex) library(dplyr) # my preference,...
b0b51b2a62dbc48a9e3170e14040590f8235ed12
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/RWDataPlyr/R/yearmon_helpers.R
5ab57b324be1ea3e96f3284ad2d521abbeb26012
[ "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
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
2,197
r
yearmon_helpers.R
#' Get the water year from a year-month (yearmon) value #' #' `ym_get_wateryear()` returns the water year (assumed to be October - #' September) from a [zoo::yearmon] object. #' #' If the argument is not already a yearmon object, it will attempt to convert #' it to a [zoo::yearmon]. This may result in unexp...
922a1948ca611ca60194ab8afe55c8b9aeee0305
20a5e7d5029472281d875d7d9c5861ea3b25b9b6
/Weekly_assignments/week08/Tuttle_in_class_assignment.R
3568895a56b6660dc26c23e6973eb0df4c9ed73f
[]
no_license
mattjtuttle/biometry
56f6ee8e03399ce6fc88947d8f6f83240635534e
20d4321a9ed4ae4939c9543fbcf713c2b4d7f18e
refs/heads/master
2021-03-27T08:48:58.953978
2017-12-13T00:40:53
2017-12-13T00:40:53
101,313,528
0
0
null
null
null
null
UTF-8
R
false
false
1,794
r
Tuttle_in_class_assignment.R
# Name: Matthew Tuttle # Week08 - In class assignment # Imports data as a dataframe dataset <- read.csv(file = "Weekly_assignments/week08/InClassData.csv", header = TRUE) # Tests the assumptions of the linear model hist(dataset$gap.area.m2) hist(dataset$Nitrate.ppm) library(fBasics) normalTest(dataset$gap.area.m2, m...
755a98ff6acd6fc00240810360f50fcea80c784a
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/eggCounts/R/fecr_stanSimple.R
2c68e8d15fb982e13f24bf26d3b7cf12729a8cbf
[]
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,669
r
fecr_stanSimple.R
########################################################################### # Modelling the reduction in faecal egg count data (two-sample case) using Stan ########################################################################### # main function ----------------------------------------------------------- fecr_stanS...
b1757fb7e02d0c5f5f9a9053fc83ca4d9d350e2b
cb3482b3d42278161a0737e00cc2231142c49161
/Problem144.R
5aa52b51b07205a90889e2fed6e567f84860c848
[]
no_license
emielver/project-euler-hacking
e3546b85a0b72fc72b1b35a3332d89381d8d3f25
d4042b8774ee08fcf4e7950a2d4e7dd47ab8ead9
refs/heads/master
2020-05-31T23:08:02.024656
2019-06-06T07:15:38
2019-06-06T07:15:38
190,533,332
0
0
null
null
null
null
UTF-8
R
false
false
1,379
r
Problem144.R
plot_ellipse <- function(a, b, colour = NA, line = "black") { plot.new() plot.window(xlim = c(-a, a), ylim = c(-b, b), asp = 1) par(mar = rep(0,4)) x <- seq(-a, a, length = 200) y <- sqrt(b^2 - (b^2 / a^2) * x^2) lines(x, y, col = line) lines(x, -y, col = line) polygon(x, y, col = colour, border = NA) ...
b88575b3cc89a1f17feade7f2d4697957a1a5e00
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/provParseR/tests/test_provParse4.R
cd3473c785fd9834aca9a1b72704ce91e232f761
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
4,875
r
test_provParse4.R
library(provParseR) library(testthat) ## Loading test data test.data <- system.file("testdata", "prov3.json", package = "provParseR") prov <- prov.parse(test.data) context("Environment access function") envi.df <- get.environment(prov) expect_match(class(envi.df), "data.frame") expect_match(typeof(envi.df$value), "ch...
efbb8722117b44b420ba3ef66661f6deff71e829
d583df3fb1c43be89633d25a83c1c822af3f881f
/plot3.R
d17ca576c3acb30a936a76cd7cbfd8f45ac47090
[]
no_license
nanchangcj6/ExData_Plotting1
ac89924861b8a1c4757ff59b73c791e3b42d8323
d0e4037f82dd2c4b3da33832bf396f49f483e5af
refs/heads/master
2021-01-22T01:18:23.518897
2015-12-12T00:30:10
2015-12-12T00:30:10
47,676,470
0
0
null
2015-12-09T07:44:34
2015-12-09T07:44:34
null
UTF-8
R
false
false
2,144
r
plot3.R
# Exploratory Data Analysis course project one # Recreating four plots based on a data subset of household energy use # for 2 days in 2007 # The dataset must be read, subsetted and character dates/times changed # into POSIXct datetime values and the plots are drawn. # The data subsetting code is common to each R fil...
c51e455221601faa426016e2a0cbff3fc7e29e18
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/TrackReconstruction/examples/gpsdata95.Rd.R
2fba74cef550d0e3470273596c9a11317e7e2c87
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
250
r
gpsdata95.Rd.R
library(TrackReconstruction) ### Name: gpsdata95 ### Title: GPS raw data ### Aliases: gpsdata95 ### Keywords: datasets ### ** Examples data(gpsdata95) head(gpsdata95);tail(gpsdata95) str(gpsdata95) plot(gpsdata95$Longitude,gpsdata95$Latitude)
f3f818333b8012dc8dfc7e8aef79d350db255811
97ae72e2f16ea8c9b8139f75e91a9beddfcbada8
/man/Text.Highlight.Rd
16824f44417da56a7949afe6b8b9353db86e4ab7
[]
no_license
dCraigJones/pumpR
0b2d485d684da04303ae8836a864ac35db077c67
92f5aae86a6e04136fd2a245e93a476b4b921277
refs/heads/master
2020-04-22T07:32:03.145258
2020-02-15T21:14:23
2020-02-15T21:14:23
170,219,642
0
0
null
null
null
null
UTF-8
R
false
true
553
rd
Text.Highlight.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pumpR.R \name{Text.Highlight} \alias{Text.Highlight} \title{Draws Text to Screen} \usage{ Text.Highlight(Q, H, text, highlight_color = "white", text_color = "red", TextSize = 0.75) } \arguments{ \item{Q}{Flow, GPM} \item{H}{Head, FT} \ite...
2b6ee6a0c7fec3656eb44267a75f296121fb06be
52ab41eb2880f6fb1aa6e8d9bfe37bb024a7f687
/sentiment_anal_predictions_galaxy.R
c44cc1ee3d3a06423d4a098e1b45ca25f2f7a287
[]
no_license
gabordun/Sentiment_analyses_mobile_phones
73dbfd77929a9e3ad75315533315b30e008283c3
033b5e3f422e70903a5b065de782d84a7abe1609
refs/heads/master
2020-12-06T03:18:49.048376
2020-05-18T21:09:46
2020-05-18T21:09:46
232,325,308
0
0
null
null
null
null
UTF-8
R
false
false
2,773
r
sentiment_anal_predictions_galaxy.R
########################################################################################## ## ## ############# Sentiment analyses toward Samsung Galaxy ## ## ...
49ad992b6f399d4281a425935485e900c32dfbfb
77ef0a8557aac9450bc70eb5673d5b14e003e4bc
/inst/GENT/server.R
8a2cf6626023b279110f88a6bfede71cc85edc85
[]
no_license
SAFE-ICU/GeneExpressionNetworkToolkit
d124495e61e119fae21a3b688951f9b42cc68f30
23038aa10335a44fa2906df5ee7f0aaf8c7515e3
refs/heads/master
2020-03-30T14:48:30.313547
2018-11-03T10:25:06
2018-11-03T10:25:06
151,336,857
0
2
null
null
null
null
UTF-8
R
false
false
19,194
r
server.R
#setwd("C://Networks//code//") # Make sure GEOmetadb.sqlite is present in the working directory. Also update the GEOsqlite # file to the latest version # other libraries install pbapply, limma, shinyBS,shinythemes, shiny, networkd3, # change working directory in all code files ## For first time running: # Install lib...
28f3384c0509cee4c071ff8fbcf9525df16dd381
cc925ab2d80219b6fa587717e19030ad9594b8d8
/plot4.R
ec148f886675fc3abbd62f951cb4eae0cdb00026
[]
no_license
fengtasy/ExData_Plotting1
52a793bda9c31373a73b74bc01b5856bf633c95f
71c7c05775d8b0937ce018032ea890bb348dd905
refs/heads/master
2021-01-12T05:42:46.413514
2016-12-25T06:36:36
2016-12-25T06:36:36
77,173,890
0
0
null
2016-12-22T20:30:02
2016-12-22T20:30:01
null
UTF-8
R
false
false
1,901
r
plot4.R
## 1.1) Download and Unzip Data Set #### # setwd("./Week1") getwd() if(!file.exists("./data")){ dir.create("./data") } zip_url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(zip_url, "./data/household_power_consumption.zip") file <- unzip("./data/househ...
390a6fbf4ec31fdbd6d9de1b9f27d42929136ac4
7a7375245bc738fae50df9e8a950ee28e0e6ec00
/R/SA4__Year_DwellingStructure_occupied_private_dwellings.R
d8d6e8927969d56e700ee720bad7307d97986d2e
[]
no_license
HughParsonage/Census2016.DataPack.TimeSeries
63e6d35c15c20b881d5b337da2f756a86a0153b5
171d9911e405b914987a1ebe4ed5bd5e5422481f
refs/heads/master
2021-09-02T11:42:27.015587
2018-01-02T09:01:39
2018-01-02T09:02:17
112,477,214
3
0
null
null
null
null
UTF-8
R
false
false
233
r
SA4__Year_DwellingStructure_occupied_private_dwellings.R
#' @title DwellingStructure by SA4, Year #' @description Number of occupied_private_dwellingsDwellingStructure by SA4, Year #' @format 1,605 observations and 4 variables. "SA4__Year_DwellingStructure_occupied_private_dwellings"
561299afb31f10ab569a1ce770f76d1db78e99a6
229a06eff625c59a3813050aec6d07b1b9041d96
/OtherPackages/DAVIDQuery/R/formatList.R
2a4a77b100b2c9765af07207f12ea27d93631c02
[]
no_license
rikenbit/PubMedQuery
75e161dec8cf792ef5d9be669bb8447c21e8bf3a
964eeb30436ef93b8f1b34c216f15e8cbad51fef
refs/heads/master
2021-01-10T20:07:15.630529
2014-08-07T08:31:54
2014-08-07T08:31:54
22,540,329
2
0
null
null
null
null
UTF-8
R
false
false
182
r
formatList.R
formatList <- function(result){ names(result) <- result[1, ] result <- result [-1, ] #try(dimnames(result)[[1]] <- result[,1]) #dimnames(result)[[1]] <- 1:nrow(result) result }
9ab12d5b096e4c94ffd5399867b4dd1a7ffbd6d3
e70e9c9a62d2876d961faf6e4e3f9ba6f69f5ea9
/multiple regression mtcars.R
ac5ab7b084b1658a6d581d08d48502ea5d03b593
[]
no_license
arunkumar561/analytics1
8e0d0572f3737565883d208ca809f5a720707de6
887f9572c5922cc22e11af0d91ee144b32347aa0
refs/heads/master
2020-04-02T16:33:16.615898
2018-10-28T12:35:46
2018-10-28T12:35:46
154,617,601
0
0
null
null
null
null
UTF-8
R
false
false
454
r
multiple regression mtcars.R
#https://cran.r-project.org/web/packages/olsrr/olsrr.pdf #install.packages('olsrr') library(olsrr) names(mtcars) mtcars[,c('disp','hp','wt','qseu')] model <- lm(mpg ~ disp + hp + wt + qsec, data = mtcars) k <- ols_step_all_possible(model) plot(k) k fit3 = lm(mpg~hp+wt+qsec, data=mtcars) summary(fit3) summary(lm(mpg...
657c2f9db9f80489c600a7232b2ab8b15d3e4d06
30e009eede387af1ffbe759145b47ccb55e74a2a
/Files/Vault Stats R Script/vault_stats.R
826171f40e3c12e8b1a112cff7b5a37f2b3a0add
[ "MIT" ]
permissive
MichaelHettmer/FAQ
fd7525f9cba5612053c1a16b9f32bc3dbc8c380e
f67e7e0692edc70b6dc367bf0caff93ee57eca7e
refs/heads/master
2023-04-11T12:24:01.060724
2021-02-25T19:12:31
2021-02-25T19:12:31
351,403,281
1
0
MIT
2023-04-04T01:40:21
2021-03-25T10:58:52
null
UTF-8
R
false
false
4,391
r
vault_stats.R
#!/usr/bin/env Rscript # Install/Attach necessary packages to session pkgs <- c('tidyverse','tidytext','tokenizers','DiagrammeR','glue') xfun::pkg_attach2(pkgs) #===============================================================# #################### Environmental Variables #################### vault_path <- '/Users/bry...
235b2ee9c7c9b668fe571f24c452d69de9e8b1fb
6570d9082e247c7f91d7c23970cc674989641417
/simulation_fix_throat/summary/all_figure.R
09d8cf29a1de12945a4fe37bd29a8009b7103cc5
[]
no_license
fionarhuang/treeclimbR_article
d936e6426f4d9cbe46fd36581403703d93842b97
af24899e4157b9de6b2c3129ad01a0218fb86e83
refs/heads/master
2023-05-10T14:53:42.421063
2021-04-11T10:37:18
2021-04-11T10:37:18
257,983,356
1
0
null
2021-04-11T10:08:02
2020-04-22T18:15:19
PostScript
UTF-8
R
false
false
2,010
r
all_figure.R
suppressPackageStartupMessages({ library(TreeHeatmap) library(ggnewscale) library(ggplot2) library(ggnewscale) library(dplyr) library(ggtree) library(cowplot) library(scales) }) # ---------------------- load data ---------------------- ### Edit this!!! # resolution: low or high (low for the supplem...
8ed16f0cf91e2c68d73dba1908adfb96d6dc0602
9da4a27d8921bbcbd2f0719757710b0770ad3646
/R/cluster-create.R
bd998ab22b17e8fc860732af351ed01c10e4fa7a
[]
no_license
Ax3man/multidplyr
1731834b3680a4d8d797d8d635fe628f3c86065d
8c12d639458e62473be9e19bf16119ce800b6bee
refs/heads/master
2021-01-16T21:47:17.172882
2016-06-08T13:41:33
2016-06-08T13:41:33
51,756,840
0
1
null
2016-02-15T13:21:01
2016-02-15T13:21:01
null
UTF-8
R
false
false
1,101
r
cluster-create.R
#' Create a new cluster with sensible defaults. #' #' Clusters created with this function will automatically clean up after #' themselves. #' #' @importFrom parallel detectCores makePSOCKcluster #' @param cores Number of cores to use. If \code{NA} will uses at least two #' cores, but if you have extra it leaves one f...
1cb6ccefbc10fb386d90c57c5545ceafa3d6d854
95da0dc7ddc9dd18a7494d11d5ff0f4106a53bf0
/Labs/Hubway_Pt1/20180628_LeilaErbay_Lab4.R
1570347179e126288bd5b7309e9f935b1fce8511
[]
no_license
LeilaErbay/DataAnalytics
c1e4097e3322ad3d202a586fa2648807e389bf5c
5db7bcb24d0e29e3d75900d8aa054fb65c4a802c
refs/heads/master
2020-03-23T15:11:06.295227
2018-11-15T21:38:33
2018-11-15T21:38:33
141,728,777
1
0
null
null
null
null
UTF-8
R
false
false
3,227
r
20180628_LeilaErbay_Lab4.R
#Lab 4 - Hubway Pt I #Author: Leila Erbay ###### PART A ############# library(readxl) stations <- read.csv("hubway_stations.csv") colNamesStations <- colnames(stations) # id, terminal, station, municipal, lat, lng, status uniqueStns <- unique(stations$station) uniqueStnsAmt <- length(uniqueStns) #137 unique station...
c476c84b9188bafee975a337f9f59a2a9e698c15
03eda003a1c853ab0b765fb6e691b4b8b5063ac9
/Course Project 2/plot2.R
6286a07860a2587b2a859738f9fd44d0ea26218d
[]
no_license
vidyavnv/Exploratory_Data
78bdcff5e69678d8cca41bcf9cf337a2b2fe139a
213dd8fe24ba625338c74cada812d45e65216ee5
refs/heads/master
2016-09-05T20:58:49.272668
2014-09-21T17:25:26
2014-09-21T17:25:26
null
0
0
null
null
null
null
UTF-8
R
false
false
448
r
plot2.R
## read data NEI <- readRDS("./data/summarySCC_PM25.rds") ## Get rows for Baltimore city data <- subset(NEI,fips=='24510') ## aggregate emissions by year finalData <- aggregate(data[c("Emissions")],list(year=data$year),sum) ## plot aggregated data png('plot2.png', width=480, height=480) plot(finalData$year,finalDa...
fa7b60a8bfc16f14a099fa39cd2bfb3b79bc8fb3
21ff5ea3b757191829a9bdc6010efd6b0bfa0bbd
/R/meanStdGMCMC.R
f96e1e797719ff6f4335f0d7b342aae3dc3fe09d
[]
no_license
GHBolstad/evolvability
80b4dba8c1e6cfb579d8680739eca625eab76457
599d2380d2ac23feb5d71dac544a2527797af8a8
refs/heads/master
2023-02-08T15:40:18.127117
2023-02-06T12:11:40
2023-02-06T12:11:40
59,743,186
0
0
null
null
null
null
UTF-8
R
false
false
1,938
r
meanStdGMCMC.R
#' Mean standardize the posterior distribution of a G-matrix #' #' \code{meanStdGMCMC} mean standardizes the posterior distribution of a #' variance matrix (e.g. a G-matrix) #' #' @param G_mcmc A posterior distribution of a variance matrix in the form of a #' table. Each row in the table must be one iteration of the ...
65627a004bb5dc2a831bd63dadd0007097f3a713
aabcea565c9f428789c4e6e9716cff0489aefd5f
/R/plots.R
316ca7c6270ee3e3ad6078f09f12ba0295e6dc31
[ "MIT" ]
permissive
hesselberthlab/scrunchy
643581f97e814803776853b885de913434a74662
5b755b5e878c882d0732aee9dbaf4a8a8c2a01d3
refs/heads/master
2020-04-03T03:18:01.818990
2019-11-06T15:50:52
2019-11-06T15:50:52
154,981,735
3
2
NOASSERTION
2019-11-06T15:50:54
2018-10-27T15:51:53
R
UTF-8
R
false
false
10,192
r
plots.R
# Plots ------------------------------------------------------------- #' Scatter plot of cells in a two-dimensional embedding. #' #' This is the base plot for superimposing annotations like cell types, #' cluster assignments, and measured activities. #' #' Embeddings can be calculated by [`calc_umap()`] and [`calc_tsn...
2c4392eddca06a33294c1ac7eedf707066752aed
6cbb51fe996e65a51a8d9f2f35e3159721933f25
/inst/shiny/ui_06_1_pathway.R
7bf3b0271fb6ac9efb24f0e60052442bc44f3b9e
[ "MIT" ]
permissive
compbiomed/singleCellTK
927fb97e257ba89cddee9a90f9cb7cb375a5c6fb
990e89e7ccfbf663f23c793454f72fb8c6878a32
refs/heads/master
2023-08-11T09:17:41.232437
2023-07-26T20:43:47
2023-07-26T20:43:47
68,756,293
144
89
NOASSERTION
2023-09-06T18:22:08
2016-09-20T21:50:24
R
UTF-8
R
false
false
1,503
r
ui_06_1_pathway.R
shinyPanelPathway <- fluidPage( tags$div( class = "container", h1("Pathway Activity Analysis"), h5(tags$a(href = paste0(docs.artPath, "pathwayAnalysis.html"), "(help)", target = "_blank")), sidebarLayout( sidebarPanel( selectizeInput( inputId = "pathwayAssay", ...
956386015d02dd632ecb37484b98e9970ad1c8db
24fcc7a9446871f5affbc82d3ae1ed20d6a7c8aa
/tests/performance/profile.R
8a0ec8ae8fbbb16112c7d51949fa1a312a6875f4
[ "MIT" ]
permissive
mrc-ide/malariasimulation
3188657f6ff9da4ea35646189d0bd75d6e35aa52
397a7b7efe90958dd01f97110a1d16c71d041f33
refs/heads/master
2023-08-23T11:29:10.050424
2023-07-03T15:58:32
2023-07-03T15:58:32
233,609,741
10
10
NOASSERTION
2023-08-17T15:48:41
2020-01-13T14:06:17
R
UTF-8
R
false
false
442
r
profile.R
year <- 365 sim_length <- 1 * year human_population <- 1e5 eir <- 1e3 simparams <- malariasimulation::get_parameters( list( human_population = human_population, individual_mosquitoes = FALSE ) ) simparams <- malariasimulation::set_equilibrium(simparams, eir) profvis::profvis({output <- malariasimulation::...
f682cf9b07850aab0092edd686b1fa305f1fa482
983ad35bf43461555970dc6be1f33744bf97e075
/bench/bench-tbl_summary.R
510a2553e54130e77ec7d278bd2244c76410cdfa
[ "MIT" ]
permissive
DrShaneBurke/gtsummary
c3c3560258f5a5c9512c731eafae8ea68383102c
914dc3f4592a2b2e4940acf42dcc3ef1157b3ff3
refs/heads/master
2023-03-16T21:38:45.808825
2021-03-10T00:01:58
2021-03-10T00:01:58
null
0
0
null
null
null
null
UTF-8
R
false
false
508
r
bench-tbl_summary.R
library(gtsummary, warn.conflicts = FALSE) library(bench) # setup code big_trial <- purrr::map_dfr(seq_len(5000), ~trial) bench::mark( # simple summary simple = tbl_summary(trial), # simple calculation with comparisons+others complex = tbl_summary(trial, by = trt) %>% add_overall() %>% add_p() %>% add_q(quie...
aa8276e2c0df7f64ebfd0eea00e1e7257bc1649b
67d39d356dc06f0f487e05e1436bae8070a5888b
/R/s3cache.R
21bb9f018eb02538c6d05bc7c285944e4b4ef856
[]
no_license
elainexmas/s3mpi
1ccdb01aa6ff26cb4c3738c1b9ce4eeb1c166a40
59d60181cb808c11e24d50dcee86f375625c50fd
refs/heads/master
2020-04-06T03:43:20.750561
2015-06-02T16:25:54
2015-06-02T16:25:54
43,513,276
0
0
null
2015-10-01T18:25:58
2015-10-01T18:25:57
null
UTF-8
R
false
false
3,740
r
s3cache.R
#' A caching layer around s3mpi calls. #' #' Fetching large files from the S3 MPI can be expensive when performed #' multiple times. This methods allows one to add a caching layer #' around S3 fetching. The user should specify the configuration option #' \code{options(s3mpi.cache = 'some/dir')}. The recommended cache #...
b5cbe7c8613473d7b4d7460cfb93c8bebfc1f6e4
e48bac3c7595d59ed95257723a8a61690ec24f10
/R/diffTest.R
bde0ab657525da1351752f6fc5d9d1659a338da6
[]
no_license
john-james-ai/xms
904a0213854aa808d0b6f9919386547c7ff5d9f2
995cfc5eb175594d593c8b125a710dc8f2565805
refs/heads/master
2021-12-23T07:21:07.013135
2017-11-06T20:42:03
2017-11-06T20:42:03
null
0
0
null
null
null
null
UTF-8
R
false
false
8,971
r
diffTest.R
#==============================================================================# # diffTest # #==============================================================================# #' diffTest #' #' \code{diffTest} Conducts multiple z-tests for a multi-level...
14329e1dc9aed48daba30a794b102d5c47657ff7
81a2fa3228451179b12779bb0149398cbfc8e9b1
/R/countCloseToLimits.R
21a8c759e7bd1faff7e8cd13704fa065cd689859
[]
no_license
cran/wrMisc
c91af4f8d93ad081acef04877fb7558d7de3ffa2
22edd90bd9c2e320e7c2302460266a81d1961e31
refs/heads/master
2023-08-16T21:47:39.481176
2023-08-10T18:00:02
2023-08-10T19:30:33
236,959,523
0
0
null
null
null
null
UTF-8
R
false
false
2,099
r
countCloseToLimits.R
#' Count from two vectors number of values close within given limits #' #' This functions summarizes the serach of similar (or identical) numeric values from 2 initial vectors, it #' evaluates the result from initial search run by findCloseMatch(), whose output is a less convenient list. #' \code{countCloseToLimit...
2f413127f363412e28a68722dbc9ef9f65847b6c
7f86f568dab6279e6f2d987c77a023bed055a11c
/man/simFn.Rd
d45816b9d6fb4ac69b4bf9db710b46483bf1cc1c
[]
no_license
cran/AHMbook
b6acd2ed71319be2f0e3374d9d8960a8b04e21bf
d8f8ad8bef93120f187bef494b9ac1ad8200c530
refs/heads/master
2023-08-31T21:13:00.618018
2023-08-23T21:10:03
2023-08-23T22:30:32
88,879,777
1
2
null
null
null
null
UTF-8
R
false
false
2,731
rd
simFn.Rd
\name{sim.fn} \alias{sim.fn} \encoding{UTF-8} \title{ Simulate a Poisson point process } \description{ Simulates animal or plant locations in space according to a homogenous Poisson process. This process is characterized by the intensity, which is the average number of points per (very small)unit area. The resulting po...
e374d4cfaef82fddd7606b98d19bcd401065978a
e1b45c5941f53eea0f2c99615bd45ab3e89275c7
/data_processing/generate_clinical_tables.R
d18f90ceb0711309b716ad34dc4b09e3e31ba2cb
[ "MIT" ]
permissive
instigatorofawe/clustering_manuscript
32f727cb703c5dd6fed43776fc86a67fdfebedf5
a75c437b45a07d7e6e0781012a92ce18179e47b0
refs/heads/master
2022-05-24T19:23:18.770560
2020-04-27T14:19:00
2020-04-27T14:19:00
259,345,244
2
1
null
null
null
null
UTF-8
R
false
false
21,973
r
generate_clinical_tables.R
rm(list=ls()) library(RPostgreSQL) library(pracma) library(tictoc) user = "postgres" password = "postgres" db = "eicu" connection = dbConnect(PostgreSQL(), user=user, password=password, dbname=db) # Query all patient data in general query = "select * from patient" tic("Patient data query") patient.result = dbGetQue...
abd16af9ea0d3d1158ed6c098454d2e4090ba5a3
3365e6e2af41edec8fd49d24a0f3bab9aaef4447
/ui.R
cfc491a6c8c803890f855b416ceed03324e5b17c
[ "MIT" ]
permissive
scottshepard/agefromname
aea3bb1583f57f184878b6926e48548081384fe2
9c3f1804b1a8b68693e9baa58a2ce60169b42b37
refs/heads/master
2021-01-10T04:11:14.860178
2015-10-25T18:49:24
2015-10-25T18:49:24
44,881,439
1
0
null
null
null
null
UTF-8
R
false
false
516
r
ui.R
library(shiny) library(shinythemes) shinyUI(fluidPage(theme = shinytheme("united"), titlePanel("How Old is that Name?"), sidebarLayout( sidebarPanel( textInput("name", "First Name", value = ""), radioButtons("sex", "Sex", c("M", "F"), selected = "M"), actionButton('go', "GO!") ), ...
ac9d6c468e45dc6e2d190870ba655dc68ddaff85
4d4e270ea32cee042f22199e4c051283b5c72ed2
/Rising and Falling Terms/Union C/RF_Init.R
29fe0d8acec29edd08f7bdeacbdf5ed81f85758d
[ "MIT" ]
permissive
emddarn/Text-Mining-Weak-Signals
b19701c2ca651e5337dd7c7ef69217c92f510f23
f54f198f59b9ae239645713140024b46dffa93e0
refs/heads/master
2021-05-29T13:50:35.047726
2015-09-09T18:23:32
2015-09-09T18:23:32
null
0
0
null
null
null
null
UTF-8
R
false
false
7,393
r
RF_Init.R
## ***Made available using the The MIT License (MIT)*** # Copyright (c) 2012, Adam Cooper # # Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the ...
6b05f0c340a2b25d0cc42a1effd6db4e5a71a4b7
80828838119e3ff7343549adb90d225e6b6f06d1
/man/mpi.comm.free.Rd
b6eec9a86897238948361fbd31baf962ff1490c2
[]
no_license
cran/npRmpi
49131c9b187b8bddcf63523b30affa22658ae09e
1ebad7da39e8ec4bf30775bcc2aea34ef5a87fec
refs/heads/master
2016-09-05T17:44:47.216211
2014-06-27T00:00:00
2014-06-27T00:00:00
17,697,956
1
2
null
null
null
null
UTF-8
R
false
false
830
rd
mpi.comm.free.Rd
\name{mpi.comm.free} \title{MPI\_Comm\_free API} \usage{ mpi.comm.free(comm=1) } \alias{mpi.comm.free} \arguments{ \item{comm}{a communicator number} } \description{ \code{mpi.comm.free} deallocates a communicator so it points to MPI\_COMM\_NULL. } \details{ When members associated with a communicator finis...
9d6a22fd4c4392422d98fc33ce3cb8e3981b6b26
8d2d8704e623860e5058eb3ec9c80461ce874ec0
/swirl.R
8f3d6f862b89a00f62715802ef3d0c6eaa30e55c
[]
no_license
kaitiantk/datasciencecoursera
2b345b69f5cf101f89442ee12677f9f834485034
372ed1e3e83314c2f0ded2634fb701176cbb8246
refs/heads/master
2023-06-30T08:17:05.531821
2021-08-03T09:25:03
2021-08-03T09:25:03
383,823,371
0
0
null
null
null
null
UTF-8
R
false
false
53
r
swirl.R
install.packages("SWIRL.R") library("swirl") swirl()
309914158eced86457286e581491eeab6f7f67b0
0df2d0a9fb69910f8d3af5b622001d0f5aa595dc
/calculateRMSEvalues.R
fc72f98cb556635e36b5e5985786ecf49789a452
[]
no_license
jvduijvenbode/thesis
53fdb1e8b801f90a4c2edc7205f2888dcd14db22
1953159aa7125a10d9279abba3f107803b2fa800
refs/heads/master
2020-04-09T09:26:07.550062
2013-11-14T12:38:15
2013-11-14T12:38:15
null
0
0
null
null
null
null
UTF-8
R
false
false
2,305
r
calculateRMSEvalues.R
#install.packages("data.table",dependencies=T) #install.packages("boa",dependencies=T) ##load necessary packages library(data.table) library(plyr) library(boa) library(reshape2) ##set the working directory setwd("D:/spectralsignatures") values=read.csv("allflightvals.csv") values$panel=substr(values$filename,14,14) va...
ee95da55d56ed397749c191a554bbe7b8c40a63f
1022c0957e291e6c545e2db89715a74d7c1a509d
/tbsim/R/tb_read_init.R
d4cc288511cda6e5ff975ab0e6c524d3d8dd3309
[]
no_license
saviclab/TBsim
ace67165891836c8c11af2c80868131914bdfc95
d30f62d809e4d807a88f585a306e251b63213892
refs/heads/master
2021-07-11T19:06:27.401669
2020-08-18T22:41:05
2020-08-18T22:41:05
192,394,874
2
1
null
2020-01-22T16:59:57
2019-06-17T18:02:43
R
UTF-8
R
false
false
1,066
r
tb_read_init.R
#' @export tb_read_init <- function (file, folder=NULL) { if(length(grep("txt", file))==0) { file <- paste0(file, ".txt") } if(is.null(folder)) { folder <- paste0(system.file(package="TBsim"), "/config") } filename <- paste0(folder, "/", file) if(!file.exists(filename)) { warning(paste0("Couldn'...
a6df25966222e3045d85d599ea4bcea4a56d717e
eb94b52ee3efb15ae52bf75eaa554a07957947ed
/server.R
86dfdb7906999e866ffb67aebc4300b8029e8938
[]
no_license
abitcoinperson/film-R
38a7c4d61b40a45d3985508bb18a5f4d52807581
88800213e082b65800475d4a32f03a233a432d3c
refs/heads/master
2021-06-01T01:49:17.085044
2016-07-15T18:26:20
2016-07-15T18:26:20
null
0
0
null
null
null
null
UTF-8
R
false
false
1,049
r
server.R
shinyServer(function(input, output) { output$text10 <- renderText({ paste("Your movie type is", input$radio4) }) output$text1 <- renderText({ paste("You have selected", input$select) }) output$text2 <- renderText({ paste("You have chosen a budget of", input$radio) }...
fa41e96e05021addfbfd3d087958e298e0d943c1
e96da61d9cdd9faf5a4a32c0308f9e201dbe6975
/Get and Cleaning Data/New Queries.R
8a4250467a76311d34975af20861184e816db823
[]
no_license
gyz0807/JHU-Data-Science
1888da152068ca118ee69d66c8c4e212966993d2
39dcb4b3092c7897efaf50382c1d264829b80eac
refs/heads/master
2021-01-21T04:47:51.193233
2016-05-31T00:31:40
2016-05-31T00:31:40
54,347,304
0
0
null
null
null
null
UTF-8
R
false
false
1,910
r
New Queries.R
DataUrl <- "https://data.baltimorecity.gov/api/views/k5ry-ef3g/rows.csv?accessType=DOWNLOAD" download.file(DataUrl, "Restaurant.csv", method = "curl") restData <- read.csv("Restaurant.csv") # Creating sequences seq(1, 10, by = 2) seq(1, 10, length = 3) x <- c(1, 3, 8, 25, 100); seq(along = x) # Creating binary variab...
12add2c84afe57557095f4e7a348590e55cf73bc
7cb80b0b9c23085f4b9607c607603a9109958d12
/Boxplot_ggboxplot_group_addNumber_addMean.R
af6f812250adea88b239986bf35ffc68e2fc664f
[]
no_license
xjtuLTJ/CodeTips
735068101bed9aff8297b46270d942e6ceae6a29
e5f78484d41669f7121ba8d2c60632ac18f2c7bb
refs/heads/main
2023-02-02T09:42:54.602051
2020-12-16T13:12:17
2020-12-16T13:12:17
null
0
0
null
null
null
null
UTF-8
R
false
false
2,228
r
Boxplot_ggboxplot_group_addNumber_addMean.R
################################################## ## Project: most useful ploting functions ## Script purpose: boxplot group by a factor, add numbers and median values for group element ## Date: 2020-12-07 ## Author: Yuting Liu ################################################## ## Section: set envs ##################...
2dc849213ee4f00105adcf9aefcb42fd04164c6d
8d5c87872ba3666e65c645e69a03871fd5ecd5ce
/usecases_data/alpha_vantage_api/get_started.R
a64cfb78e87bd87e0e0468f8f4e110c32603361c
[]
no_license
leewtai/leewtai.github.io
f28ca1902b48816fc23e7dae3ed1342a8a624b65
3a9554dca011da0962e1d0f611ad088d30d5043f
refs/heads/master
2023-08-09T10:20:27.573438
2023-07-19T14:43:08
2023-07-19T14:43:08
230,492,618
3
7
null
2023-08-29T13:58:32
2019-12-27T18:09:52
Jupyter Notebook
UTF-8
R
false
false
1,087
r
get_started.R
# Data is using # https://www.alphavantage.co/documentation/ library(dplyr) library(httr) library(jsonlite) # This is to not expose my api_key... creds <- read_json('../credentials.json') api_key <- creds[['alpha_vantage_api_key']] url <- "https://www.alphavantage.co/query" symbols = c('VOO', 'BLV', 'BSV', 'VTIP', '...
54c85521e0854ffc00c4dcfce5e4638a1f500a19
d47e1c59319f896791ea855145b3e952ecbf027c
/R/init.R
623a73bb4c8a0ce372f72c14c1952d5ab61647d1
[]
no_license
cran/IMWatson
421105ca77989dd1984485c9b9ede15d2c9858aa
458fec21c1a7b3714ce461b2e44a395106c1ac5d
refs/heads/master
2020-12-22T00:26:45.961895
2019-03-29T15:40:03
2019-03-29T15:40:03
236,614,695
0
0
null
null
null
null
UTF-8
R
false
false
1,846
r
init.R
#' @title Initialize connection with Watson's Conversation API #' @description Connect to Watson's Conversation API #' @param api_key API Key #' @param workspace Workspace api #' @param url optional argument that defaults to "https://gateway.watsonplatform.net/assistant/api/v1/workspaces" #' @param version optional arg...
fda9d6afc99f5151ccf915c98b11204c63f15c26
3877ee02e7deec476c64901c474a24ad56dcd431
/man/read_genome.Rd
4f24646428d1e88965aaea5dfacda61593b21f5f
[]
no_license
ropensci/biomartr
282d15b64b1d984e3ff8d7d0e4c32b981349f8ca
e82db6541f4132d28de11add75c61624644f6aa1
refs/heads/master
2023-09-04T09:40:15.481115
2023-08-28T15:56:25
2023-08-28T15:56:25
22,648,899
171
34
null
2023-09-14T12:28:02
2014-08-05T15:34:55
R
UTF-8
R
false
true
1,328
rd
read_genome.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_genome.R \name{read_genome} \alias{read_genome} \title{Import Genome Assembly as Biostrings or data.table object} \usage{ read_genome(file, format = "fasta", obj.type = "Biostrings", ...) } \arguments{ \item{file}{a character string spec...
d59d92abc8156c833d0ff4ed407ec7218652fa10
c98d6f40abe3e3ad60569ae52e499de4ed6ab432
/R/shinySNPGene.R
a5d6d9d60397dfde53f2bea9846dcee55fef5299
[]
no_license
byandell/qtl2shiny
6ad7309b7f4b6bf89147560e23102b4ac5f93620
e342ce39f2a30ea4df4010aac61822e448d43e20
refs/heads/master
2023-05-11T06:04:00.877301
2023-04-30T20:22:25
2023-04-30T20:22:25
78,020,416
2
3
null
2018-01-17T14:31:31
2017-01-04T14:00:43
R
UTF-8
R
false
false
3,294
r
shinySNPGene.R
#' Shiny SNP Association #' #' Shiny module for SNP association mapping, with interfaces \code{shinySNPGeneInput}, \code{shinySNPGeneUI} and \code{shinySNPGeneOutput}. #' #' @param input,output,session standard shiny arguments #' @param snp_par,chr_pos,pheno_names,snp_scan_obj,snpinfo,top_snps_tbl,gene_exon_tbl,proje...
edc9588984799d2d81ef36ac358b1de7c58e1681
040113c16d38a2ce1854c95c8d0b3c82481fc33c
/R/filter-files.R
21e07c55046c9be833221a70e4ec59b94ce73374
[]
no_license
sakrejda/pdhs
9dc199648c89fc6ac036cd61d174e41a5335dedb
0e32ea50e6db2abb7ab20e676c3457bd6e66c93c
refs/heads/master
2020-03-17T22:25:43.022686
2018-05-18T20:27:55
2018-05-18T20:27:55
134,002,989
1
0
null
null
null
null
UTF-8
R
false
false
3,430
r
filter-files.R
#' Check if a string has a specific extension, fails without #' extension, returns TRUE on NULL extension. This function #' is dumb and when it encounters filenames with multiple dots #' it only considers the final extension. #' #' @param s string to check for the extension #' @param e string specifying the extensio...
3950cd719aaaaa07116ef64491e1b5f4371ecfa5
98900f0cd8cbc35ae0904a6c7df65f18ea04d6e9
/R/parseNum.R
b990ad326d3c9e1e9e4c219c185431a4ac853d9d
[ "MIT" ]
permissive
seacode/rsimGmacs
0a55a984cb1b457db72767209cf0c8964b172e14
c49d708e51d2d4dddcab2eaded0500ef9ce1774a
refs/heads/master
2021-01-13T13:58:34.136732
2015-07-01T15:18:41
2015-07-01T15:18:41
29,838,306
1
0
null
null
null
null
UTF-8
R
false
false
472
r
parseNum.R
#' #'@title Parse numeric expressions from a character vector. #' #'@title Function to parse numeric expressions from a character vector. #' #'@param str - character vector to parse #' #'@return parsed and evaluated numerical expressions as a vector #' #'@export #' parseNum<-function(str){ n<-length(str); res<-...
00aa18bc78c1560eb4cb8916c5bf0f294fd2a38c
a30d89a181b8f4e9d49989058fc5ae2724883974
/src/01.basic/5.environment.R
7325c66845acf4a9b803963f48cf6749f0aa980c
[]
no_license
imdangun/r_grammar.20.12
d9b120e9f6a54b0172d09599285423288f1fb6c7
4f83ed51ad227716c48cf5adfa1212dd02c72767
refs/heads/master
2023-01-30T11:00:23.288349
2020-12-15T05:33:32
2020-12-15T05:33:32
320,449,625
0
0
null
null
null
null
UTF-8
R
false
false
962
r
5.environment.R
## setwd('C:/DEV/git/r_grammar.20.12/r_grammar.20.12/src/01.basic') getwd() # lib 디렉토리를 먼저 만든다. .libPaths('C:\\DEV\\git\\r_grammar.20.12\\r_grammar.20.12\\lib') install.packages('animation') library(animation) ## ls() # [1] "iris" "t1" "t2" "x" "y" rm(iris) ls() # [1] "t1" "t2" "x" "y"...
9773e3d2bc74ea43e8e7a3f35a2f1caaf9b58208
b111b2cab6d52c3a5480820af36a8e363305f3cb
/demo/Votacao.R
93ea59cc9926bee490c3c77fb43a46d1b2705814
[]
no_license
rommelnc/hudar
240cb22226802de0241d2d95095d09bd3b60bba0
257b6360f2e8d5d7d642c8a9a5cb8b73f48ba4f2
refs/heads/master
2020-05-09T14:58:06.410576
2015-08-19T02:58:21
2015-08-19T02:58:21
40,375,394
2
1
null
null
null
null
UTF-8
R
false
false
3,472
r
Votacao.R
library(xlsx) dados = read.xlsx(file='../../data/Datasus/consolidado.xlsx', sheetIndex=1, stringsAsFactors = FALSE) dados = read.table(file = '../../data/Datasus/consolidado.csv', fileEncoding = 'ISO-8859-1', header = TRUE, sep = ';', stringsAsFactors = FALSE) dados = read.csv(file = '../../data/Datasus/consolidado-ut...
c2809349316b3f91442c600e529551c8f66dda6a
bd6416f52b21ee94e8b7516aa78efd817b75f97c
/man/fDLfun.Rd
800d6d8470b5216dcb41cf31a37ab7b93b085f4c
[]
no_license
cran/GPPFourier
e509c2677b7af3e346419ae98b86f3d14540741f
1cef0b3c594b154be2cacbe1e607db444028fb2b
refs/heads/master
2021-07-03T08:11:23.429105
2017-09-22T15:17:01
2017-09-22T15:17:01
104,495,054
0
1
null
null
null
null
UTF-8
R
false
true
834
rd
fDLfun.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/SunsetSunrise.R \name{fDLfun} \alias{fDLfun} \title{Relative amount of daylight hours at a specified date and location.} \usage{ fDLfun(date = "2016-07-01", phi = 51.176, lambda = 4.326, H = 0) } \arguments{ \item{date}{POSIXct object or date...
f11fad0eb9d6ee8d005e9348f98ff9513a89081c
ae33c584a4efdd6c337abd69fc9fa98b1c01e64b
/data/fpp2/save-fpp2-data.R
30399bac53ccd6007bebf77e2cf8a29d5f957129
[]
no_license
elray1/elray1.github.io
de1ffa6d854a7b58991f73c2ce1c18dc51d6723d
818db063d1785c09a0da019929d6f5651593f1c1
refs/heads/master
2023-03-09T23:38:53.181329
2023-02-19T15:13:30
2023-02-19T15:13:30
91,704,916
0
0
null
null
null
null
UTF-8
R
false
false
239
r
save-fpp2-data.R
library(fpp2) library(dplyr) library(here) here() elecdaily_df <- elecdaily %>% as.data.frame() %>% mutate( WorkDay = ifelse(WorkDay, "WorkDay", "Other") ) write.csv(elecdaily_df, "data/fpp2/elecdaily.csv", row.names = FALSE)
c89e4358851923718aa53fae3ecaf432cd978639
0cb726c711343de6b5c92a68c59e2998a274fda9
/corr.R
923a59a6ddaab44f715cedbf9f150394d0e5482d
[]
no_license
sangramga/RProgramming_Coursera_Ass1
a458e22735ff3dc064c011aae43476b095a3d883
67dcbab8b67b93fd2ae83eda990f874bf90c5eea
refs/heads/master
2021-01-10T03:57:24.492164
2015-06-02T11:15:03
2015-06-02T11:15:03
36,726,278
0
0
null
null
null
null
UTF-8
R
false
false
736
r
corr.R
corr <- function(directory,threshold = 0) { nobs <- integer() vec <- numeric() for(i in 1:332) { if(i <=9 ) path.i <- paste("~/",directory,"/","00",as.character(i),".csv",sep ="") else if(i<=99 && i >=10) path.i <- paste("~/",directory,"/","0",as.character(i),".csv",sep = "") else ...
595b006726bd287bae9b9fcaa6a359ab5526046a
477fa404690395dd92cab1695e3c5eecafd16ba8
/entire_usa_analysis.R
72834eb86b700acca47cdd01ec018a8cc2fde282
[]
no_license
ChrisJones687/slf_casestudy
60c5bdb2f4a647c3866231edb8df84d93a00982f
0bae96da3252ed102cb2414735ee910775066a2b
refs/heads/master
2020-12-28T08:46:10.276378
2020-08-01T13:41:20
2020-08-01T13:41:20
238,251,954
0
0
null
null
null
null
UTF-8
R
false
false
3,964
r
entire_usa_analysis.R
## Analysis for the entire USA library(raster) library(sp) library(lubridate) library(PoPS) infected_file <- "H:/Shared drives/APHIS Projects/PoPS/Case Studies/spotted_latternfly/whole_usa/slf_infested.tif" host_file <- "H:/Shared drives/APHIS Projects/PoPS/Case Studies/spotted_latternfly/whole_usa/host.tif" total_...
2fb4422ec00d9a10d3b3a8dd9d311316f355df44
4a2e64bcb319ae4525359a69d2e62bafe50ea48f
/R/FUNCTION_plotMonthly.R
bf6e79cfc8f2510181da2181d991ded1714f0e2d
[]
no_license
Pacific-salmon-assess/eramonth
34ad963fc4f6bc86d9e2c54f2e5cc44db01a11a9
eb48212dda4eeafd45b6d82988d80b3c3565451c
refs/heads/master
2022-11-04T07:21:41.993327
2020-06-15T17:26:01
2020-06-15T17:26:01
272,509,055
1
0
null
null
null
null
UTF-8
R
false
false
1,644
r
FUNCTION_plotMonthly.R
#' plotMonthly #' #' Plot output from calcMonthly function. See details there. #' @param monthly.df data frame output from calcMonthly #' @param stk stock to plot #' @param fgroup fishery grouping to plot (depends on calcMonthly inputs!) #' @param type plot type. For now, one of "basic" or "box" #' @export #' @examples...
f7b3f08301957ac330e5460e4d3f1507a6ef9f41
207c2714aeb42ff9c6eeb1e1569c314dae5576fc
/.Rprofile
09c81c8266b60d39a22765d7d220656e5d1c376c
[]
no_license
murattasdemir/work_config
cad8d461c1a5c2bd980e18d4f49969c67167945c
170975ec341fa6435d50e47ee4eb63106bafe299
refs/heads/master
2021-09-08T14:36:11.667454
2021-09-04T08:00:03
2021-09-04T08:00:03
139,559,435
0
0
null
null
null
null
UTF-8
R
false
false
1,062
rprofile
.Rprofile
################################## # R profile file # Things you might want to change options(papersize="a4") # options(editor="notepad") # options(pager="internal") # R interactive prompt # options(prompt="> ") # options(continue="+ ") # to prefer Compiled HTML # help options(chmhelp=TRUE) # to prefer HTML help # o...
cdcbd26dfbde1e38e9c16af546ae7e955ac970f4
5dc1375ad5705d88b3511b79c06f4a66c62d9e15
/man/scale2.Rd
ce984be16fea5359200cf0f9ad8899681e0ddb0a
[ "MIT" ]
permissive
llrs/inteRmodel
441044e8ea74e9b0f7e89f535ec5115e20bab422
02dfb240efaeb7322cf555b17209d615635538c0
refs/heads/master
2022-05-24T19:06:06.922866
2022-03-14T14:59:08
2022-03-14T14:59:33
198,424,052
1
4
NOASSERTION
2021-11-04T23:08:17
2019-07-23T12:15:33
R
UTF-8
R
false
true
338
rd
scale2.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{scale2} \alias{scale2} \title{Scale2} \usage{ scale2(...) } \arguments{ \item{...}{Named arguments for scale2, A (Matrix), center, scale, bias (logical).} } \description{ If possible reexport scale2 of RGCCA, if not make it avai...
2fdf98a82fdc150bab3dee6b2f283a71f887f9aa
c7969c98a4fc0a14f8a10d88a0a1bd26b0e33005
/man/RunMAXEIG.Rd
0a90e39a1de491ee74f5d8030bcd9cec576d1628
[]
no_license
cran/RTaxometrics
efdb7e4eb3c056d892b6802c08adaf7879e81903
f5bb4a3e0ccb44cc10e6ee0a13cd63697534d294
refs/heads/master
2023-06-08T05:14:27.529014
2023-05-30T11:00:02
2023-05-30T11:00:02
92,848,658
0
2
null
null
null
null
UTF-8
R
false
false
753
rd
RunMAXEIG.Rd
\name{RunMAXEIG} \alias{RunMAXEIG} \title{ Performs MAXEIG } \description{ This function performs the MAXEIG analysis } \usage{ RunMAXEIG(x, parameters) } \arguments{ \item{x}{ The data matrix } \item{parameters}{ The data and program parameters } } \details{ Called by higher-order functions; users do not need to c...
cb743bd42ed2877c2a7f45b891c61b2caf78098d
d12342ffe9a2659831f1749ce2f373d36bcf2659
/Rscripts/mapped_read_plots.R
9bf70a92440013679b7ff05cf27e765593e3e4da
[ "MIT" ]
permissive
felixgrunberger/Native_RNAseq_Microbes
4f2788e9ce0f812661c48c7d98837aff9adf1342
821b0fc24d343a82e091db0cad510bdfc9c44026
refs/heads/master
2020-08-31T00:32:56.057561
2020-06-22T10:10:58
2020-06-22T10:10:58
218,535,233
5
1
null
null
null
null
UTF-8
R
false
false
14,284
r
mapped_read_plots.R
########################################################################### ########################################################################### ### ### READ IDENTITY [%] TO GENOMIC FEATURES AND ENOLASE SPIKE-IN ### ########################################################################### ####################...
73ef8e856c1b8acc0907d5bf54edd93a3b024bf8
1b872282a8fcfa99273958a7f95fab6a813d7d09
/tests/testthat/test-hyperGeometricTest.R
da700badb91b4737afc1d90f5babd72541a8e943
[ "MIT" ]
permissive
mirax87/multiGSEA
cecc8e1b6ebedbe92a87ecb7a91034635b3b69c3
b8747abc1815ab4fa08ef024e77eee2a864ac6ed
refs/heads/master
2020-04-02T13:49:21.057653
2018-06-01T22:07:22
2018-06-01T22:07:22
null
0
0
null
null
null
null
UTF-8
R
false
false
1,243
r
test-hyperGeometricTest.R
context("Hyper Geometric Test") ##test_that("do.hyperGeometricTest performs like standard hyperG test", { ## vm <- exampleExpressionSet(do.voom=TRUE) ## gsl <- exampleGeneSets() ## gsd <- conform(GeneSetDb(gsl), vm) ## ## min.logFC <- 1 ## max.padj <- 0.1 ## ## my.hg <- multiGSEA:::do.hyperGeometricTest(gsd,vm,v...
78c0b88ab24adafc8113ee04e32e0fb1148605ab
5cb6c45b8fd2ff1f60a2db445fac19a135da0fe7
/cachematrix.R
132dbe3e63f3fbccc143032d2ce00936de4556f4
[]
no_license
suhasmallya/ProgrammingAssignment2
5172fb8655be61e07d6b8ca05e461d0ed6790ed6
8004ff0aebf9060151b9c2072fc326be49e00076
refs/heads/master
2021-01-18T07:55:53.286288
2014-10-26T13:59:29
2014-10-26T13:59:29
null
0
0
null
null
null
null
UTF-8
R
false
false
1,776
r
cachematrix.R
## cachematrix.R - contains two functions: makeCacheMatrix() and cacheSolve() ## ## makeCacheMatrix() creates a special matrix capable of caching its inverse ## cacheSolve() returns the inverse of a matrix - either by retrieving from cache or computing it ## makeCacheMatrix ## pmatrix: matrix parameter passed to the m...