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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
24611169e637ebb0b0847600777ca80e8452b9ab | d2dc4a6e3b8ff93e43f267690dcaa425def5fb3f | /managers.R | 382b769ca2736c727e33ccc5fc23647fe89fd059 | [] | no_license | priyankasahoolyit/DS_PRACTICALS_L00151175 | f7111ec3fb97d42d1826ffbf6de3e39bd6648810 | 7230b7d81aaf6e933ff2bd62761d0afd15286133 | refs/heads/main | 2023-03-21T07:05:14.705596 | 2021-03-16T14:28:39 | 2021-03-16T14:28:39 | 346,652,872 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,096 | r | managers.R | # Enter data into vectors before constructing the data frame
date_col <- c("10/15/18","10/11/18","10/21/18","10/28/18","05/01/18")
country_col <- c("US","US","IRL","IRL","IRL")
gender_col <- c("M","F","F","M","F")
age_col <- c(32,45,25,39,99)
q1_col <- c(5, 3, 3, 3, 2)
q2_col <- c(4, 5, 5, 3, 2)
q3_col <- c(5, 2, 5, 4,... |
88ac57fae373a01490f8dbc87cb75acb0685164f | 6bfb407d6dbc79e672a3886eab30a38012888d71 | /man/compPosts.Rd | dd3b55cc974e5e7e55ac1b74ec4b56bdc88d9c5c | [] | no_license | hferg/bayestraitr | ca438050b7565e0d6bf752ad8a9a152bd568a0b0 | 308253d82d02ec0c51414b4608c74fbe0acd528d | refs/heads/master | 2021-10-22T14:55:55.160296 | 2019-03-11T15:15:45 | 2019-03-11T15:15:45 | 107,663,993 | 0 | 0 | null | 2019-03-11T15:16:23 | 2017-10-20T10:16:43 | R | UTF-8 | R | false | true | 1,427 | rd | compPosts.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/compPosts.R
\name{compPosts}
\alias{compPosts}
\title{compPosts}
\usage{
compPosts(logs, pars, thinning = 1, burnin = 0, alpha = 0.5,
fontsize = 3)
}
\arguments{
\item{logs}{The name of the trait data file on which BayesTraits was run,
or a... |
fdfe38cba3d503a02279bfb0bbb52b09f96f882e | f70a41e996e76adbe3bb29f40c47fe7046e9b7d3 | /Interns/ClaireMarie/model_improvement.R | 73b23b9fd294db680d5c00999f5653157ae491f8 | [] | no_license | DrJonYearsley/Phenograss | 5c541e25fafff1ee6d1f746f5a4e40129b1abd2a | d3cce1fa799939f6f84201561a7b08907c56ea7f | refs/heads/master | 2022-08-12T10:50:32.685141 | 2022-07-15T14:37:31 | 2022-07-15T14:37:31 | 221,275,083 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 13,931 | r | model_improvement.R | #
# Creation of the dataset of all covariates for the improvement model
#
# Claire-Marie Alla
# 15/07/2021 - 30/07/2021
# ++++++++++++++++++++++++++++++++++++++++++++++
rm(list=ls())
library(sf)
library(stars)
library(segmented)
library(ggplot2)
library(nlme)
library(tidyr)
library(viridisLite)
libr... |
04b706619be0dc42e46ba6973233fde87dddd90f | dbce782290364e848d8f8bc34ef80109faac7690 | /cachematrix.R | ed90b3c9babf4ab433ef2bd5601ff62c21b22ebd | [] | no_license | dizien/ProgrammingAssignment2 | 6899771866217e5f2b540c89edd2ca25c00f5fe6 | 637318b4921fdbb9d35957841534a733a03926cd | refs/heads/master | 2021-01-21T08:44:13.986688 | 2014-11-17T08:09:53 | 2014-11-17T08:09:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,849 | r | cachematrix.R | ## Example usage:
## > M <- matrix(rnorm(25), nrow = 5) // Create a matrix M
## > cm <- makeCacheMatrix(M) // Create our special matrix
## > cm$get() // Return the matrix
## > cacheSolve(cm) // Return the inverse
## > cacheSolve(cm) ... |
dbfe3ae2c7a55f91ddbe801d4243d26cd2e7c157 | c223b48eaa8a5ad5394634b0cbc7c959dd7472db | /cachematrix.R | e23604c8ae4a8e029d0eb7e5c6845693637c5118 | [] | no_license | dcardonav/ProgrammingAssignment2 | 5e7c8aa589cc2cf8d797c3881069bdd372675d44 | f2732e48b0dbf661d1baa665137436ffc8e766c3 | refs/heads/master | 2020-02-26T14:27:07.787983 | 2015-01-25T21:53:04 | 2015-01-25T21:53:04 | 29,831,831 | 0 | 0 | null | 2015-01-25T21:24:21 | 2015-01-25T21:24:20 | null | UTF-8 | R | false | false | 1,134 | r | cachematrix.R | ## This code follows the skeleton of the example, only that it uses the function
## solve to calculate the inverse of the matrix, also added a message indicating when
## was the matrix initialized
## This functions creates a closure that contains the data about the matrix,
## in its first call, it doesn't store the in... |
586ff6453b711c102a54cf7805bb91f9093516ac | 2b66e8403221c00c9280387c0c23b8e0e49ec452 | /scripts/shannon_calc.R | 0b57d43027a0ac505e71a2964dfb5da55b9fd0b6 | [
"MIT"
] | permissive | nick-youngblut/SIPSimR | b143787564df4b3ae11d7050a82d0510eeabea66 | 087c769df8ecb970ae052954a404350f5bdb92b4 | refs/heads/master | 2021-07-17T15:19:33.367198 | 2018-03-19T19:26:36 | 2018-03-19T19:26:36 | 96,668,636 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,650 | r | shannon_calc.R | #!/usr/bin/env Rscript
# init
rm(list=ls())
# opt parsing
suppressPackageStartupMessages(library(docopt))
'usage: shannon_calc.r [options] <data>
options:
<data> Either a SIPSim OTU table or a list
of phyloseq objects.
-l The `data` & `data_preFrac` object
... |
d9a68ef4a64dd7b912a440a31c290ae59d29da06 | d6bfc60c25935e478c84cf57f3623154e2fb93ae | /gvis_for_jake.R | 00f836196e28ac4359b117d70592194e41899ea4 | [] | no_license | joebrew/misc | 64456c6080090f6caeab5f06a841b32e5abbe486 | 8d632607b05b6e5b6dfee7c408776aa6aa368cb0 | refs/heads/master | 2016-09-05T10:26:47.411972 | 2015-09-04T11:13:44 | 2015-09-04T11:13:44 | 23,672,319 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,357 | r | gvis_for_jake.R | #####
# ATTACH (AND INSTALL, IF REQUIRED) PACKAGES
#####
library(RCurl)
library(googleVis)
#####
# READ IN ALACHUA COUNTY'S "CONTROL FLU" DATA, AND NAME DAT
#####
my_link <- "https://docs.google.com/spreadsheets/d/1icEDpqkJVNuvGLV6GcULuvfVK0healPyPep3enHkceE/export?gid=0&format=csv"
options(RCurlOptions = list(cainfo ... |
8b76953c721c18b3741879b3341daeb7f8ae1bee | 486deb2a88424a9dd6e4761af999263a6fa316b8 | /man/filter.dead.ends.Rd | b2655dabca599a82fc8552d54344e70a40df0997 | [] | no_license | cran/eRTG3D | 4ba5c89aba6d9f2a2500b6514de7a8fd157b7561 | 785c339e125caad743cc40502d58bfe15d53d24c | refs/heads/master | 2022-03-24T18:26:26.296102 | 2022-02-25T11:10:05 | 2022-02-25T11:10:05 | 209,614,463 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 449 | rd | filter.dead.ends.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrapper3D.R
\name{filter.dead.ends}
\alias{filter.dead.ends}
\title{Remove dead ends}
\usage{
filter.dead.ends(cerwList)
}
\arguments{
\item{cerwList}{list of data.frames and NULL entries}
}
\value{
A list that is only containing valid tracks... |
b3a0b9f2dcf10db45dfdfebcd71ee0e2725032a8 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/psychmeta/examples/estimate_var_artifacts.Rd.R | b545797afb9e2861597ec1964bc3345435fd3666 | [] | 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 | 2,201 | r | estimate_var_artifacts.Rd.R | library(psychmeta)
### Name: estimate_var_artifacts
### Title: Taylor series approximations for the variances of estimates
### artifact distributions.
### Aliases: estimate_var_artifacts estimate_var_qxi estimate_var_qxa
### estimate_var_rxxi estimate_var_rxxa estimate_var_ut estimate_var_ux
### estimate_var_ry... |
5100e561c4484fe19573946af465b3bea5635f4c | 41560490ab5b1ed0bbe9add8b7a3f512022eb738 | /Rpurl/Repeated_RCBD_PiephoEdmondson2018.R | 4724b7c51d056775bfcc59c1c76880169affc55a | [] | no_license | lena-bauer/DSFAIR | 3fa1473f790fbabd24a33042b3f4e0b46eb92d66 | 6928bd3b0ff9c68dfb17a8ceaa46892c44c5819f | refs/heads/master | 2023-03-14T14:27:39.682718 | 2021-03-12T11:43:53 | 2021-03-12T11:43:53 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,774 | r | Repeated_RCBD_PiephoEdmondson2018.R | # packages
pacman::p_load(conflicted, # handle conflicting functions
agriTutorial, tidyverse, # data import and handling
nlme, glmmTMB, # linear mixed modelling
mixedup, AICcmodavg, car, # linear mixed model processing
emmeans, multcomp, # mean comparisons
... |
0efe32f120b832a839e5ab2e163418f2aa9f9130 | 29585dff702209dd446c0ab52ceea046c58e384e | /rLindo/R/rLindoParam.R | b25f01a18ae7d98d688bef8ad2c76b78feb97ac9 | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 77,068 | r | rLindoParam.R | #rLindoParam.R
#The R interface to LINDO API 8.0.
#This file includes all LINDO API parameter and constant definitions.
#Copyright (C) 2013 LINDO Systems.
LS_MIN <- +1L
LS_MAX <- -1L
LS_CONTYPE_GE <- 'G'
LS_CONTYPE_LE <- 'L'
LS_CONTYPE_EQ <- 'E'
LS_CONTYPE_FR <- 'N'
LS_CONETYPE_QUAD <- 'Q'
... |
9d78d26489d6b288a6be77d5c445e47cf6086d34 | f416f02e2e6eb2ab304966a1feabda65295228b2 | /R/attack_model_whale.R | 426b543e65853c8d1b6ea63dfd9514510fd5b038 | [] | no_license | nicholascarey/attackR | 5150a55ef9c7176e08178ae8b799ab959b3d770d | 287544fe96ef9eb58c33e3de1ed1755da97975ab | refs/heads/master | 2020-07-26T20:30:10.820508 | 2020-07-16T15:43:04 | 2020-07-16T15:43:04 | 208,758,145 | 0 | 0 | null | 2020-07-16T09:35:28 | 2019-09-16T09:14:23 | R | UTF-8 | R | false | false | 33,500 | r | attack_model_whale.R | #'@title Attack Model
#'
#'@description *\code{attack_model_whale}* models the visual aspects of an
#' attack by a whale on a prey
#'
#' This function is a customised version of *\code{\link{attack_model}}* which
#' incorporates the unique changes to a rorqual whale's visual profile caused
#' by it opening its huge... |
a51690fbe43b817008c4dbfd4411063589f88dad | 9c083e82eac6eb131c969ddf4e159b6d6f9958f8 | /MBS Project/modcode/optimization2.R | 95ce6466c5ec1dc834b06756806c6075bad2bde5 | [] | no_license | darvilp/MBSteam2 | e7ea4f82f75e543b40185f4c9f218d89a0e77ee3 | 4fbec6663fdc691197fb31ccc0e0e108914e1a97 | refs/heads/master | 2016-09-07T18:35:57.684538 | 2014-09-06T01:29:44 | 2014-09-06T01:29:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,131 | r | optimization2.R | #This was the emailed copy
## Load in the DiffEq solver
library(deSolve)
# Clear the memory
rm(list=ls())
#200 cases of polio in 2011-> taking into account Pakistan's pop and with .3% of cases reported:
#I=~.0004=4E-4 currently.
#So I=~ 1E-6 should be eradication condition
youngperc=.37
oldperc=1-youngperc
init.v... |
492629906f9e67b14d1a48e43e4fadb9d2b7dccc | 748cbafcae0eb56ab3a8752265aea50a427f2d5f | /graficos.R | d6d2681308d5fbbbdea5f64e9dcd5fcb0a5e7797 | [] | no_license | pho-souza/cultura | 16ba1e1acfe5a184d25466fb659b545d27da2bf7 | 732667bab89e74842d4060d00ea81b08619c1a85 | refs/heads/master | 2021-09-26T17:28:28.297523 | 2018-10-31T19:46:00 | 2018-10-31T19:46:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 46,743 | r | graficos.R | library(ggplot2)
library(ggthemes)
library(ggthemr)
library(ggrepel)
library(scales)
# Gráficos Linguagem -----------------------------------------------------------
tamanho=2
options(scipen = 2)
#Gráficos por linguagem
#Gráfico valores por linguagem
grafico_Valores_Linguagem<-linguagem %>%
ggplot(aes(x=Linguagem,
... |
99dfd279661ec8fc5f36cd90f5596b0d0e5d7e00 | 024d2ee48d6eae806e98cba16819eb2b3fd52f1e | /man/as.issue.Rd | 7f540885fa4da09ef380bef8d4340eb112eb55c1 | [] | no_license | Bioconductor/BiocContributions | eb4421f440afeb18f6c926fa0de2b6a4778e1949 | 13595f647f6b95af566583ffed0fe9a465147a69 | refs/heads/master | 2020-04-10T00:31:58.441908 | 2017-06-27T16:49:41 | 2017-06-27T16:49:41 | 40,479,641 | 1 | 1 | null | null | null | null | UTF-8 | R | false | true | 322 | rd | as.issue.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tracker.R
\name{as.issue}
\alias{as.issue}
\title{Coerce to an issue object}
\usage{
as.issue(x, ...)
}
\arguments{
\item{x}{object to be coerced}
\item{...}{Additional arguments passed to methods}
}
\description{
Coerce to an issue object
}... |
9ce902b4ed768d7fc207d4a10de6450d15e7602f | 56ae3b4dbc591d653343b762f8f1f3b9a0744e82 | /man/mode.Rd | bcc47227ca6d8f9f1aace426dad0446b9c7b8cc6 | [
"MIT"
] | permissive | ms32035/R-adasd | 38014ae244c6591719e62f3efb8011f5817d67e2 | 9d4dabddcf1d6a2f26b6cb2fbb464b0b086bca5f | refs/heads/master | 2016-09-06T19:28:33.627241 | 2015-01-24T17:24:20 | 2015-01-24T17:24:20 | 29,705,071 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 352 | rd | mode.Rd | % Generated by roxygen2 (4.1.0): do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{mode}
\alias{mode}
\title{Mode}
\usage{
mode(x)
}
\arguments{
\item{x}{- An integer vector}
}
\value{
Most frequent value of \code{x}
}
\description{
\code{mode} returns the most frequent value of an integer vector... |
ae56d71bf04e72a0c069ca8cc595b68853a37a63 | f7cb684b54e1f73dd8483b15ee2e0ae3351abf12 | /cachematrix.R | 0d1ecddacd8227b2f35178de6e1f8ef512bf520d | [] | no_license | gaoqn1985/ProgrammingAssignment2 | 34c9032ae1054ef2c8cc0d51d508cc6b76fa2000 | f68031c589404fab4847658c9e15d3fc6cb1c625 | refs/heads/master | 2021-01-18T12:36:48.823054 | 2014-04-27T16:26:14 | 2014-04-27T16:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,216 | r | cachematrix.R | # The function, makeCacheMatrix creates a special "matrix"
# which is really a list containing a function to
#
# set the value of the matrix
# get the value of the matrix
# set the value of the inverse
# get the value of the inverse
makeCacheMatrix <- function(x = matrix()) {
inverse <- NULL
setMatrix <- functio... |
16ed3b538e9cb11d075fedea0d0788c6b5e8face | 9cfdd919707a77d4832e7d3aec65a4ae2c56eb47 | /Okapi.r | 91bf42afbcbb4df50edf48777ab89a88d480e9f0 | [] | no_license | nondayo/Okapi | d82786e4cd1bcd2dae197620188ae1d49ba25c3f | 28c9dd3cc28a517cf03e1f7f3a851a8f700a1c5b | refs/heads/master | 2021-01-17T08:41:01.062351 | 2017-03-08T13:07:07 | 2017-03-08T13:07:07 | 83,945,350 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,510 | r | Okapi.r | library(jiebaR)
library(text2vec)
library(xml2)
library(dplyr)
library(httr)
# 爬蟲,將Okapi網站文章爬下來
table = lapply(c(1:9000) ,function(num) {
df = data.frame(number=num)
response <- paste0("http://okapi.books.com.tw/article/", num , sep="") %>%
as.character() %>%
GET()
abc <- cont... |
b357d623f87d90707395647eb4ba9002180e1ec3 | 3b5ab1e206635d838f46376d36f9762a1556ed3d | /man/predict.logisticr.Rd | 94fe20466080d50b20de33d1512b85ea381e32b7 | [] | no_license | MGallow/logitr | d0b355c7f5aa6966ea66793379a7e7fa206d0924 | 76ed1adf1f4408ed1e1c4ecda2b062041ab0de04 | refs/heads/master | 2021-01-19T13:45:53.835109 | 2018-06-21T00:11:17 | 2018-06-21T00:11:17 | 88,107,076 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 891 | rd | predict.logisticr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.R
\name{predict.logisticr}
\alias{predict.logisticr}
\title{Predict Logistic Regression}
\usage{
\method{predict}{logisticr}(object, X, y = NULL, ...)
}
\arguments{
\item{object}{'logisticr' object or matrix of betas}
\item{X}{matrix... |
47d2dfbd2415e40c2af62500f1bcf048cc565f5c | 82e5da2a0d20503903cb9807aa0aa68620273b3b | /MNLFA/scripts/find_balanced_sample.R | 37a38d881f9962daf1a13f82a54f8b5cc3778bf6 | [] | no_license | rrobinn/invariance-repetitive-bx | 4d865e6cb0edab34333333623e63f569337f5f53 | db04a1d3d17b73822f8d8f3b38698a8cc2c4ea15 | refs/heads/master | 2023-01-27T18:47:31.405037 | 2020-12-10T16:53:06 | 2020-12-10T16:53:06 | 234,354,868 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,731 | r | find_balanced_sample.R | #For longitudinal data, MNLFA requires a cross-sectional
#calibration sample. This code generates multiple calibration samples that have
#a similar age distribution
input.object = ob # MNLFA object
dir = input.object$dir
mrdata = input.object$mrdata
myindicators = input.object$indicators
myMeanImpact = input.object$me... |
4e63836158bb5b3dced9fa16973c5f9ac0e1b2b2 | 76e1ad0b4fea46946939c33e795b73d86ba2124b | /task4/task4explore2.R | fc914d5e847c38f1385d4b7660c71330bacca1b5 | [] | no_license | guidogallopyn/TextPrediction | a559940bd1e05ea9ff1e07a71c87dbc4b51ccba5 | dfeb4d109c686ea004cd1736a60cf418b7f37970 | refs/heads/master | 2021-01-02T09:15:11.169480 | 2015-04-27T18:21:36 | 2015-04-27T18:21:36 | 34,554,810 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 6,464 | r | task4explore2.R | # exploring storing, cleaning and basic tokenization and counting on very lorge corpora
setwd("~/Documents/Courses/DataScience/CapStone")
library(tm)
library(slam)
library(hash)
#library(RWeka) # don't load it, see http://stackoverflow.com/questions/17703553/bigrams-instead-of-single-words-in-termdocument-matrix-usi... |
5ee244e2bf5efcce2cf3fc6c1f7785e38b13f054 | 375c0d3412e884260d5dd53498b6d0c6857aa3d1 | /plot4.R | a4a9038b794412db1b736b5f86d28028bbca127c | [] | no_license | tommwilliamson/ExData_Plotting1 | 9247ce05ca98abc624e28b76fcd0742ddb658905 | 94b3b29794a271e4a23c432acacdd8940b4d97ff | refs/heads/master | 2021-05-07T06:28:32.427353 | 2017-11-23T21:53:21 | 2017-11-23T21:53:21 | 111,750,578 | 0 | 0 | null | 2017-11-23T01:46:48 | 2017-11-23T01:46:47 | null | UTF-8 | R | false | false | 1,315 | r | plot4.R | library(data.table)
# Load the data
all_data <- fread('household_power_consumption.txt')
# Select just the data from 2007-02-01 and 2007-02-02
sub_data <- all_data[all_data$Date %in% "1/2/2007" | all_data$Date %in% "2/2/2007"]
gsub("?",NA,sub_data, fixed = TRUE)
# Create date/time variable
dateTime <- paste(sub_data$D... |
b156c50b687aa61c40e6b240e374ca22ca0768a8 | 0af8332ed8cb059282d6b870a9eb843c1e6680bc | /Rpkg/R/mbl_tidy.R | a5233e3ba3b39c73613ab1d7e4cd424bc7c51680 | [] | no_license | tomsing1/mbl2018 | 44383313845897323be29fc9263e309276d38418 | 6c69e0693abf75955ad22b3e502b33a3c3c0e5d5 | refs/heads/master | 2020-03-19T02:22:25.456235 | 2018-06-20T17:12:27 | 2018-06-20T17:12:27 | 135,623,059 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,938 | r | mbl_tidy.R | #' Converts your expression data into a (huge) "tidy" data.frame
#'
#' Use this function to extract all of your expression data into a data.frame
#' that can be used with dplyr and ggplot to make arbitrariy informative
#' plots.
#'
#' @export
#' @seealso [mbl_plot_expression()]
#'
#' @param x The expression object to t... |
b9d2c2d00c3eef76b0854bff9434217cc0fe5c4c | 6e20f24df0673e606b2a61596a4155a5d16a2058 | /scripts/production/live_timing/in_race_stats.R | b6bc45fefc5e96bf68117d2a48cba1394e12ca79 | [] | no_license | drewbennison/thesingleseater | 1992a624b8abc5b6ca4feccee5d08be3d72283fd | 2723ec23e239bc06631d08943df101cce4d43a7f | refs/heads/master | 2022-03-18T13:05:56.778874 | 2022-03-07T00:12:33 | 2022-03-07T00:12:33 | 180,887,735 | 1 | 0 | null | 2019-04-29T15:36:49 | 2019-04-11T22:30:24 | R | UTF-8 | R | false | false | 2,253 | r | in_race_stats.R | library(data.table)
library(tidyverse)
library(lubridate)
library(png)
library(ggthemes)
dt <- fread("C:/Users/drewb/Desktop/2022_02_27_r.csv")
#lap speed
dt %>% select(-time_stamp) %>%
select(lastName, LastSpeed, diff, gap, overallRank, startPosition, laps, totalTime, lastLapTime) %>%
unique() %>%
filter(l... |
53902aeab930f07fefede127a69126f0b38af273 | 2c485b1c2f39fc3c269c6f578e21d698dcec63e6 | /R/accessors.R | 7dff3fb45ee2f959fee3862bc585db603790725d | [] | no_license | aalfons/simFrame | 002f47cad078c93dec24c4c9fab4893e7bb56922 | 23314f0b1f6632560e0d95dc568f708f3c1286a9 | refs/heads/master | 2021-12-23T10:23:44.587577 | 2021-11-23T12:46:58 | 2021-11-23T12:46:58 | 6,717,992 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 14,769 | r | accessors.R | # ----------------------
# Author: Andreas Alfons
# KU Leuven
# ----------------------
# mutator functions, whose generic functions contain the '...' argument:
# the expression needs to be defined in the environment of the generic
# function, but it needs to be evaluated in the environment one level
# furthe... |
abd9f5f062a7d256530adf9fe08d63eadd4369f5 | 5e85f011e52d2c5b51d833100e9e38677d047f6e | /Functions/gravel_functions.R | b6870af79a8e43976e70fe1dcde7b44bfc39c7e2 | [
"MIT"
] | permissive | Jpomz/honestly-you-eat-this | 26fce41c4f068ea31a5703999864c05ef878f156 | fa1fe624d73494769bf402f998a87096fb2e145e | refs/heads/master | 2021-06-16T00:55:20.503870 | 2019-05-21T19:35:03 | 2019-05-21T19:35:03 | 115,657,416 | 1 | 1 | null | 2018-02-07T05:29:39 | 2017-12-28T20:31:48 | R | UTF-8 | R | false | false | 3,067 | r | gravel_functions.R | #####################################################
# this script was copied exactly from the supplementary material of Gravel et al 2013, Methods in Ecology and Evolution. doi: 10.1111/2041-210X.12103
# if using, please cite the original publication
# J Pomeranz 27 Nov 2018
# original script below this line
######... |
1c3a0ebc96b4ec3651ebc614deb67057dfd4d0c4 | 16399902180809a4648e97beb7df23cf94e38374 | /man/get_tuik_month.Rd | 9ef1c9ba237cbd46e52bf5db807ebcfb98661068 | [] | no_license | AudioElektronik/artuik | ec1d2e7aae95832dcf5dfee1d639a4fdfb025546 | a43bfab683a556878e94765fbc9675901435de54 | refs/heads/master | 2020-12-03T20:24:41.293970 | 2016-10-25T12:52:13 | 2016-10-25T12:52:13 | 67,956,760 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 332 | rd | get_tuik_month.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/clean_utils.R
\name{get_tuik_month}
\alias{get_tuik_month}
\title{Getting month as numeric from TUIK data}
\usage{
get_tuik_month(month_vec)
}
\description{
TUIK gives months like this "01-January". This function is just for getting
c(1) out ... |
92bacfded14b729a158cfae78ea36729b50852be | 1c6acc9ac8520df58e703e42b41746b499c93cea | /Microsat_and_RAD_DAPC_map.R | 27758f0daee1684a4a7b4f35ba7a992be6e0fff0 | [] | no_license | DanJeffries/Jeffries-et-al-2016-crucian-phylogeography | 26bcc366c5809c52d4285c56c015e58155ff3b0b | 45aacea583029754a94a5a5472e3a4919394ebd8 | refs/heads/master | 2020-04-25T18:13:06.026423 | 2016-02-19T10:19:12 | 2016-02-19T10:19:12 | 41,794,954 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,654 | r | Microsat_and_RAD_DAPC_map.R | library(maps)
library(mapdata)
library(mapplots)
par(mar = c(0,0,0,0)) ## set plot window margins
par(pin = c(4,4))
par(mfrow = c(1,1)) ## set plot window size
mycolsolid = c("black", "red", "darkgreen", "blue") # set colours
mycol <- transp(mycolsolid, alpha = .8)
setwd("~/Dropbox/PhD/Dan's PhD (Shared)/Data/Microsat... |
721ab75d64663ede7cde71b8c75d2138c905dedc | 9aaa265c68cf699ae42fc8618c14b459c0c3fc4a | /plot4.R | d81ef20205c0bf1647319ef666b601167119989f | [] | no_license | gchamberlain/ExData_Plotting1 | dfba143a0514e22cd605ed9ecddb54ad5cacd499 | 6c92eac8341b95bc1b4e6d42445e619f1ba6d58a | refs/heads/master | 2021-01-19T23:33:35.963814 | 2014-09-05T19:09:50 | 2014-09-05T19:09:50 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,161 | r | plot4.R | plot4 <- function (){
##Install if not installed and load dplyr - I use this for filtering
if("dplyr" %in% rownames(installed.packages()) == FALSE) {install.packages("dplyr")}
library(dplyr)
##Read data in
power <- read.csv("household_power_consumption.txt", sep=";", na.strings="?", stringsAsFactors=FALSE)... |
7be81b7bf9823e55e728213c4ccd772a032c2754 | 77f7e4ef1491dce7647f1e05aad634ad0f77d584 | /man/validate_genes.Rd | 3d6dc2d4adaa52d83c912926f5b052ba18ed9c59 | [
"Apache-2.0"
] | permissive | nceglia/cellassign-1 | b4989ba398ed8780a2c9504bfdc3faf4b60c6b44 | 3a080938d1480abc0cbfd6320d0cdf284a686e90 | refs/heads/master | 2020-04-28T05:23:27.748646 | 2019-03-11T14:33:39 | 2019-03-11T14:33:39 | 175,018,128 | 0 | 0 | NOASSERTION | 2019-03-11T14:31:02 | 2019-03-11T14:31:01 | null | UTF-8 | R | false | true | 419 | rd | validate_genes.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{validate_genes}
\alias{validate_genes}
\title{Extract expression matrix from expression object}
\usage{
validate_genes(Y, rho)
}
\value{
The expression matrix and marker gene matrix, with only expressed genes, for input to \code... |
56b635633fe350f803d3b21bc47ec228ae350020 | 0029e6c7a7d29a2b28ea1a143c81abe98528263f | /man/rcpp_fit_fun.Rd | e1afdf14169c662ff57dd8e5312af15e8aad7e39 | [] | no_license | xiaobeili/regsem | dc2869acdb2beca03f2adfca18ceaa0a3a8d7466 | 43dfc639127467943047604172679d821b78c8c5 | refs/heads/master | 2020-07-14T00:39:27.155602 | 2019-08-29T15:21:00 | 2019-08-29T15:21:00 | 205,191,264 | 0 | 0 | null | 2019-08-29T15:14:31 | 2019-08-29T15:14:31 | null | UTF-8 | R | false | true | 741 | rd | rcpp_fit_fun.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rcpp_fit_fun}
\alias{rcpp_fit_fun}
\title{Calculates the objective function values.}
\usage{
rcpp_fit_fun(ImpCov, SampCov, type2, lambda, gamma, pen_vec, pen_diff,
e_alpha, rlasso_pen)
}
\arguments{
\item{ImpCov}{expecte... |
b9ee7c7e62ac5a4589b0c2da9f4799862f619a0e | f887889d3b7e27bd406cc53aceca9bbc59bb0789 | /MAIN_SCRIPT.R | 86cb3647a08cbd620fc5eaa483c87fa19b428930 | [] | no_license | Sineond/soviet_sports_magazines | eb6c770227a0ce58bdbdb1486cff54b559e02b9a | edd1dfa9d3a50efb7694b6e98cd6d746c524fcbb | refs/heads/master | 2022-09-30T23:32:21.806617 | 2020-06-07T17:48:00 | 2020-06-07T17:48:00 | 270,383,362 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 15,040 | r | MAIN_SCRIPT.R | library(dplyr)
library(tidytext)
library(stopwords)
library(stringr)
library(quanteda)
library(textclean)
library(qdapRegex)
library(tm)
library(tidyr)
library(readtext)
library(openxlsx)
library(stringr)
library(ggplot2)
library(hrbrthemes)
install.packages("janitor")
update.packages("tidyselect")
remo... |
5247b9d716de820629b7178bdbaa43a485ee47f8 | 3646e6edc7b38488a562a99d34c4f764c7163b23 | /WTCTools/inst/tests/test.getStat.R | e26c309d0960635a42f2725ae70bc950d344efaa | [] | no_license | CSJCampbell/WTCTools | 2d98f0659ffc79edaa10a0a949799e3a577a0d64 | e97b1af05ad2003a5a7811f7f7acc72dfddb7773 | refs/heads/master | 2021-06-02T17:17:12.413625 | 2017-09-21T01:18:12 | 2017-09-21T01:18:12 | 41,179,428 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,420 | r | test.getStat.R |
context("check get statistic")
test_that("getStat", {
pl <- matrix(data = c(0, 30, -30, 0), nrow = 2,
dimnames = list(c("a", "b"), c("a", "b")))
dat <- data.frame(round = rep(1:6, each = 2),
player1 = rep(c("A", "B"), times = 2),
player2 = rep(c("B", "A"), times = 2),
... |
a35a31ba7b647b1e7d0fe3a84b766bbe48027466 | ee386dda6eabd44b32a5aa27a7133e99fe9ddbdf | /R/growthUI.R | 57cfa4d19b03fe59e1ec9b67c40796a3511925db | [
"MIT"
] | permissive | wStockhausen/shinyTC.CohortProgression | e04bfef4b84be8e25bc7e3cafbc802145f0117a3 | 66dfc28485591be428bcdf53425a9371a3f1628c | refs/heads/master | 2021-07-22T11:46:48.164159 | 2021-07-17T15:59:41 | 2021-07-17T15:59:41 | 178,032,818 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,433 | r | growthUI.R | #'
#' @title UI for the Shiny Tanner crab growth module
#'
#' @description Function to create the UI for the Shiny Tanner crab growth module.
#'
#' @param id - a character string that uniquely identifies the growth module in the enclosing Shiny UI.
#'
#' @return A Shiny tabPanel allowing the user to change growth param... |
c05a27d4f94720df70b09c57a61d9572176cf572 | 39119a34464e2235b2e94a5e5513d803db480c15 | /lmDetMCD.R | 24db941258e995e03fda3086d4f28db01cb4d9bb | [] | no_license | kopyakova/tas | bf90a5c5e8c9b66a5bcc4092f914bc2bf9b83bda | 7d329938d60af9deac33a8bd57e1dde70b86f333 | refs/heads/master | 2020-12-21T17:21:23.604217 | 2020-02-09T19:59:29 | 2020-02-09T19:59:29 | 236,502,174 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,372 | r | lmDetMCD.R | ## Function for regression based on the deterministic MCD
# Input:
# x ........ matrix of explanatory variables
# y ........ response variable
# alpha .... proportion of observations to be used for the subset size in the
# MCD estimator
# anything else you need
# Output
# A list with the following compone... |
af923fbedb9eaabab5a074d885ec1560497a6708 | cc30f2417f0bb348a7603406ef993995e9fa8a7d | /tests/testthat/test for parent_sel.R | 4069486071d7b854c555bdd812bc854dea22355e | [] | no_license | lalalaeat/Genetic-Algorithm-of-Multivariate-Regression | 9d674139a8c6340cda0f8ad349d3c1853ca74974 | 7b63f2726fea42bca37a6cb24d19d1701f43228c | refs/heads/master | 2021-01-06T19:57:16.635232 | 2020-02-18T21:27:14 | 2020-02-18T21:27:14 | 241,469,417 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 154 | r | test for parent_sel.R | context("Test for parent_sel")
test_that("Scores is an appropriate vector", {
expect_true(is.numeric(scores))
expect_false(is.infinite(scores))
}) |
afb2289476cda37642092a92fff0a5742d0fa8ef | 477d8d072d7f7e8a58b5b818f300f537243f366d | /src/BAMreport.R | 2510c8ca8e9d06c6a210512a98d934ad279e868e | [
"MIT"
] | permissive | shulp2211/BAMreport | ddec0b1bbec2d5537aa82be0e304983a0ff5a8be | 7f492494cc6823e663c33d572815b0f0567dca2e | refs/heads/master | 2020-09-25T12:33:00.129868 | 2017-10-10T18:45:59 | 2017-10-10T18:45:59 | 226,006,020 | 3 | 1 | MIT | 2019-12-05T03:14:05 | 2019-12-05T03:14:04 | null | UTF-8 | R | false | false | 16,665 | r | BAMreport.R | #!/usr/bin/env Rscript
library(MASS)
library(grid)
library(gtable)
library(gridExtra)
## Default when nothing is passed
args = commandArgs(trailingOnly = TRUE)
if(length(args) == 0){
args = c("--help")
}
## Help section
if("--help" %in% args) {
cat("
Prepare a report for the input BAM file.
A... |
364a0f1f59fa0c2d4b6b6cbaae819f51fbbeeed0 | 6a7966e6d4ba1ed513c9f806572dc95cdaeb4c57 | /Plot6.R | babec61dc0a9db43a9aadf987683f9c51ffc9943 | [] | no_license | norlindah/Module-4-Course-Project-2 | 8d69622925d3284ca08d8e52a8e2f0a4c1518e06 | e8749d047f905cd2abd5f2f15d6f3cdae183c97f | refs/heads/master | 2021-01-19T02:24:10.586627 | 2017-04-05T08:10:53 | 2017-04-05T08:10:53 | 87,273,827 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,489 | r | Plot6.R | # Q6: Compare emissions from motor vehicle sources in Baltimore City with emissions
# from motor vehicle sources in Los Angeles County, California (fips == "06037").
# Which city has seen greater changes over time in motor vehicle emissions?
## Read file
if(!exists("NEI")){
NEI <- readRDS("summarySCC_PM25... |
0c61010c8a25232f699ba993435703c52947025d | 7069cfc271fac646ea6dcaf78d0bd494d1cb7095 | /unused/DAscreenplotting.r | 37cdc54505e3238566b6d21db3fce4de65adc231 | [] | no_license | chiser/T-maze-drosophila | 8591e890d863a5f41c7feabf31bd585d07584cbc | f4129d5eb6220256e4c40d42035d787a5bdbba41 | refs/heads/master | 2021-12-25T03:11:28.559974 | 2021-09-25T19:42:29 | 2021-09-25T19:42:29 | 41,262,113 | 0 | 1 | null | null | null | null | ISO-8859-10 | R | false | false | 6,425 | r | DAscreenplotting.r | ##### Import the csv file into R
Tmaze <- read.csv(file.choose(), header = TRUE, sep = ";", quote = "\"",dec = "," )
nExp <- length (Tmaze[[1]])
nGroups <- length(levels(Tmaze[[1]]))
# I get errors every time with apply functions...I forget it for the momment
#Tmaze$PI <- apply(Tmaze,1,function(Tmaze=Tmaze) (Tmaze[... |
d586b829c1be59cb4791cae0d08a06733dfd2653 | 6a5ccc17ea4cfa439538b8b0292afae3f342af60 | /010_forecast/20161023_カオス時系列の基礎とニューラルネットワーク.R | 8ebf2eb17f50dc41d1413aac3341ac2917a2722a | [] | no_license | Tonoyama/website | a4fb1ea2f773e30a541248d7894244714055b383 | f78d0cec4ae183cd63891b87f950a4512d481ca2 | refs/heads/master | 2023-02-03T08:50:18.658843 | 2020-12-19T04:56:14 | 2020-12-19T04:56:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,658 | r | 20161023_カオス時系列の基礎とニューラルネットワーク.R |
# カオス時系列の基礎とニューラルネットワーク | Logics of Blue
# https://logics-of-blue.com/カオス時系列の基礎とニューラルネットワーク/
# 2016年10月23日:新規作成
# 2018年04月25日:コードを一部修正し、動作確認
# 馬場真哉
# ロジスティック写像 ---------------------------------------------------------------
# 必要であればパッケージをインストール
# install.packages("nonlinearTseries")
library(nonlinearTseries)
# n... |
ba180ab8f810f319029867c06f6f45c919ab3095 | 713b7d218b003042987eaca3329cac66d262250a | /man/PosWM.Rd | e53ed2b2ad98a4cf27f069cc71fdd815e70ce839 | [] | no_license | GfellerLab/PLDpred | d835da6e8b4ea173e18bc62241dd56f11356ffa7 | 05913e1ada555e84a272de484b99dcbe8a779434 | refs/heads/master | 2021-07-05T04:47:27.477600 | 2020-10-01T06:47:48 | 2020-10-01T06:47:48 | 189,026,602 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 373 | rd | PosWM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/PWMgenes.R
\docType{data}
\name{PosWM}
\alias{PosWM}
\title{Position Weigth Matrix per HLA-gene}
\format{object of class RData}
\usage{
data(PWMgenes)
}
\description{
Position weight matrix calculated for each gene based on HLA sequences in I... |
91dcda640e8adccbe8767c599751c8e3b166f1e4 | a7c06b7db20c3b64f97dabdc539246818331ec14 | /experiment.R | b81489d11dfe66bd9be78bd8ba728d1bb1e1f29b | [] | no_license | damarals/Trab1 | a1d2cd30c1f811827e4c2ef0a8e0de176532df2f | f15f05f3da29502556c98cce5f956986b2ada371 | refs/heads/master | 2023-08-07T04:52:11.904618 | 2021-09-16T14:24:03 | 2021-09-16T14:24:03 | 405,504,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,602 | r | experiment.R | # load data --------------------------------------------------------------------
coln <- 24
u <- glue::glue('https://archive.ics.uci.edu/ml/machine-learning-databases/00194/sensor_readings_{coln}.data')
da_robot_colnames <- c(paste0('us', 1:coln), 'class')
da_robot <- readr::read_csv(file = u, col_names = da_robot_coln... |
683f0942a1e1a8e0d2ddda37411e99b42d0def78 | 02fe930e2f9c76fea9643d013e98ab937724579f | /R/humanIDterms.R | 36375b295190fb0cca7b4ce55794e42df88b8834 | [] | no_license | sturkarslan/DuffyTools | ec751c1b58db5bef30ccc76f6e2afbc26c317d7d | 10c540eaabdda27c14ddc9e27096e52444a2a67c | refs/heads/master | 2016-08-04T23:58:02.110791 | 2014-11-26T18:09:35 | 2014-11-26T18:09:35 | 27,187,826 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 835 | r | humanIDterms.R | # humanIDterms.R - turn human GENE_IDs into two extra columns ENTREZ_ID and common NAME
getHumanIDterms <- function( geneIDs) {
geneIDs <- as.character( geneIDs)
# format is {commonname:GInumber:chromosome:location}
ginum <- sub( "(^.+:GI)([0-9]+)(:?.*$)", "\\2", geneIDs)
nam <- sub( "(^.+?)(:.*$)", "\\1", gene... |
884992f8e0af8360096d08569fbac29dbd75b679 | 775b84bf87a7ea3a4ac509ae6b8d9832b8b0093e | /plot1.R | 1cdcf45329c0fb04b8b19dd3349a21c8df0d71a5 | [] | no_license | Patrick-J-Close/ExData_Project2 | 7e75d220c6334f53b87b03ac1590e5d86cb40960 | ccc216dee1c05d674015ab33e0d1e817a4028139 | refs/heads/master | 2016-08-12T15:10:14.021836 | 2015-10-25T18:38:44 | 2015-10-25T18:38:44 | 44,480,898 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 755 | r | plot1.R | ##Coursera Exploratory Data Analysis Project 2
#
setwd("C:/Users/Patrick Close/Documents/Courses/ExploratoryDataAnalysis/Project2_Data")
#
if(!exists("NEI")){
NEI <- readRDS("summarySCC_PM25.rds")
}
if(!exists("SCC")){
SCC <- readRDS("Source_Classification_Code.rds")
}
#Plot1
#Have total emissions from PM2.5 ... |
6cb576e5fbddbca2d22a8ef7b7c7b7ff92928ecb | 8d3d3cb60740ab51a318d130cc8ec21014098a76 | /plot2.R | 60d1a54aaa08bc424f8afedc7526d1716f83af91 | [] | no_license | ritesh256/ExData_Plotting1 | 18ad2876e613864d92674a3892f208b80c3127a6 | 1ffe406a06cecda6696a33072d0c92c9cf2efb2e | refs/heads/master | 2022-05-14T18:40:49.930538 | 2022-05-05T12:32:25 | 2022-05-05T12:32:25 | 22,800,486 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 563 | r | plot2.R | plot2 <- function() {
dataread <- read.table("household_power_consumption.txt", sep=";", header=T, na.strings=c("?"),colClasses="character")
dataread$Date <- as.Date(dataread$Date, "%d/%m/%Y")
finaldata <- dataread[which(dataread$Date >= "2007-02-01" & dataread$Date <= "2007-02-02"),]
finaldata$Date <- strptime... |
6769a5388acda5ecb90151b6c16e41ca902829e7 | fabdac62fcb0951d98d71a8ec0604900479bfba8 | /R/tunable.R | 574ba9098fb64e217752434d4a306922dd5a7c02 | [
"MIT"
] | permissive | r-lib/generics | bec3bcb8b7f55fbda1e22998b562d067e6cb268a | 387397154bb8488a0b6dfbcbba91b781d598ee0e | refs/heads/main | 2022-07-11T20:36:04.652473 | 2022-07-05T21:25:22 | 2022-07-05T21:25:22 | 137,095,400 | 53 | 18 | NOASSERTION | 2022-07-05T21:23:47 | 2018-06-12T15:55:26 | R | UTF-8 | R | false | false | 1,515 | r | tunable.R | #' Declare tunable parameters
#'
#' Returns information on potential hyper-parameters that can be optimized.
#'
#' @param x An object, such as a recipe, recipe step, workflow, or model
#' specification.
#' @param ... Other arguments passed to methods
#'
#'@return A tibble with a column for the parameter `name`, informa... |
51640ba58577a4db8fbb28d33e3ecbdf4fdd9e33 | 9f4c069e7a174b333bf7b315853e0040eedc1eb5 | /man/Split.Seasons.Rd | 62aadd2e23e1f3589fe9d932d0c9f3de1b250974 | [] | no_license | amitghosh-ag/CropWatR | 6fe4ecbf7212773243e9f7413503407acc5724d7 | 90ce6155a54d0434b0e13064f194b71e962539de | refs/heads/master | 2020-05-07T08:35:53.860173 | 2019-04-09T09:58:09 | 2019-04-09T09:58:09 | 180,337,562 | 0 | 1 | null | 2019-04-09T09:56:53 | 2019-04-09T09:56:53 | null | UTF-8 | R | false | false | 5,802 | rd | Split.Seasons.Rd | \name{Split.Seasons}
\alias{Split.Seasons}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
%% ~~function to do ... ~~
}
\description{
%% ~~ A concise (1-5 lines) description of what the function does. ~~
}
\usage{
Split.Seasons(Crop, Variable, Lat.long, TopSoil, Crop.Layers, PH)
}
%- maybe also... |
2584fa2ce295d17738bcc22042aa71a2968f79c5 | d42d8794ec113887571abaecb926f60e9be6cf3e | /man/hydroplot.Rd | 6b93e418a9883c722b6545300e738c42ee33261d | [] | no_license | cran/hydroTSM | f5adb9f9541fd9e89675283a9bfc9c115eb1dad2 | d6e5846e1604fca0b835352d6595eaf121656a99 | refs/heads/master | 2020-06-07T18:36:12.569941 | 2020-03-11T15:50:03 | 2020-03-11T15:50:03 | 17,696,710 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 11,053 | rd | hydroplot.Rd | % File hydroplot.Rd
% Part of the hydroTSM R package, http://www.rforge.net/hydroTSM/ ;
% http://cran.r-project.org/web/packages/hydroTSM/
% Copyright 2008-2013 Mauricio Zambrano-Bigiarini
% Distributed under GPL 2 or later
\name{hydroplot}
\Rdversion{1.1}
\alias{sname2plot}
\alias{hyd... |
9d9942f9d97b46cdb20f5e032d48f2e2101921f2 | ee284711423ebb0e157b460247177f4b7afbceeb | /scripts_git_done/Deseq2_adundanse.R | 3f4ce6542b078982ab85dd3d865ebe446e0b47d9 | [] | no_license | crabron/temp | 645b690c8fcb4cc8152b7c8fada3cd85a8bf4ea9 | 1dba39476db86c219191ea68052b3b34b98566a8 | refs/heads/master | 2021-06-25T11:35:29.299661 | 2020-09-09T01:49:19 | 2020-09-09T01:49:19 | 157,358,205 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,961 | r | Deseq2_adundanse.R | diagdds_more = function(ps){
diagdds = phyloseq_to_deseq2(ps, ~ Repeats)
diagdds = DESeq(diagdds, test="Wald", fitType="parametric")
res = results(diagdds)
res = res[order(res$padj, na.last=NA), ]
sigtab = res[(res$padj < 0.1), ]
sigtab = sigtab[(sigtab$log2FoldChange > 1),]
sigtab = cbind(a... |
0568877202a475cf15aeccfe9f8f05cab6a6dbcf | 2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0 | /fuzzedpackages/GLMcat/R/TravelChoiceDoc.R | 5fd5a61569e9617ddc804b181652f381b0b7a17f | [] | 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 | 1,322 | r | TravelChoiceDoc.R | #' Travel Mode Choice
#'
#' The data set contains 210 observations on mode choice for travel between Sydney and Melbourne, Australia.
#'
#' @docType data
#' @usage data(TravelChoice)
#'
#' @format{A dataframe containing :
#' \describe{
#' \item{indv}{Id of the individual}
#' \item{mode}{available options: air, train, b... |
0ec6dac42292d6ad2e8c9e5846c03bd521387d1f | c6b6c3c5188499033ffe39c737fe0e7c5e390a83 | /plot.r | 6b25da5811d1e55afe7bf2469caa226dcb0fdd23 | [] | no_license | beckymak/quandl | 1bef499e5602843da65d24ce0580a1ea58932fd8 | 3702df4aeb8e0ec5d80e51c7ac95b178fb1eb635 | refs/heads/master | 2020-05-18T13:11:13.382773 | 2015-04-16T09:31:35 | 2015-04-16T09:31:35 | 33,979,256 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,249 | r | plot.r | ## Base plot
library(Quandl)
sdate = "1990-01-01"
edate = "2015-03-31"
hsi = Quandl("YAHOO/INDEX_HSI", type = "zoo", start_date = sdate, end_date = edate)
sp = Quandl("YAHOO/INDEX_GSPC", type = "zoo", start_date = sdate, end_date = edate)
data = merge(hsi,sp)
head(data)
par(mfrow=c(2,1))
plot(data$Close.hsi, type="... |
17337aa94a237f464412ef280dda63894d15f12e | 130b5eee29ef3b2007226ff02e1dbc0f415b989b | /bin/pid_pergene_ncRNA_mRNA_combo.R | ce3f34586de66588e272ae9fcc6407a73186f552 | [] | no_license | srm146/twilight_zone | 7031842f5a9ddf626eda972735f50b8e16181275 | 09fa49ec11efb60920f678b0cd74127a08888d22 | refs/heads/master | 2022-01-19T05:13:48.067384 | 2019-05-08T01:57:06 | 2019-05-08T01:57:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,408 | r | pid_pergene_ncRNA_mRNA_combo.R | #opening and storing all the required files
setwd("/media/stephmcgimpsey/GardnerLab-backup1/Refseq/Sequences/hmmalign_output")
#do the protein stuff - single & combined + totals
#.1alipidnuc.counts
#all_mcRNA_pid.counts
mRNAtot<-read.csv("all_mRNA_pid.counts",header=FALSE, sep='')
#####ALL THE SINGLES NEXT
setwd("/m... |
23a7fb6d587ab102a3d3d726eabb0a7af7e79879 | 31d0a769a6c7c205eabb299e1cc67caa7e863bfd | /R/NCRNWater_Park_Class_def.R | 13b1a1c472814a4cd2c71cc0ffcb9259740422ac | [] | no_license | NCRN/NCRNWater | 832ec864dd244d351a61fba71bbd51dfb7125ef2 | 87a16069713e2ea188d8bb8a2ae0cab97a43af4f | refs/heads/master | 2023-05-24T20:46:33.926355 | 2023-05-02T15:26:13 | 2023-05-02T15:26:13 | 53,692,951 | 5 | 8 | null | 2023-05-02T15:26:15 | 2016-03-11T19:53:41 | R | UTF-8 | R | false | false | 1,233 | r | NCRNWater_Park_Class_def.R | #' @title S4 Class Definition for Park object in NCRNWater
#'
#' @description An S4 class that contains the data from water monitoring from a single park. Data on sites will be stored as one or more S4 objects in each park object
#' @slot ParkCode A short code to designate the park, typically an NPS 4 letter code. ... |
4d154d263095a076cf2a3c4a62750bc6bff8ccc9 | bbc835ef62629e1e0df3c4df1d4984bddc622b6b | /R/mj_mode.R | 7aa2b271f23d07fb63590777a30376043e800ba4 | [] | no_license | mjmarin/mjtools | 643eb9a8a3d9b273a9f8b98e461404116082f94e | 69a7a1855b68bf84d70d2bb761fcd5973893ad48 | refs/heads/master | 2021-07-23T03:52:23.119629 | 2017-11-04T10:09:56 | 2017-11-04T10:09:56 | 109,036,870 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 426 | r | mj_mode.R | #' @title Mode of a numeric set
#' @description
#' \code{mj_mode} computes the statistical mode of a set of numbers
#' @param V Vector of numbers
#' @return Most repeated sample
#'
#' @author Manuel J. Marin-Jimenez
#'
#' @examples
#' mj_mode(c(1,2,2,3,1,2))
#' @export
mj_mode <- function(V)
{
uV <- sort(unique(V))... |
2ec6dbb96819b2b61cfe730df7a799d085ec10e8 | 7dfc42a2633f4734244b025546bd0df1207d005f | /R/qck_raw_data.R | b2e90f23b742c0d2e89c35a024c5850f7689619e | [] | no_license | rmylonas/Prots4Prots | 1ccf29431badeffb74bfb74d5b9eee57cf34f211 | 88f144908b2229fd455ca8c797943fe20c163d9d | refs/heads/master | 2021-01-21T08:50:33.181495 | 2014-12-10T17:06:27 | 2014-12-10T17:06:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,593 | r | qck_raw_data.R | #' @name QualityCheck
#' @title Quality check
#' @description
#' Quality check of raw data.
#'
#' @keywords Quality_check
#'
#' @section Introduction:
#' Data to be treated need to be checked for integrity.
#'
NULL
#' @title Report QC on raw data
#'
#' @description Report QC on raw data
#'
#' @details
#' Report ... |
84b18a3a0b322efe859214969b025669bd91b7ef | 911d4a1591a8b90514ccbe8fba37b3717761d38a | /R/clustering_quality.R | c9555e13952649d20e02cd2899e320ec6602aec4 | [
"MIT"
] | permissive | Nowosad/motifplus | f461dc72fee0f2d06ec5a48b3ec41ed6611e0bc8 | ad68f47266dd067aad12c09618f4638ce6fad41e | refs/heads/master | 2023-01-14T06:44:06.788452 | 2020-11-21T10:38:07 | 2020-11-21T10:38:07 | 314,783,034 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,861 | r | clustering_quality.R | #' Measures a degree of mutual dissimilarity between all objects in a cluster
#'
#' @param my_k - a cluster number (from the k column)
#' @param df - a tibble with the k column and the signature column
#' @param sample_size - size of the sample (~maxhist)
#'
#' @export
k_homogeneity = function(my_k, df, sample_size){
... |
0a425ed069bbdafb07f8f321b897274cef6d54d2 | 6572dad13e8786a255496e0567a9cfd74715deed | /R/DONKI_Notifications.R | a266fc16d1bb222222070cf2576e2bf754d6ca84 | [] | no_license | Liu-Zhichao/nasaR | f6e21d75feb91ed6a4c994d3d47cb3cf8abb5494 | 3a992b4a097e0fddea616cb45b40f39741a8c531 | refs/heads/master | 2020-09-29T06:27:41.054893 | 2019-12-12T20:51:48 | 2019-12-12T20:51:48 | 226,975,444 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,655 | r | DONKI_Notifications.R | #' DONKI_Notifications: Space Weather Database Of Notifications, Knowledge, Information - Notifications
#'
#' Get access to the data of Notifications.
#'
#' @param key String. Your NASA API key, you can enter your key in the function parameter, but it's not recommended. Instead, you'd better save your key in R environm... |
842c1d7eecc548d783426b84121831387b17e0d2 | 87a751ca2b329ce662781107720f519f4a9dd714 | /man/mixture_pls.Rd | dd188a21b2405a4851ed3a101f4581871da32ac7 | [
"MIT"
] | permissive | ck37/tlmixture | 74171f01ba49806a5509606241e3f45662079c56 | 3ebf16cec099018daec4ac7dce7860c998e6a7d4 | refs/heads/master | 2023-04-11T03:03:07.311529 | 2021-04-22T20:54:58 | 2021-04-22T20:54:58 | 162,472,693 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 530 | rd | mixture_pls.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mixture-pls.R
\name{mixture_pls}
\alias{mixture_pls}
\title{Create exposure weights using partial least squares}
\usage{
mixture_pls(
data,
outcome,
exposures,
exposure_groups,
quantiles,
verbose = FALSE
)
}
\arguments{
\item{data... |
48e996fbe5919468670f5bd6beb96895d60b779e | 81def1155e21fd385b896ba4625a3a0f7ab4f37b | /R/tip_eg.R | 1b7c3d91f78c4f5495845619ad7853de382c3951 | [
"MIT"
] | permissive | caboulton/asdetect | 5b7ff8dccea7881ec1908133878fa76ab6610ba3 | ac808828b5e38b7be98106ace26fa724b2dec522 | refs/heads/master | 2020-05-07T08:51:42.018565 | 2019-04-09T12:01:23 | 2019-04-09T12:01:23 | 180,349,926 | 5 | 2 | null | null | null | null | UTF-8 | R | false | false | 505 | r | tip_eg.R | tip_eg <- function(tend=1000, tiploc=900, s=0.1, dt=0.5) {
len <- tend/dt
t <- rep(NA, len)
t[1] <- 0
for (i in 2:len) {
t[i] <- t[i-1] + dt
}
mu <- 2*sqrt(3)/9
m <- t*mu/tiploc
x <- rep(NA, len)
x[1] <- -1
for (i in 2:len) {
x[i] <- x[i-1] + dt... |
53662f685b19ecdd7977b4b927e7566e6dc74a52 | a7f773270dfeb0e566e103d75c22556ddba88b1c | /CS112 Draft.R | c8d366aa58e2c2eb8638a71ffa1d8877670d3719 | [] | no_license | anggunberlian/cs112 | 2230595e05d61617263f06ab928d60fd156d4365 | 1b6cf93c544540be3298527549a62ddb4c3ac1fa | refs/heads/master | 2020-07-29T16:44:02.826725 | 2019-11-24T21:18:05 | 2019-11-24T21:18:05 | 209,887,057 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,221 | r | CS112 Draft.R | setwd("/Users/anggunberlian/Desktop/CS112")
### Multilateral Development Institution Data
foo <- read.csv("https://tinyurl.com/yb4phxx8") # read in the data
# column names
names(foo)
# dimensions of the data set
dim(foo)
# quick look at the data structure
head(foo)
# take note of the columns representing calendar dates... |
313bf6efc16d234ca19a368f88ccfa3c6edabda3 | 13457e168e5628a931e3dd3ab696a865e05327e5 | /R/RandomSkewers.R | 6bebe04eaf1ef910fd64727f26a12b0853d495cc | [
"MIT"
] | permissive | aivuk/Morphometrics | 3c74f652295796384b08becdca82452d074013b1 | 4371a964cf3dd52573560abded1e0f0861c2bf30 | refs/heads/master | 2021-04-12T08:59:55.965063 | 2015-02-15T03:06:57 | 2015-02-15T03:06:57 | 30,614,868 | 0 | 0 | null | 2015-02-10T21:14:12 | 2015-02-10T21:14:12 | null | UTF-8 | R | false | false | 3,824 | r | RandomSkewers.R | #' Compare matrices via RandomSkewers
#'
#' Calculates covariance matrix correlation via random skewers
#'
#' @param cov.x Single covariance matrix or list of covariance matrices.
#' If single matrix is suplied, it is compared to cov.y.
#' If list is suplied and no cov.y is suplied, all matrices
#' are compared.
#' If ... |
05d53783a8dba52785a03490716704b9b38e739f | 3eefcbaa7faaff48f1335a3a3e4dc56e114c1ab0 | /TFs_by_TADs_signifTADs_v2_permutG2t.R | 2e8cea2d9c1f5f273f0160b51156cbf48bc56325 | [] | no_license | marzuf/v2_Yuanlong_Cancer_HiC_data_TAD_DA | 9a435c08a9064d127a86d9909042bb4ff59ad82d | e33a0683ac7a9afe21cfec06320c82251d3ba0d5 | refs/heads/master | 2021-06-16T15:57:30.182879 | 2021-05-18T08:36:44 | 2021-05-18T08:36:44 | 202,159,949 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,357 | r | TFs_by_TADs_signifTADs_v2_permutG2t.R | startTime <- Sys.time()
cat(paste0("... start - ", startTime, "\n"))
require(foreach)
source("../Cancer_HiC_data_TAD_DA/utils_fct.R")
require(doMC)
registerDoMC(40)
# Rscript TFs_by_TADs_signifTADs_v2_permutG2t.R crisp
# Rscript TFs_by_TADs_signifTADs_v2_permutG2t.R c3.mir
# Rscript TFs_by_TADs_signifTADs_v2_permutG... |
3a4e6d901463336a2b3f81daaa18e3470a4e124d | 9e98d6c50c13b4f8baa09de949cf6092bb27ec9f | /钢铁/钢铁报表数据调整.R | d5567699409c33d348baa93f36b9dc4beaf8d26a | [] | no_license | DanieljcFan/genial-flow-model | 620e8d048a12db3ed6a6c5a1bbbe22a34efbbbf3 | 6d464c6c5ed50fb44cbeb101e4598b040d85dc69 | refs/heads/master | 2021-01-19T23:20:54.933071 | 2017-08-31T09:27:50 | 2017-08-31T09:27:50 | 101,262,811 | 0 | 0 | null | null | null | null | GB18030 | R | false | false | 636 | r | 钢铁报表数据调整.R | setwd("I:/work/genial-flow/钢铁/")
load("gt.Rdata")
steel <- gt
rm(gt)
# 鞍钢时间格式调整
index <- which(!is.na(as.numeric(steel$report_period)))
tmp <- steel$report_period[index]
tmp <- as.POSIXct(as.numeric(tmp)*86400, origin = "1970-01-01")
steel$report_period <- as.POSIXlt(steel$report_period, format = '%Y-%m-%d')
steel$rep... |
936f7d61818c790781b52efdaee017f445b54462 | 351e15860fd8e96fbaaeb8f0d2f89b824aa4e92f | /man/print.summary.CausalMBSTS.Rd | f871f7bc61b5a6f3b7a340e70ce635814e62c41c | [] | no_license | cran/CausalMBSTS | d4e31399764d2a9558e41618f278d1cae9bf07a1 | 6a5dc21f046cac4cad4668fd4cca7a1415d141a5 | refs/heads/master | 2023-08-11T07:38:24.172797 | 2021-10-05T22:10:09 | 2021-10-05T22:10:09 | 310,509,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 796 | rd | print.summary.CausalMBSTS.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/print_CausalMBSTS.R
\name{print.summary.CausalMBSTS}
\alias{print.summary.CausalMBSTS}
\title{Format and print the estimated causal effect(s), credible interval(s), and Bayesian p-value(s) into a clear output.}
\usage{
\method{print}{su... |
7a9d9dc1a19229eb4b2960a224cb3cd44e043b29 | 24c11d5a15303b7698383b7127522b716e2df13d | /lib/Clustering.R | 63ce9d58f52ec96e0ad2ed3f3c050905cd1401d7 | [] | no_license | TZstatsADS/Fall2016-proj4-Stunnaisland | 5ca86834c5a978b36755949aad9489b40373566d | def2778cf13b1f5735e9d6635d115faf3908d92d | refs/heads/master | 2020-12-24T11:37:17.843874 | 2016-11-18T19:16:33 | 2016-11-18T19:16:33 | 73,025,581 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 864 | r | Clustering.R | install.packages("cluster")
library(cluster)
setwd("C:/Users/Zachary/Desktop/ADS - Proj.4")
load("C:/Users/Zachary/Desktop/ADS - Proj.4/lyr.RData")
common_id = read.table("common_id.txt")
View(common_id)
msm_train = read.table("mxm_dataset_train.txt",header=F, sep=",")
#reading the bag of words into R
hea... |
1bdfdab61e28dd9b074cd92ba4536ad86d5f020c | 88b3ebd348a9361660b16a55ab2dfb260597523b | /2018-19_CCSB_LoadsData_WY2010-2018/Sites/Inlet_11452600/1_wy2016_2017/1_rloadest/1_wwMeHg/wwMeHg_Inlet_RScript.R | 691eb681dd56680c0b56e776879ad1ec26218337 | [] | no_license | joed7751/CCSB_Loads | 623a8cea5a79cb9aa06f5d7a7d73c342915d48cf | 553a33f59d98a25bd4276c9bcd49b427829d966c | refs/heads/master | 2021-07-01T02:14:32.939595 | 2020-09-22T15:44:26 | 2020-09-22T15:44:26 | 154,237,927 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,610 | r | wwMeHg_Inlet_RScript.R | #wwMeHg Inlet script for retrieving loads models stats (the stats are used to select the best model for this constituent at this site) and loads predictions.
library(akima)
library(dataRetrieval)
library(digest)
library(leaps)
library(lubridate)
library(memoise)
library(rloadest)
library(smwrBase)
library(smwrData)
li... |
b79b2a1e6f6622bdcfb2912d03929f246c37be31 | 094f4ae4791b0a655733b816febc4acdb766b423 | /airjobs/server.R | 6f350fc0f1bc1408af2002ab0f31859eb748d216 | [] | no_license | bayeshack2016/airjobs | ff55a5c2acabc626362fe9c7e5549ee97bf230b4 | 0a89bcdefb03ef9c9aed10fa438c93c446deeeb3 | refs/heads/master | 2020-12-31T04:56:29.686335 | 2016-04-24T17:36:53 | 2016-04-24T17:36:53 | 56,982,206 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,351 | r | server.R | require(shiny)
require(dplyr)
require(scales)
all_df <- read.csv("../reshaped_data/database.csv")
switch_importance <- function(importance){
switch(importance,
"Choose Importance" = "Choose Importance",
"A Little Important" = 1,
"Somewhat Important" = 2,
"Very Important" = 3)
}
swit... |
3875fcc51dc986f9ea1036938b9ada5808d87626 | b84aaa22d48a8e42455817f9fd3becc6b8864b04 | /ch_02/ex_01_sept_11.R | 182e865260eb1e80981f8c71beb8a1c0b29f90f2 | [
"MIT"
] | permissive | bmoretz/Time-Series-Forecasting | 87b545a6bf8d920d4d14868c2dc104a815a0490a | 92ed29e42e9cb9ee6d6a5340412456b38ea6969c | refs/heads/master | 2020-05-24T23:01:40.561097 | 2019-06-06T21:03:35 | 2019-06-06T21:03:35 | 187,505,956 | 3 | 2 | null | null | null | null | UTF-8 | R | false | false | 2,740 | r | ex_01_sept_11.R | library(data.table)
library(XLConnect)
library(forecast)
library(xts)
convert_col_types <- function(dt, cols, FUN) {
assertive::is_data.table(dt)
dt[, (cols) := lapply(.SD, FUN), .SDcols = cols][]
}
as.char = function(x, na.strings = c("NA", "NULL")) {
na = x %in% na.strings
x[na] = 0
x = as.character(x)
... |
333957d68b58647d96b2041d7f2a93a76d71f289 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /meteor/inst/testfiles/ET0_Makkink/AFL_ET0_Makkink/ET0_Makkink_valgrind_files/1615848614-test.R | cfd91854dbddc5555ea40069fc6196315c49abe6 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 755 | r | 1615848614-test.R | testlist <- list(Rs = numeric(0), atmp = numeric(0), relh = c(4.46390936931362e+256, -6.99993544070352e-281, -3.63875683405274e+101, 5.6464292943395e-141, NaN, 7.27044868124648e-308, 0, 0, 0, 0, 0, 0), temp = c(1.81037701089217e+87, 2.35219322332418e-312, 1.34680195206491e-20, 2.16562581831091e+161, -9.780898798288... |
e76931a11111a621147e3084a4d665da2810856e | 6b35d0783e6d5dd59e89216218e8d1feb25d281b | /tools.R | 55ae7b7d1d64a7270edcee876b459090db267daa | [] | no_license | commfish/uw-fish559 | c11a56e6085e0263b541b96620e5f169a4420e03 | 3fccd3547f97a59d5241a234aa1bc2869f8cd5eb | refs/heads/master | 2020-04-02T07:56:43.880613 | 2018-11-13T22:53:43 | 2018-11-13T22:53:43 | 154,221,956 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,011 | r | tools.R | # library(devtools)
# https://github.com/kaskr/TMB_contrib_R
# devtools::install_github("kaskr/TMB_contrib_R/TMBhelper")
library("TMBhelper")
# devtools::install_github("kaskr/TMB_contrib_R/TMBdebug")
library("TMBdebug")
# devtools::install_github("kaskr/TMB_contrib_R/TMBphase")
libraru("TMBphase")
### Find 'string... |
661ec23ea8f22eb842929d0448aa52a218d4a129 | c74f2fc1a2dfd7b62ba1a8608c35411845aa1a07 | /dlbcl_multiomics_code/trim_out_unlabelled_data.R | 359f3fa201573a5c711d7177325a690f2756edd1 | [] | no_license | pattwm16/dlbcl-multiomics | 6fb0b18d70d7f76429591f7f0092831ba0437ce0 | f61e934cb931b1198452c9a2e84c4386913dca3f | refs/heads/master | 2023-04-13T06:16:08.693854 | 2021-04-20T18:39:40 | 2021-04-20T18:39:40 | 281,142,086 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,136 | r | trim_out_unlabelled_data.R | trim_out_unlabelled_data <- function(){
# Gene trimming ----
# collect the unlabelled genes
unlabelled_genes <- wk.gene[which(wk.gene[,2] == ""),]
# subset labelled genes
labelled_genes <- subset(wk.gene, !wk.gene$id %in% unlabelled_genes$id)
# Methylation Trimming ----
# load in annotations f... |
d5b2d80639a346d82a71f82a99d99f8a66022afe | ec9b1ef2fe0fc9401411ecb93c8afb649a00a896 | /man/get_history.Rd | f47041fff2c4d3394cb20c77b79e750df0a6c4f2 | [] | no_license | drew-walkerr/musichistoRy | 6e0ce215e91f33d61335dd70a475da606e38d26e | 155b3f50e9fae6a5648a031a922fb0114ab13937 | refs/heads/main | 2023-05-01T00:44:33.062564 | 2021-05-25T21:12:01 | 2021-05-25T21:12:01 | 319,133,453 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 366 | rd | get_history.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_history.R
\name{get_history}
\alias{get_history}
\title{get_history}
\usage{
get_history(user)
}
\arguments{
\item{user}{Last.fm username}
}
\value{
A lastfm scrobble, or music listening history dataframe
}
\description{
This function pul... |
22d1de2c7ab0fffb0e584c71e5d5925b42c5a626 | 9d3a6ce50b4f5331c292a2b9fd8e54e3cf37e12a | /docs/docs/Programowanie/shiny/shiny3/server.R | 5f4f7d650afbd67a419709c9f7634d149f9124ea | [] | no_license | lukaszS21/Przewodnik | 90a3c069b782c5ec0b8626ed3c1b7eb937db6b48 | e10d978a1bee046c93af8b78e0b2593b06b11669 | refs/heads/master | 2022-03-24T19:06:15.092447 | 2020-01-12T21:06:04 | 2020-01-12T21:06:04 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 755 | r | server.R | library(PogromcyDanych)
library(ggplot2)
shinyServer(function(input, output, session) {
tylkoWybranySerial <- reactive({
serialeIMDB[serialeIMDB$serial == input$wybranySerial, ]
})
output$listaOdcinkow <- renderUI({
serial <- tylkoWybranySerial()
selectInput("odcinki", "Odcinki w serialu", as.ch... |
3a18cb251ceffb58503123b4b858316e4bae4892 | be2e92a82d826011d74e3864c85a5b7ed295ac36 | /plot4.R | 3ffb591199073d3f6ae8bb9726f3f43cba4fe5bf | [] | no_license | derwinmcgeary/Exploratory-Data-Analysis-Project-2 | 2550a87afefb9deb7eb1e5e0004c120cb86bca9c | be526dc2c90c939576d7fdcfefedb5da85bcb7ce | refs/heads/master | 2016-09-06T13:26:49.026555 | 2015-07-26T01:55:21 | 2015-07-26T01:55:21 | 38,698,117 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 1,509 | r | plot4.R | ### Analysis starts on line 23
# I'm developing on Ubuntu, and I don't know what you're running, dear reader, so for compatibility...
if('downloader'%in%installed.packages()[,1]){
library("downloader")
} else {
install.packages("downloader")
library("downloader")
}
library(ggplot2)
library(stringi)
# We don't wan... |
7bfd629751352aff14a5465d1dae89133a3b31ef | 85f13d7969dfd03641a200efd19257947d5fe2a5 | /man/tween_appear.Rd | a9d2a43b16cbcb04f70db985338da350562ba502 | [] | no_license | arturocm/tweenr | ae03a615d797f365cccb814f7e80909d80496e98 | 62ae8d9437c91c02a24e442ffc0705e9addf7473 | refs/heads/master | 2021-01-16T21:05:49.673910 | 2016-02-10T10:37:08 | 2016-02-10T10:37:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,345 | rd | tween_appear.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tween_appear.R
\name{tween_appear}
\alias{tween_appear}
\title{Tween a data.frame of appearances}
\usage{
tween_appear(data, time, timerange, nframes)
}
\arguments{
\item{data}{A data.frame to tween}
\item{time}{The name of the column that h... |
0c23dfb331ab8435e6ce42c2380888a03e2c61bb | b77c8a88b4f3172268531f5425374ae40db3fd6e | /docs/krigagem-universal.R | 160ce1d238efaa518e1cb8de3f9cdfe4576131c7 | [] | no_license | AndrMenezes/si2016 | a155ad7fbbf26bef73f9d57645a451a235db0ef6 | 7f3903cba0e2e89d73893f6055d8e3ee786d449b | refs/heads/master | 2020-04-16T17:02:31.487751 | 2019-01-15T01:25:02 | 2019-01-15T01:25:02 | 165,756,224 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 365 | r | krigagem-universal.R | library(gstat)
data("meuse.all");data("meuse.grid")
coordinates(meuse.all) <- ~ x+y
coordinates(meuse.grid) <- ~ x+y
vi <- variogram(lead.i ~ x + y, location = meuse.all, cutoff = 1300)
vimf <- fit.variogram(vi, model = vgm(c("Exp", "Sph", "Gau")))
preditos_kgu <- krige(lead ~ x + y, loc=meuse.all, newdat... |
9d6aedac8cf13832d3795a3020faeeaaa18f88b5 | c746b5f40c118fb4f41a2d7cb88024738476d40f | /Model_Application/Single_Dataset/Huber_Lasso.R | 6dc202a0e0df39b73861e93d242b0dc31fa60d34 | [] | 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 | 2,753 | r | Huber_Lasso.R | #libraries
library(glmnet)
#load data
#data.full <- readRDS()
#full.data <- readRDS("/Users/Matt Multach/Dropbox/USC_Grad2/Courses/Dissertation/Dissertation_Git/Data_Storage/")
debug.data <- readRDS("/Users/Matt Multach/Desktop/Dissertation/Dissertation_Git/Data_Generation/Data_Storage/debug_data_091720.RData")
#lo... |
90ad134961817b60fec5b9c72fa7b2f1b463f001 | 5afcc3b02b7f4fe14e90f33b0a42bfc51b278e19 | /ml-cv/data_mining/R/clast_selfdata.R | 22c4e3f672e1a41e1b956da2124701c8cbfd4c79 | [
"Apache-2.0",
"MIT"
] | permissive | zaqwes8811/micro-apps | c9e51fa7931c9d5625e1517bad7b1593104a50c0 | bb1643562751dda70ae4f8bd632a171f1de05df5 | refs/heads/master | 2023-04-27T21:04:09.457192 | 2023-04-25T08:41:23 | 2023-04-25T08:41:23 | 11,820,285 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 210 | r | clast_selfdata.R | shop<- read.table("lab3_selfdata.csv", header=T, sep=";")
shop
plot(shop)
distance=array(0,c(5,5))
for(i in 1:5) { for (j in 1:5){distance[i,j]=abs(shop$v1[i]-shop$v1[j])+abs(shop$v2[i]-shop$v2[j])}}
distance
|
2c54846c6c7ae8709a53f63309d4c4ebf3a6c001 | b13c7ee60f5d7b78d182e1f7b54a06f9c8dd15e5 | /man/height.Rd | f560fa087d9cd6bf02aa17ff70814419119f58a0 | [
"MIT"
] | permissive | tarakc02/rbst | 214f5f00c543a3759547a1aaa0aade3171847056 | 09a364957b3e7ccf97f6202ba18d1d91cc402f32 | refs/heads/master | 2021-01-10T02:48:42.363196 | 2016-03-08T18:33:11 | 2016-03-08T18:33:11 | 44,547,420 | 8 | 0 | null | null | null | null | UTF-8 | R | false | false | 273 | rd | height.Rd | % Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/height.R
\name{height}
\alias{height}
\title{The height of a tree}
\usage{
height(tree)
}
\arguments{
\item{tree}{A \code{bst}}
}
\description{
Used for confirming balance and testing
}
|
32c489c3661f13562965d9c726bae0a1f224190d | 3e6bea01f47934e55bda80a6e796da59eacb8ba7 | /R/distance_gen.R | 29e04926d52b2b1e813ee01fe33b0ada3943bf28 | [] | no_license | nathansam/MSc-diss-code | b581c411b773d435d7f00bc65624712fb77d7c4d | 1f3f4af207bc840e0056fa3027567874621b7aed | refs/heads/master | 2021-05-21T01:01:15.706062 | 2020-04-02T14:27:34 | 2020-04-02T14:27:34 | 252,478,457 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,343 | r | distance_gen.R | #' DistanceGen
#' @description Generates a distance matrix from a a transcriptomics dataset.
#' @param dataset A transcriptomics dataset. Preferably filtered first. First
#' columns should be gene names. All other columns should be expression levels.
#' @param metric The distance metric to be used to calculate the dist... |
78fbc75f5be24d4201538e00fbca15398307b655 | 1dc0ab4e2b05001a5c9b81efde2487f161f800b0 | /methods/dknn/dknn.R | 92c3c165d227eaa1273981c115fc7099356ce6df | [] | no_license | noeliarico/knnrr | efd09c779a53e72fc87dc8c0f222c0679b028964 | 9f6592d1bbc1626b2ea152fbd539acfe9f9a5ab3 | refs/heads/master | 2020-06-01T02:44:34.201881 | 2020-03-13T13:30:52 | 2020-03-13T13:30:52 | 190,601,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,607 | r | dknn.R | dknn <- list(
label = "k-Nearest Neighbors",
library = NULL,
loop = function(grid) {
cat("---------------------------------------------------\n")
cat("---------------------------------------------------\n\n")
cat("-- Grid -- \n")
print(grid)
# Only one model for each ranking rul... |
bf8b47a6053277ee07a942369bc45a46c15d6180 | ea178de2d1926451fd0549b3d7c95c17804f8230 | /cs573/code/logistic(1).R | 197a59dcc3e7602876ee6f5584f2fc0fbde07596 | [] | no_license | jdavis/college-spring-2014 | fe40aebef73b832edf49d426d1938673a170112d | 20d8234b160e0640aadb299dd30ffe3db85fcac8 | refs/heads/master | 2016-09-05T23:10:44.832167 | 2014-05-11T03:22:35 | 2014-05-11T03:22:35 | 15,485,826 | 8 | 13 | null | null | null | null | UTF-8 | R | false | false | 993 | r | logistic(1).R | household <- read.table("household.dat",header=TRUE,sep=" ")
m<-glm(hownership~income,data=household,family=binomial)
m
# Plot the logistic regression result
library(ggplot2)
c <- ggplot(household, aes(y=hownership, x=income))
c + stat_smooth(method="glm", family="binomial",se=FALSE,lwd=1) +
geom_point(cex=5... |
4c6d3acd5765ccc74d93de8ae32bd2a38db4f1e2 | a22942f00085e88243f016c1c7b7abfefdeba66a | /rrProject1.R | e73df9e12f64565d26bd0c05613089ad28712170 | [] | no_license | ajc2357/rrProject1 | 7ca4a769ffa8446a301c6b027579aa6211dd2134 | 7d0b9c965390f6a0dac7f7762a5bd54e636d0f68 | refs/heads/master | 2020-06-03T04:03:56.135865 | 2014-07-20T03:10:24 | 2014-07-20T03:10:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 804 | r | rrProject1.R | library(stats)
data = read.csv("./rrProject1/activity.csv", header = TRUE) ## loads data --> takes a while
data$date = as.Date(data$date, "%Y-%m-%d")
stepsbyday = aggregate(steps ~ date, data = data, sum)
###Make a histogram of the total number of steps taken each day
hist(stepsbyday$steps)
### Calculate and repor... |
bd8bc269d2dc12c350e0769c17a390cb32e8c685 | e723931c888199b817a1efa2700b07977926cb4d | /SocialMediaLab/R/CreateBimodalNetwork.facebook.R | f07637fab693046df38c57539718835ee93d8439 | [] | no_license | manlius/SocialMediaLab | bb85559266b559d56d547b11855da79ddfc37acf | 24d506afcbc8fd28a2393949461e039f5aad5e24 | refs/heads/master | 2021-01-12T22:34:14.204377 | 2016-03-09T00:54:22 | 2016-03-09T00:54:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,371 | r | CreateBimodalNetwork.facebook.R | #' @export
CreateBimodalNetwork.facebook <-
function(x,writeToFile,removeTermsOrHashtags, ...)
{
if (missing(writeToFile)) {
writeToFile <- FALSE # default = not write to file
}
if (!missing(removeTermsOrHashtags)) {
removeTermsOrHashtags <- as.vector(removeTermsOrHashtags) #coerce to vector... to be su... |
bf3f8f5791867f03ea3a2ff5878f48c9978ba5f1 | c2361d8de7354f75fccdd5f2b6099d42ffb4fd41 | /man/tidy.felm.Rd | abd1493a5d264fed022416d70bc62306572d4fb1 | [
"MIT"
] | permissive | tidymodels/broom | 6080795cc9d8c0f304998224c87983dc6bc7a251 | a579b0dcfc9f8feedb4e937bf336478c288852cc | refs/heads/main | 2023-08-22T09:35:23.855400 | 2023-07-27T21:23:32 | 2023-07-27T21:23:32 | 23,932,217 | 707 | 210 | NOASSERTION | 2023-09-06T20:10:29 | 2014-09-11T19:17:04 | R | UTF-8 | R | false | true | 4,282 | rd | tidy.felm.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lfe-tidiers.R
\name{tidy.felm}
\alias{tidy.felm}
\alias{felm_tidiers}
\alias{lfe_tidiers}
\title{Tidy a(n) felm object}
\usage{
\method{tidy}{felm}(
x,
conf.int = FALSE,
conf.level = 0.95,
fe = FALSE,
se.type = c("default", "iid", "... |
029a41935ae9f656f748c2f794ac8b628b0827f7 | 0ea2ec1bf5cb593e64d04223852322c8bf716a58 | /clients/r/generated/R/install_status.R | ae2e5218b73335e189d54b1881a716ed0637fcb5 | [
"Apache-2.0"
] | permissive | shinesolutions/swagger-aem | ffbe967858cb5fe909d126872210fffc78893e31 | 49c1d653763b272b06823cdd1572d08efb29173f | refs/heads/main | 2022-12-11T11:57:35.977016 | 2022-11-28T09:21:03 | 2022-11-28T09:21:03 | 61,857,466 | 40 | 23 | Apache-2.0 | 2022-09-05T10:05:35 | 2016-06-24T04:45:15 | Java | UTF-8 | R | false | false | 2,077 | r | install_status.R | # Adobe Experience Manager (AEM) API
#
# Swagger AEM is an OpenAPI specification for Adobe Experience Manager (AEM) API
#
# The version of the OpenAPI document: 3.5.0-pre.0
# Contact: opensource@shinesolutions.com
# Generated by: https://openapi-generator.tech
#' @docType class
#' @title InstallStatus
#'
#' @descripti... |
383a32249007db170e25a384d4b76e8f5e9afbd9 | 4582eb19bfc245bbe20ffa305279fbb545e54e3b | /man/download_data-deprecated.Rd | 3e3c26c15d51a4f1d58c69bf0d7faae5133288dc | [] | no_license | edwindj/cbsodataR | a9045d130d9138fc40000b284b7a64e39bdd5af4 | e66ceeccca5d62c03f54b44ed3b69d0feaacf7ef | refs/heads/master | 2021-07-07T18:42:04.153201 | 2021-05-31T22:00:39 | 2021-05-31T22:00:39 | 34,798,294 | 31 | 13 | null | 2022-09-23T14:49:12 | 2015-04-29T14:24:37 | R | UTF-8 | R | false | true | 1,318 | rd | download_data-deprecated.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/download-data.R
\name{download_data-deprecated}
\alias{download_data-deprecated}
\alias{download_data}
\title{Gets all data from a cbs table.}
\usage{
download_data(
id,
path = file.path(id, "data.csv"),
...,
select = NULL,
typed = ... |
8bbf21e26627cd445d85ef37c7c41566cf6068e1 | 2cc72a678154c4150e498d945f4fdbfd1008f832 | /wifi_location.R | 8d5fd2149d4dffc222a33f0e7cc1b515e3a0f958 | [] | no_license | mianhuang/DataAnalytics-R-Code | cc156c9e3a6a3af7d048d281f9338019a0b1b1b5 | 3a8033843f4b24f5c95cf66e75c632a9cdaa628d | refs/heads/master | 2020-06-27T22:46:17.909511 | 2019-08-26T19:32:55 | 2019-08-26T19:32:55 | 200,073,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,737 | r | wifi_location.R | # clear workspace
rm(list = ls())
# load Libraries: p_load can install,load, and update packages
if(require("pacman")=="FALSE"){
install.packages("pacman")
}
pacman::p_load(readr, caret, ggplot2, tidyverse, tidyr, dplyr, lubridate, plotly, C50, tibbletime, doParallel)
# find how many cores are on your machine
det... |
f0bbdcccc6ad45bc4b1ec4fa798f0164ce793e4e | 3819c5c65f13b185b8fb714d7349abfecb793a72 | /R/F_PropensityFit.R | a697107b4c531731f46f7c4e1ab7d68ab1681330 | [] | no_license | cran/DynTxRegime | ed877579c6ffc6156fb6c84298a58d1db5940dff | 9ecb35dfd9abf9617e0179d3d4d552dce22314e5 | refs/heads/master | 2023-06-25T03:37:01.776586 | 2023-04-25T13:50:11 | 2023-04-25T13:50:11 | 37,244,072 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 8,046 | r | F_PropensityFit.R | # October 26, 2018
#' Class \code{PropensityFit}
#'
#' Class \code{PropensityFit} is a \code{TypedFit} identified as being
#' for a propensity regression step.
#'
#' @name PropensityFit-class
#'
#' @slot small A logical TRUE indicates that the smallest valued tx is
#' missing; FALSE indicates that the la... |
18c78f98312a8a3c33fdc7e023f04c0c442c2f06 | d87571c2e3f5c18b1cafee880ec17acc9c7a405f | /man/load.corpus.Rd | 109a5513499d2f95eb4741825a24904213c3a3ca | [] | no_license | mikekestemont/stylo | eb69a2b996c35ef69581df526ecb3f806be5fdd5 | 2092f4c2c12605cf1621a5367faf5a9aba8b921d | refs/heads/master | 2021-01-18T00:53:46.496891 | 2014-02-25T08:16:30 | 2014-02-25T08:16:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 953 | rd | load.corpus.Rd | \name{load.corpus}
\alias{load.corpus}
\title{Load text files}
\description{
Function for loading text files from a specified directory.
}
\usage{
load.corpus(files, corpus.dir = "")
}
\arguments{
\item{files}{a vector of file names.}
\item{corpus.dir}{a directory containing the text files to be loaded; if
not ... |
9b5e3352e92abbf7364a7154443cbabce3ae94e2 | 1a439dc569ec3025b76cb76ff9dd71fe6614ef88 | /PaleoAnalyze/phasegram_rev.R | b1c67a44fcea22e9a07afe02e18df4b31573a323 | [] | no_license | seanyx/TimeSeries | f2ca38e1fcea182b3f43404e2b151df5d1c6127b | c671823c74fe14fd632b67890c13be39c54ba975 | refs/heads/master | 2016-09-05T13:59:12.509273 | 2014-08-12T17:55:55 | 2014-08-12T17:55:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,780 | r | phasegram_rev.R | phasegram_rev<-function(data,frange,nf,tw,toverlap=.5,M=50,taper=T) {
# revised phasegram of between two time series
if (taper) {
data[[1]]$y=spec.taper(data[[1]]$y,p=.1)
data[[2]]$y=spec.taper(data[[2]]$y,p=.1)
}
na=names(data)
trange=range(data[[1]]$t)
N=length(data[[1]]$t)
twd=length(which(data[[1]]$t-d... |
14527d36ab8158d9bb118b07fb35fe563dc4c52b | fe3050e6aa6f14b5cb99d69709967bbbb29fcadf | /bigData.R | a66cd337f3c2520b4d8c918e8c0ce2bff70117fa | [] | no_license | royemanuel/Metrics | 1856a71dfb2ed04b7cf50f7b779bd86ebd41d5a9 | 2fa6d2f527b8eefff9f2d474d82eb3cf998a8106 | refs/heads/master | 2021-01-19T05:31:45.672280 | 2018-06-05T18:56:24 | 2018-06-05T18:56:24 | 57,000,261 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,680 | r | bigData.R | ## The data pulls from the big Austin model runs
## This replciates the creation of the bigInfrastructureResilience.csv
nameList <- c("bigAsIs.csv", "big16kRec.csv", "big100percentRec.csv",
"bigRob.csv", "bigStep.csv")
## First, define the need of each stakeholder
nl <- c(.5, .9, .75, .95, .8)
## Secon... |
b843a8d07f6d620966e933bb3f0d9f475239e60d | 6b1fbbbc7c7922914c96829f24564f403a7fee09 | /Raw/0.저장 및 불러오기.R | 4d6ddf1f0b86ba35bb3c3a3368364e216d064361 | [] | no_license | hana-dool/R | 3ef1fb11175137cefaf0532ec902db0bfefa6a2a | 7652d11c1f405b3060b42ec99ebc7cccdfdbb69b | refs/heads/master | 2023-04-11T23:01:35.309056 | 2021-05-18T14:31:38 | 2021-05-18T14:31:38 | 296,353,680 | 0 | 0 | null | null | null | null | UHC | R | false | false | 1,268 | r | 0.저장 및 불러오기.R | # 현재 위치를, 기본 directory 로 지정
setwd(dirname(rstudioapi::getSourceEditorContext()$path))
# txt 파일 불러오기[read.table]
txt= read.table('./dataset_1.txt',
header = T, # 첫줄에 col 의 이름이 적혀있는 경우가 많다.
sep=',' # 기본적으로 txt 파일은 띄어쓰기가 구분자이나 이 예시처럼 , 일수도 있음
)
# csv 파일 불러오기[read.csv]
tx... |
359db21fc9d17d883a908df9deedff58536e758b | c3f52e1fd0c9e2abe121805dfd47f1daf43701ad | /data-raw/edit_data_unfiltered.R | 49ec72940d8f0e655aa5e8506f323ab007150514 | [] | no_license | lvaudor/braidHymo | 97928c191de87c1d1539d6638203ea6864c2e2cf | 2a705692fe7152c89d39a150c7498ef9f32cec6b | refs/heads/master | 2023-04-09T10:51:08.487967 | 2022-02-07T10:24:40 | 2022-02-07T10:24:40 | 440,566,310 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 485 | r | edit_data_unfiltered.R | dat1=read.csv("data-raw/Drac_Chabottes_2018_unfiltered.txt", row.names=1,sep=";")
dat2=read.csv("data-raw/Durance_Brillanne_2017_unfiltered.txt", row.names=1, sep=";")
dat1 = dat1 %>%
filter(TYPO_VEGE != "mature" & NAME != "Riparian")
dat2 = dat2 %>%
filter(TYPO_VEGE != "mature" & NAME != "Riparian")
write.tabl... |
bbbba7c6a6da7241cd4f380862d94c22ac30a8cc | 66e04f24259a07363ad8da7cd47872f75abbaea0 | /Joining Data in SQL/Chapter 3-Set theory clauses/3.R | bc3e6a6241f63732c823148f5920b6c895d93ff7 | [
"MIT"
] | permissive | artileda/Datacamp-Data-Scientist-with-R-2019 | 19d64729a691880228f5a18994ad7b58d3e7b40e | a8b3f8f64cc5756add7ec5cae0e332101cb00bd9 | refs/heads/master | 2022-02-24T04:18:28.860980 | 2019-08-28T04:35:32 | 2019-08-28T04:35:32 | 325,043,594 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 689 | r | 3.R | # Union all
# As you saw, duplicates were removed from the previous two exercises by using UNION.
#
# To include duplicates, you can use UNION ALL.
#
# Instructions
# 100 XP
# Determine all combinations (include duplicates) of country code and year that exist in either the economies or the populations tables. Order b... |
92dd6bbe97c898ce189ee1f575079367c73efec0 | 0a8924a03c6bfc019a5359f3bc4221526ecdbb3d | /tests/testthat.R | 1ab7caae9493a7bff3209746edeabc8ea705ddae | [] | no_license | Ironholds/ores | 3a51d7aa8d856cff814b2225f66e3322cee2f13c | e2b08d7c2211d28d359773aae938ef32c47c9201 | refs/heads/master | 2021-01-10T17:54:58.388837 | 2020-08-26T01:18:06 | 2020-08-26T01:18:06 | 49,224,731 | 3 | 1 | null | null | null | null | UTF-8 | R | false | false | 52 | r | testthat.R | library(testthat)
library(ores)
test_check("ores")
|
d7bff4eb4891a83bee673f9148fd340c8c035172 | 4dc8fca8a72ac40993b72a6b733aae248296b87c | /R/save_as_csv.R | a4bb8b415cc8d636af1a24ab1ee658bec0a751d6 | [] | no_license | alexchouraki/assignment | 6152b373d7b82824416ebb7f6fe79a6de6dfc112 | 864cb8ccd3e309b08303efec137b37f1eae65d6e | refs/heads/master | 2021-07-12T10:07:15.158136 | 2017-10-16T13:51:27 | 2017-10-16T13:51:27 | 107,115,409 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 794 | r | save_as_csv.R | #' Save as CSV
#' This function saves the dataframe as a csv
#' @param dframe the dataframe you want to save as .csv
#' @param filename the name and path you want to for your new .csv file
#' @param row.names false
#' @param ... other parameters
#' @return the file
#' @import dplyr
#' @import assertthat
#' @import read... |
703d7d23a8abe399bcc2548d98679b7b249595c2 | 8ef72707375ccc9b64bf0bf29f94823eed96dd59 | /routeMapper.R | 69d7cf97e96c1b9189ce7061f49f8f7051fd6ed7 | [] | no_license | cferenci/route-mapper | 76700f0e5ae021bc92606c85118a5328a49b7ab8 | 2630def6f8510573aa5fe3f7214201692ed699bc | refs/heads/main | 2023-02-18T16:58:54.822121 | 2020-07-22T02:53:08 | 2020-07-22T02:53:08 | 329,835,374 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,645 | r | routeMapper.R | library(leaflet)
library(dplyr)
library(shiny)
library(shinydashboard)
library(googleway)
#library(fontawesome)
#### server
server <- function(input, output, session) {
##Google API Key
api_key <- "AIzaSyBo4AHjlO0qlcbDMX0i_WyAgxzQlAWlmDM"
##render Google map
output$map <- render... |
2b497c81f3c8a0760d967ded3dda26f686f76cd0 | 77a6af0d227e7493ab737d64023b4e4dd546de1c | /man/is_weekend.Rd | e4b50986dda865735008dd57bde29ab6188b60ff | [
"MIT"
] | permissive | ellisvalentiner/lubridateExtras | a1ced92301dbf7e9fa5f56c3f3322945f8eb7bb0 | fad48677b3d839b044173ac3a1a555555d08dde0 | refs/heads/main | 2022-05-15T23:10:10.989249 | 2022-03-23T15:52:27 | 2022-03-23T15:52:27 | 101,084,937 | 19 | 6 | MIT | 2022-01-24T00:27:03 | 2017-08-22T16:37:17 | R | UTF-8 | R | false | true | 480 | rd | is_weekend.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/instants.R
\name{is_weekend}
\alias{is_weekend}
\title{Is x a weekend?}
\usage{
is_weekend(x)
}
\arguments{
\item{x}{a POSIXct, POSIXlt, Date, chron, yearmon, yearqtr, zoo, zooreg,
timeDate, xts, its, ti, jul, timeSeries, or fts object.}
}
\v... |
08e348441d7c48053ac5a09594f20a6f4737b80d | c97122b68b6dc719b7a0be0ef3546230b2aa1d04 | /Codigo/ShinyDashboardPF.R | aa628d313ff291754a9b9517aae6103556a5f8eb | [] | no_license | LeonardoNeyra/Mainframes1_FinalWork | e02a6e5e19dd4243178a92e98a50cba3bada823f | 0aa676a9aead14718b7943edb3b2b171ed490967 | refs/heads/master | 2020-04-03T12:07:11.893470 | 2018-10-29T16:24:51 | 2018-10-29T16:24:51 | 155,241,750 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 23,239 | r | ShinyDashboardPF.R | ##-libraries-##
library(shinydashboard)
library("plotly")
library("shiny")
library("dplyr")
library("ggplot2")
library("readxl")
library("sqldf")
library("data.table")
choiceDPLYR=c("DPLYR1","DPLYR2","DPLYR3","DPLYR4","DPLYR5","DPLYR6","DPLYR7","DPLYR8","DPLYR9","DPLYR10",
"DPLYR11","DPLYR12","DPLYR13","... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.